[][src]Crate lunarity_parser

Macros

expect

Structs

FunctionContext
ModifierContext
Parser
Precedence
RegularTypeNameContext
StatementTypeNameContext

Constants

P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
TOP

Traits

StatementContext

A trait that allows for extra statements to be parsed in a specific context. In particular, it's used to differentiate between function and modifier bodies to allow placeholder statements (_;) only in the modifier definition.

TypeNameContext

Functions

parse

Parse the Solidity source from &str and produce an Abstract Syntax Tree for it.