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); }
public RegexExpression Quantified(RegexQuantified node, KeyValuePair <SymbolId, int?> context) { return(RegexQuantified.Create(node.Inner.Visit(this, context), node.Quantifier)); }