示例#1
0
 public ForNode(StatementNode initialization, ExpressionNode condition, StatementNode afterthought, BlockNode body, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Initialization = initialization;
     Condition = condition;
     Afterthought = afterthought;
     Body = body;
 }
示例#2
0
 public WhileNode(ExpressionNode condition, BlockNode body, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Condition = condition;
     Body = body;
 }
示例#3
0
 public IfNode(ExpressionNode condition, BlockNode ifBlock, BlockNode elseBlock, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Condition = condition;
     IfBlock = ifBlock;
     ElseBlock = elseBlock;
 }
 public ExpressionStatementNode(ExpressionNode expression, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Expression = expression;
 }
 public FunctionCallNode(IdentifierNode identifier, ExpressionNode[] arguments, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Arguments = arguments;
     Identifier = identifier;
 }