PegBaseParserForRepeat(Int32, Int32, PegBaseParserMatcher) Method |
Matches the specified expression within the provided repetition range.
Namespace: Altaxo.Main.PegParserAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic bool ForRepeat(
int lower,
int upper,
PegBaseParserMatcher toRepeat
)
Parameters
- lower Int32
- The minimum repetition count.
- upper Int32
- The maximum repetition count.
- toRepeat PegBaseParserMatcher
- The matcher to repeat.
Return Value
Booleantrue if the number of successful repetitions is within range; otherwise,
false.
See Also