public RxNode <LetterId> Concatenation(RxConcatenation <TLetter> node, Func <RxMatch <TLetter>, ICollection <LetterId> > context)
 {
     return(new RxConcatenation <LetterId>(node.Left.Visit(this, context), node.Right.Visit(this, context)));
 }
Example #2
0
 public object Concatenation(RxConcatenation <TLetter> node, Func <RangeSet <TLetter>, object, RangeSet <TLetter> > context)
 {
     node.Left.Visit(this, context);
     node.Right.Visit(this, context);
     return(null);
 }
Example #3
0
 NfaState <TLetter> IRegexVisitor <TLetter, NfaState <TLetter>, NfaState <TLetter> > .Concatenation(RxConcatenation <TLetter> node, NfaState <TLetter> context)
 {
     return(node.Right.Visit(this, node.Left.Visit(this, context)));
 }
Example #4
0
 RxNode <TLetter> IRegexVisitor <TLetter, SymbolId, RxNode <TLetter> > .Concatenation(RxConcatenation <TLetter> node, SymbolId context)
 {
     return(node.Left.Visit(this, context) ?? node.Right.Visit(this, context));
 }