RuleDSLBasics
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Matches the EOI (end-of-input) character.
Matches the EOI (end-of-input) character.
Attributes
Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).
Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).
Attributes
A generic Rule that always fails.
A generic Rule that always fails.
Attributes
Matches any single one of the given characters.
Matches any single one of the given characters.
Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.
Attributes
A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.
A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.
Attributes
Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!
Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!
Attributes
Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!
Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!
Attributes
Matches any single character except the ones in the given string and except EOI.
Matches any single character except the ones in the given string and except EOI.
Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.
Attributes
Matches any of the given maps keys and pushes the respective value upon a successful match.
Matches any of the given maps keys and pushes the respective value upon a successful match.
Value parameters
- ignoreCase
-
a flag that tells if map keys case should be ignored
Attributes
Implicits
Implicits
Matches the given single character.
Matches the given single character.
Attributes
Matches any (single) character matched by the given CharPredicate.
Matches any (single) character matched by the given CharPredicate.
Attributes
Matches the given string of characters.
Matches the given string of characters.