public TemporaryGroupChildTerminal(ParserNode grammarNode, Location loc, TemporaryChildNode prev, Location from, Location to, string content) : base(grammarNode, loc, prev) { this.From = from; this.To = to; this.Content = content; }
protected override TemporaryChildNode UpdatePrevLinksImpl(TemporaryChildNode prevNode) { return(new TemporaryGroupChildGroup( this.GrammarNode, this.Location, this.Prev == null ? prevNode : this.Prev.UpdatePrevLinks(prevNode), this.Child )); }
protected virtual TemporaryGroup UpdateChildsImpl(TemporaryChildNode child) { return(new TemporaryGroup( this.GrammarNode, this.Location, this.Parent, child )); }
protected override TemporaryGroup UpdateChildsImpl(TemporaryChildNode child) { return(new TemporaryReparsingGroup( this.OldGroup, this.GrammarNode, this.ReparsingFrom, this.ReparsingTo, this.Parent, child )); }
protected override TemporaryChildNode UpdatePrevLinksImpl(TemporaryChildNode prevNode) { return(new TemporaryGroupChildTerminal( this.GrammarNode, this.Location, this.Prev == null ? prevNode : this.Prev.UpdatePrevLinks(prevNode), this.From, this.To, this.Content )); }
public TemporaryReparsingGroup(IParsingTreeNode oldNode, ParserNode node, Location fromLoc, Location toLoc, TemporaryGroup parent, TemporaryChildNode child) : base(node, oldNode.Location, parent, child) { this.OldGroup = oldNode as IParsingTreeGroup; this.ReparsingFrom = fromLoc; this.ReparsingTo = toLoc; if (this.OldGroup == null) { throw new ReparsingFailException(); } }
public TemporaryGroupChildGroup(ParserNode grammarNode, Location loc, TemporaryChildNode prev, ParsedNode child) : base(grammarNode, loc, prev) { this.Child = child; }
protected abstract TemporaryChildNode UpdatePrevLinksImpl(TemporaryChildNode prevNode);
public TemporaryChildNode UpdatePrevLinks(TemporaryChildNode prevNode) { return(this.UpdatePrevLinksImpl(prevNode)); }
internal TemporaryChildNode(ParserNode grammarNode, Location loc, TemporaryChildNode prev) : base(grammarNode, loc) { this.Prev = prev; }
public TemporaryGroup UpdateChilds(TemporaryChildNode child) { return(this.UpdateChildsImpl(child)); }
public TemporaryGroup(ParserNode node, Location loc, TemporaryGroup parent, TemporaryChildNode child) : base(node, loc, parent) { this.Child = child; }