Factories and utilities for creating or processing PrefixedParser instances.
- Companion:
- class
Value members
Concrete methods
Creates a new parser that is only triggered when a character in the specified set is seen on the input.
Creates a new parser that is only triggered when a character in the specified set is seen on the input.
Creates a new parser that is only triggered when one of the specified characters is seen on the input.
Creates a new parser that is only triggered when one of the specified characters is seen on the input.
Creates a mapping from start characters to their corresponding parser
from the specified sequence of PrefixedParsers. If a character is
a trigger for more than one parser they will be combined using orElse
where the parser which comes first in the sequence has higher precedence.
Creates a mapping from start characters to their corresponding parser
from the specified sequence of PrefixedParsers. If a character is
a trigger for more than one parser they will be combined using orElse
where the parser which comes first in the sequence has higher precedence.