Function passerine::compiler::parse::parse[][src]

pub fn parse(tokens: Vec<Spanned<Token>>) -> Result<Spanned<AST>, Syntax>
Expand description

Simple function that parses a token stream into an AST. Exposes the functionality of the Parser.