Module oak_runtime::stream
[−]
[src]
Collection of traits for retrieving and manipulating a stream. They are used by implementation of parsing expressions.
A stream produces a sequence of items (characters, bytes, etc.) while retaining information on the underlying data traversed. For example, a couple (File, Iterator<char>)
could represent a stream of characters from a file.
Traits
CharStream |
Requirements of a stream of characters. It is currently required by most parser combinators. |
CodeSnippet |
Produces a code snippet of size |
ConsumePrefix |
Consumes |
HasNext |
Returns |
Location |
Produces a textual representation of the current position in the stream. For example, it can be |
Stream |
Transforms a value into a stream of type |
StreamSpan |