public void AppendExpression(RegexExpression expression) { if (this.pending != null) { this.current = RegexConcatenation.Create(this.current, this.pending); } this.pending = expression; }
public RegexExpression Concatenation(RegexConcatenation node, KeyValuePair <SymbolId, int?> context) { return(RegexConcatenation.Create(node.Left.Visit(this, context), node.Right.Visit(this, context))); }
public RxNode <TLetter> Concatenation(RegexConcatenation node, Context context) { return(new RxConcatenation <TLetter>(node.Left.Visit(this, context), node.Right.Visit(this, context))); }