Expand description
Parsers extracting tokens from the stream
Functions§
- Matches one token
- Recognizes a literal
- Recognize a token that does not match the pattern
- Recognize a token that matches the pattern
- tagDeprecatedDeprecated, replaced with
literal
- tag_no_caseDeprecatedRecognizes a case insensitive literal.
- Recognize an input slice containing the first N input elements (I[..N]).
- Recognize the longest input slice (if any) till a pattern is met.
- take_till0DeprecatedRecognize the longest input slice (if any) till a pattern is met.
- take_till1DeprecatedRecognize the longest (at least 1) input slice till a pattern is met.
- Recognize the input slice up to the first occurrence of the literal.
- take_until0DeprecatedDeprecated, see
take_until
- take_until1DeprecatedDeprecated, see
take_until
- Recognize the longest (m <= len <= n) input slice that matches the pattern