pub fn new(lexer: Lexer) -> Self {
      Self {
         ast: Ast::new(Rc::clone(&lexer.module_name)),
         lexer,
      }
   }
/// Constructs a new parser from a lexer.
Constructs a new parser from a lexer.
Constructs a new parser from a lexer .
pub fn new(lexer: Lexer) -> Self {
      Self {
         ast: Ast::new(Rc::clone(&lexer.module_name)),
         lexer,
      }
   }
pub fn new ( lexer : Lexer ) -> Self { Self { ast : Ast :: new ( Rc :: clone ( & lexer . module_name ) ) , lexer , } }
Constructs a new parser from a lexer.
Constructs a new parser from a lexer .
lexer
Lexer