Module nom::sequence

source ·
Expand description

combinators applying parsers in sequence

Traits§

  • helper trait for the tuple combinator

Functions§

  • Matches an object from the first parser, then gets an object from the sep_parser, then matches another object from the second parser.
  • Gets an object from the first parser, then gets another object from the second parser.
  • Matches an object from the first parser and discards it, then gets an object from the second parser.
  • Gets an object from the first parser, then matches an object from the sep_parser and discards it, then gets another object from the second parser.
  • Gets an object from the first parser, then matches an object from the second parser and discards it.
  • applies a tuple of parsers one by one and returns their results as a tuple