Crate parse

Crate parse 

Source
Expand description

§solar-parse

Solidity and Yul lexer and parser.

The implementation of both are modified from rustc_lexer and rustc_parse in the Rust compiler to accommodate the differences between Rust and Solidity/Yul.

Modules§

ast
solar-ast
bumpalo
bumpalo
lexer
Solidity and Yul lexer.

Structs§

Cursor
Peekable iterator over a char sequence.
Lexer
Solidity and Yul lexer.
Parser
Solidity and Yul parser.

Enums§

Recovered
Indicates whether the parser took a recovery path and continued.

Type Aliases§

PErr
Parser error type.
PResult
Parser result type. This is a shorthand for Result<T, PErr<'a>>.