Example #1
0
 public WhileExpression(BaseAST condition, BaseAST block)
 {
     SetValues(condition as BooleanExpression, block as BlockStatement);
 }
Example #2
0
 public IfStatement(BaseAST condition, BaseAST onTrue)
     : this(condition, onTrue, null)
 {
 }
Example #3
0
 public AssignmentExpression(BaseAST identifier, BaseAST expression)
 {
     SetValues(identifier as IdentifierExpression, expression as Expression);
 }
Example #4
0
 public UnaryExprAST(ASTType nodeType, BaseAST hs)
 {
     NodeType = nodeType;
     Hs       = hs;
 }
Example #5
0
 public ForStmtAST(Branch infLoop, BaseAST preRun, BaseAST postRun)
 {
     PreRun  = preRun;
     PostRun = postRun;
     InfLoop = infLoop;
 }