/// <summary> /// Parse the specified parser. /// </summary> /// <param name="parser">Parser.</param> public static ArgListNode Parse(Parser parser) { ArgListNode ret = new ArgListNode(); ret.Children.Add(ExpressionNode.Parse(parser)); while (parser.AcceptToken(TokenType.Comma)) ret.Children.Add(ExpressionNode.Parse(parser)); return ret; }
public InputNode(ArgListNode variables) { Children.Add(variables); }
/// <summary> /// Initializes a new instance of the <see cref="TIBASIC.Parser.FunctionCallNode"/> class. /// </summary> /// <param name="target">Target.</param> /// <param name="arguments">Arguments.</param> public FunctionCallNode(AstNode target, ArgListNode arguments) { Children.Add(target); Children.Add(arguments); }
/// <summary> /// Initializes a new instance of the <see cref="TIBASIC.Parser.DispNode"/> class. /// </summary> /// <param name="args">Arguments.</param> public DispNode(ArgListNode args) { Children.Add(args); }
public PromptNode(ArgListNode variables) { Children.Add(variables); }