本文整理汇总了C#中AST.Expr类的典型用法代码示例。如果您正苦于以下问题:C# Expr类的具体用法?C# Expr怎么用?C# Expr使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Expr类属于AST命名空间,在下文中一共展示了Expr类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Create
public static Expr Create(Expr left, Expr right) => new Modulo(left, right);
示例2: IfElseStmt
public IfElseStmt(Expr cond, Stmt trueStmt, Stmt falseStmt) {
this.Cond = cond;
this.TrueStmt = trueStmt;
this.FalseStmt = falseStmt;
}
示例3: CaseStmt
private CaseStmt(Expr expr, Stmt stmt) {
this.Expr = expr;
this.Stmt = stmt;
}
示例4: SwitchStmt
public SwitchStmt(Expr expr, Stmt stmt) {
this.Expr = expr;
this.Stmt = stmt;
}
示例5: IfStmt
public IfStmt(Expr cond, Stmt stmt) {
this.Cond = cond;
this.Stmt = stmt;
}
示例6: WhileStmt
public WhileStmt(Expr cond, Stmt body) {
this.Cond = cond;
this.Body = body;
}
示例7: DoWhileStmt
public DoWhileStmt(Stmt body, Expr cond) {
this.Body = body;
this.Cond = cond;
}
示例8: Greater
private Greater(Expr left, Expr right)
: base(left, right) { }
示例9: NotEqual
private NotEqual(Expr left, Expr right)
: base(left, right) { }
示例10: Less
private Less(Expr left, Expr right)
: base(left, right) { }
示例11: RShift
private RShift(Expr left, Expr right)
: base(left, right) { }
示例12: Sub
private Sub(Expr left, Expr right)
: base(left, right) { }
示例13: Add
private Add(Expr left, Expr right)
: base(left, right) { }
示例14: BinaryArithmeticOp
protected BinaryArithmeticOp(Expr left, Expr right)
: base(left, right) { }
示例15: BinaryOp
protected BinaryOp(Expr left, Expr right) {
this.Left = left;
this.Right = right;
}