pub fn parse(input: Vec<Token>, program: &str) -> ParseResult<StmtList> {
    let mut parser = ExpressionParser::new(input, program);
    let program = parser.parse();
    let diagnostics = parser.diagnostics;
    ParseResult {
        program,
        diagnostics,
    }
}
/// Parses a tokenized slide program, emitting the result and any diagnostics.
Parses a tokenized slide program, emitting the result and any diagnostics.
Parses a tokenized slide program emitting the result and any diagnostics .
pub fn parse(input: Vec<Token>, program: &str) -> ParseResult<StmtList> {
    let mut parser = ExpressionParser::new(input, program);
    let program = parser.parse();
    let diagnostics = parser.diagnostics;
    ParseResult {
        program,
        diagnostics,
    }
}
pub fn parse ( input : Vec < Token > , program : & str ) -> ParseResult < StmtList > { let mut parser = ExpressionParser :: new ( input , program ) ; let program = parser . parse ( ) ; let diagnostics = parser . diagnostics ; ParseResult { program , diagnostics , } }
Parses a tokenized slide program, emitting the result and any diagnostics.
Parses a tokenized slide program emitting the result and any diagnostics .
input
Vec<Token>
program
&str
input
Vec<Token>
program
&str