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 occured 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 occured |
FastResult | |
Info |
Enum holding error information
As there is implementations of |
Traits
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 |
Converts an |
from_read |
Creates a |
uncons | |
uncons_while |
Removes items from the input while |
Type Definitions
ConsumedResult |
A |
ParseResult |
A type alias over the specific |