Module combine::parser::range [] [src]

Module containing zero-copy parsers.

Structs

Range
Recognize
RecognizeWithValue
Take
TakeUntilRange
TakeWhile
TakeWhile1

Functions

range

Zero-copy parser which reads a range of length i.len() and succeeds if i is equal to that range.

recognize

Zero-copy parser which returns consumed input range.

recognize_with_value

Zero-copy parser which returns a pair: (consumed input range, parsed value).

take

Zero-copy parser which reads a range of length n.

take_until_range

Zero-copy parser which reads a range of 0 or more tokens until r is found.

take_while

Zero-copy parser which reads a range of 0 or more tokens which satisfy f.

take_while1

Zero-copy parser which reads a range of 1 or more tokens which satisfy f.