public IfElseAstNode(BasicAstNode cond, CodeBlockAstNode ifBlock, CodeBlockAstNode?elseBlock) { IfCondition = cond; IfBlock = ifBlock; ElseBlock = elseBlock; }
public UnaryOperatorAstNode(string op, BasicAstNode expr) { Operator = op; Expr = expr; }
public ReturnAstNode(BasicAstNode rv) { ReturnValue = rv; }
public BinaryOperatorAstNode(string op, BasicAstNode left, BasicAstNode right) { Operator = op; Left = left; Right = right; }
public LoopAstNode(BasicAstNode condition, CodeBlockAstNode body) { Condition = condition; Body = body; }