pub fn parse(mut self) -> PResult<ast::SourceFile> {
        let package_name = try!(self.parse_package_clause());
        let import_decls = try!(self.parse_import_decls());
        let top_level_decls = try!(self.parse_top_level_decls());

        Ok(ast::SourceFile {
            package: package_name,
            import_decls: import_decls,
            top_level_decls: top_level_decls,
        })
    }
/// Parse the tokens into a SourceFile (AST).
Parse the tokens into a SourceFile (AST).
Parse the tokens into a SourceFile ( AST ) .
pub fn parse(mut self) -> PResult<ast::SourceFile> {
        let package_name = try!(self.parse_package_clause());
        let import_decls = try!(self.parse_import_decls());
        let top_level_decls = try!(self.parse_top_level_decls());
        Ok(ast::SourceFile {
            package: package_name,
            import_decls: import_decls,
            top_level_decls: top_level_decls,
        })
    }
pub fn parse ( mut self ) -> PResult < ast :: SourceFile > { let package_name = try ! ( self parse_package_clause ( ) ) ; let import_decls = try ! ( self parse_import_decls ( ) ) ; let top_level_decls = try ! ( self parse_top_level_decls ( ) ) ; Ok ( ast :: SourceFile { package : package_name , import_decls : import_decls , top_level_decls : top_level_decls , } ) }
Parse the tokens into a SourceFile (AST).
Parse the tokens into a SourceFile ( AST ) .
mut self