Module winnow::token

source ·
Expand description

Parsers extracting tokens from the stream

Functions§

  • Matches one token
  • Recognize a token that does not match the pattern
  • Recognize a token that matches the pattern
  • Recognizes a literal
  • Recognizes 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.
  • Recognize the longest (at least 1) input slice till a pattern is met.
  • Recognize the input slice up to the first occurrence of the literal.
  • Recognize the non empty input slice up to the first occurrence of the literal.
  • Recognize the longest (m <= len <= n) input slice that matches the pattern