public IfNode(SourcePosition position, ExpressionNode condition, StatementNode @true, StatementNode @false) : base(position) { Condition = condition; True = @true; False = @false; }
public ForIteratorNode(SourcePosition position, IdentNode iterator, ExpressionNode from, StatementNode code) : base(position) { Iterator = iterator; From = from; Code = code; }
public void AddStatement(StatementNode statement) { statements.Add(statement); }
public DeferNode(SourcePosition position, StatementNode code) : base(position) { Code = code; ID = currentID++; }
public WhileNode(SourcePosition position, ExpressionNode condition, StatementNode code) : base(position) { Condition = condition; Code = code; }
public ForKeyValueIteratorNode(SourcePosition position, IdentNode key, IdentNode value, ExpressionNode from, StatementNode code) : base(position) { Key = key; Value = value; From = from; Code = code; }