예제 #1
0
 public static bool DoesEqual(this Stmt a, Stmt b)
 {
     return(VisitorSameStmt.AreSame(a, b));
 }
예제 #2
0
 public Case(int value, Stmt stmt)
 {
     this.Value = value;
     this.Stmt  = stmt;
 }
예제 #3
0
 public StmtDoLoop(Ctx ctx, Stmt body, Expr @while)
     : base(ctx)
 {
     this.Body  = body;
     this.While = @while;
 }
예제 #4
0
 public Catch(Stmt stmt, ExprVar exceptionVar)
 {
     this.Stmt         = stmt;
     this.ExceptionVar = exceptionVar;
 }