Function passerine::compiler::parse::parse [−][src]
pub fn parse(tokens: Vec<Spanned<Token>>) -> Result<Spanned<AST>, Syntax>
Simple function that parses a token stream into an AST.
Exposes the functionality of the Parser
.