Module passerine::compiler::parse [−][src]
Structs
Constructs an AST
from a token stream.
Note that this struct should not be controlled manually,
use the parse
function instead.
Enums
We’re using a Pratt parser, so this little enum
defines different precedence levels.
Each successive level is higher, so, for example,
* > +
.
Functions
Simple function that parses a token stream into an AST.
Exposes the functionality of the Parser
.