Module combine::primitives
[−]
[src]
Module containing the primitive types which is used to create and compose more advanced parsers.
Structs
IteratorStream |
Wrapper around iterators which allows them to be treated as a stream.
Returned by |
PointerOffset |
Newtype around a pointer offset into a slice stream ( |
ReadStream | |
SliceStream |
Newtype for constructing a stream from a slice where the items in the slice are not copyable. |
Tracked |
Error wrapper which lets parsers track which parser in a sequence of sub-parsers has emitted
the error. |
Enums
Consumed |
Enum used to indicate if a parser consumed any items of the stream it was given as an input. |
EasyError |
Enum used to store information about an error that has occurred during parsing. |
FastResult | |
Info | |
StringStreamError | |
UnexpectedParse |
Traits
FullRangeStream |
A |
ParseError |
Trait which defines a gluon parse error. |
Parser |
By implementing the |
Positioned | |
Range | |
RangeStream |
A |
RangeStreamOnce |
A |
Stream |
A stream of tokens which can be duplicated |
StreamError |
|
StreamOnce |
|
Functions
uncons | |
uncons_while |
Removes items from the input while |
Type Definitions
ConsumedResult |
A |
ParseResult |
A type alias over the specific |