Module combine::primitives
[−]
[src]
Module containing the primitive types which is used to create and compose more advanced parsers.
Structs
BufferedStream |
A |
BytePosition |
Struct which represents a position in a byte stream. |
IteratorStream |
Wrapper around iterators which allows them to be treated as a stream.
Returned by |
ParseError |
Struct which hold information about an error that occurred at a specific position.
Can hold multiple instances of |
ReadStream | |
SharedBufferedStream | |
SliceStream |
Newtype for constructing a stream from a slice where the items in the slice are not copyable. |
SourcePosition |
Struct which represents a position in a source file. |
State |
The |
Enums
Consumed |
Enum used to indicate if a parser consumed any items of the stream it was given as an input. |
Error |
Enum used to store information about an error that has occurred during parsing. |
FastResult | |
Info |
Enum holding error information. Variants are defined for |
Traits
FullRangeStream |
A |
Parser |
By implementing the |
Positioner |
Trait for updating the position for types which can be yielded from a |
Range | |
RangeStream |
A |
Stream |
A stream of tokens which can be duplicated |
StreamOnce |
|
Functions
from_iter |
[ Deprecated ]
|
from_read |
[ Deprecated ]
|
uncons | |
uncons_while |
Removes items from the input while |
Type Definitions
ConsumedResult |
A |
ParseResult |
A type alias over the specific |