Module readers

Source
Expand description

Streams of input text to be parsed.

The first stage of the parsing pipeline - lexical analysis - requires a unique API to access the input text. This module defines this API in the form of the Reader trait. It also contains several implementations of the trait, which wrap standard sources of data with this required API.

Structs§

AddressBasedReader
A Reader implementation that’s based on an AddressSpace of the read items.

Traits§

AddressSpace
A sequence of items that can be accessed by conceptual addresses.
Reader
A unique interface for accessing a sequence of input items.

Type Aliases§

ByteArrayReader
Implementation of the Reader interface for accessing an in-memory array of bytes.