SeparatedRepeatingParserExtension<R> extension
- on
-
- Parser<
R>
- Parser<
Methods
-
plusSeparated<
S> (Parser< S> separator) → Parser<SeparatedList< R, S> > -
Available on Parser<
Returns a parser that consumes the receiver one or more times separated by theR> , provided by the SeparatedRepeatingParserExtension extensionseparatorparser. The resulting parser returns a SeparatedList containing collections of both the elements of typeRas well as the separators of typeS. -
repeatSeparated<
S> (Parser< S> separator, int min, int max) → Parser<SeparatedList< R, S> > -
Available on Parser<
Returns a parser that consumes the receiver betweenR> , provided by the SeparatedRepeatingParserExtension extensionminandmaxtimes separated by theseparatorparser. The resulting parser returns a SeparatedList containing collections of both the elements of typeRas well as the separators of typeS. -
starSeparated<
S> (Parser< S> separator) → Parser<SeparatedList< R, S> > -
Available on Parser<
Returns a parser that consumes the receiver zero or more times separated by theR> , provided by the SeparatedRepeatingParserExtension extensionseparatorparser. The resulting parser returns a SeparatedList containing collections of both the elements of typeRas well as the separators of typeS. -
timesSeparated<
S> (Parser< S> separator, int count) → Parser<SeparatedList< R, S> > -
Available on Parser<
Returns a parser that consumes the receiverR> , provided by the SeparatedRepeatingParserExtension extensioncounttimes separated by theseparatorparser. The resulting parser returns a SeparatedList containing collections of both the elements of typeRas well as the separators of typeS.