pub fn parse_crate_mod(&mut self) -> PResult<'a, Crate> {
        let lo = self.span.lo;
        Ok(ast::Crate {
            attrs: try!(self.parse_inner_attributes()),
            module: try!(self.parse_mod_items(&token::Eof, lo)),
            config: self.cfg.clone(),
            span: mk_sp(lo, self.span.lo),
            exported_macros: Vec::new(),
        })
    }
/// Parses a source module as a crate. This is the main
/// entry point for the parser.
Parses a source module as a crate. This is the main
entry point for the parser.
Parses a source module as a crate . This is the main entry point for the parser .
pub fn parse_crate_mod(&mut self) -> PResult<'a, Crate> {
        let lo = self.span.lo;
        Ok(ast::Crate {
            attrs: try!(self.parse_inner_attributes()),
            module: try!(self.parse_mod_items(&token::Eof, lo)),
            config: self.cfg.clone(),
            span: mk_sp(lo, self.span.lo),
            exported_macros: Vec::new(),
        })
    }
pub fn parse_crate_mod ( & mut self ) -> PResult < ' a , Crate > { let lo = self . span . lo ; Ok ( ast :: Crate { attrs : try ! ( self parse_inner_attributes ( ) ) , module : try ! ( self parse_mod_items ( token Eof lo ) ) , config : self . cfg . clone ( ) , span : mk_sp ( lo , self . span . lo ) , exported_macros : Vec :: new ( ) , } ) }
Parses a source module as a crate.
Parses a source module as a crate .
&mut self
&mut self