public void Quantify(RegexQuantifier quantifier)
 {
     if (this.pending == null)
     {
         throw new InvalidOperationException("Qualifier is not valid at this place");
     }
     this.pending = RegexQuantified.Create(this.pending, quantifier);
     this.AppendExpression(null);
 }
Beispiel #2
0
 public RegexExpression Quantified(RegexQuantified node, KeyValuePair <SymbolId, int?> context)
 {
     return(RegexQuantified.Create(node.Inner.Visit(this, context), node.Quantifier));
 }
 public RxNode <TLetter> Quantified(RegexQuantified node, Context context)
 {
     return(new RxQuantified <TLetter>(node.Inner.Visit(this, context), node.Quantifier.Min, node.Quantifier.Max));
 }