Module parse

Source
Expand description

Parsing interface for parsing a token stream into a syntax tree node.

Structs§

Error
Error returned when a Syn parser cannot parse the input tokens.
Lookahead1
Support for checking the next token in a stream to decide how to parse.
ParseBuffer
Cursor position within a buffered token stream.

Traits§

Parse
Parsing interface implemented by all types that can be parsed in a default way from a token stream.
Peek
Types that can be parsed by looking at just one token.

Type Aliases§

ParseStream
Input to a Syn parser function.
Result
The result of a Syn parser.