/// Create a new parser which consumes input from the given lexer.
Create a new parser which consumes input from the given lexer.
Create a new parser which consumes input from the given lexer .
pub fn new(input: Lexer<T>) -> BasicParser<T> {
        BasicParser {
            input: input,
            queue: VecDeque::new(),
            last_span: INVALID_SPAN,
            severity: Severity::Note,
            consumed: 0,
        }
    }
pub fn new ( input : Lexer < T > ) -> BasicParser < T > { BasicParser { input : input , queue : VecDeque :: new ( ) , last_span : INVALID_SPAN , severity : Severity :: Note , consumed : 0 , } }
Create a new parser which consumes input from the given lexer.
Create a new parser which consumes input from the given lexer .
input
Lexer<T>