Skip to main content

Module stream_parser

Module stream_parser 

Source
Expand description

Incremental parsing for long-lived Links Notation streams.

Structs§

StreamIterator
Lazy iterator returned by StreamParser::parse_chunks and StreamParser::parse_syntax_chunks.
StreamParseError
A canonical parser or stream-limit error with absolute stream coordinates.
StreamParser
Incrementally emits complete top-level Links Notation records.
StreamPosition
The point immediately after the last character written to a stream parser.

Traits§

StreamReference
The reference type a StreamParser emits: String for the plain links (the AST mode), or SyntaxReference for links that record how each ID was written. The trait is sealed.

Type Aliases§

ErrorCallback
Callback invoked when a write or finish operation fails.
ErrorLocation
Backward-compatible name for stream position information.
LinkCallback
Callback invoked for every completed link.