public TableNode(Token lbrac, IReq <Node> table, Token rbrac, IEnumerable <Comment> preComments, Comment appComment) { this.LBrac = new TerminalNode(lbrac).Req(); this.RBrac = new TerminalNode(rbrac).Req(); this.Table = table; this.PreComments = preComments; this.AppComment = appComment; }
public KeyValueExpressionNode( IReq <KeyNode> key, Token assignment, IReq <ValueNode> value, IEnumerable <Comment> preComments, Comment appComment) { this.Key = key; this.Assignment = new TerminalNode(assignment).Req(); this.Value = value; this.PreComments = preComments; this.AppComment = appComment; }
private ArrayNode( IReq <TerminalNode> lbrac, IOpt <ArrayItemNode> item, IReq <TerminalNode> rbrac, IEnumerable <Comment> preComments, Comment appComment) { this.LBrac = lbrac; this.RBrac = rbrac; this.Item = item; this.PreComments = preComments; this.AppComment = appComment; }
private ValueNode(IReq <Node> value, IOpt <TerminalNode> unit) { this.Value = value; this.Unit = unit; }
public static ValueNode CreateNonTerminalValue(IReq <Node> value) => new ValueNode(value, Opt <TerminalNode> .None);
public T MakeRequest <T>(IReq <T> requestObject) { return(default(T)); }
public TableArrayNode(Token lbrac, IReq <KeyNode> key, Token rbrac) { this.LBrac = new TerminalNode(lbrac).Req(); this.Key = key; this.RBrac = new TerminalNode(rbrac).Req(); }
public StandardTableNode(IReq <KeyNode> key) { this.Key = key; }
public ArrayItemNode(IReq <ValueNode> value, IOpt <ArraySeparatorNode> separator, IEnumerable <Comment> comments) { this.Value = value; this.Separator = separator; this.Comments = comments; }
private ArrayNode(IReq <TerminalNode> lbrac, IReq <TerminalNode> rbrac, IEnumerable <Comment> preComment, Comment appComment) : this(lbrac, AstNode.None <ArrayItemNode>(), rbrac, preComment, appComment) { }
public KeySeparatorNode(Token separtor, IReq <KeyNode> next) { this.Separator = new TerminalNode(separtor).Req(); this.Next = next; }
public InlineTableItemNode(IReq <KeyValueExpressionNode> expression, IOpt <InlineTableNextItemNode> next) { this.Expression = expression; this.Next = next; }
private ValueNode(IReq <Node> value) { this.Value = value; }
public StartNode(IReq <ExpressionNode> expression, IOpt <NextExpressionNode> next) : base(expression, next) { }
public NextExpressionNode(IReq <ExpressionNode> expression, IOpt <NextExpressionNode> next) { this.Expression = expression; this.Next = next; }