Function syntax::parse::filemap_to_parser[src]
pub fn filemap_to_parser<'a>(sess: &'a ParseSess, filemap: Rc<FileMap>, cfg: CrateConfig) -> Parser<'a>
Given a filemap and config, return a parser
pub fn filemap_to_parser<'a>(sess: &'a ParseSess, filemap: Rc<FileMap>, cfg: CrateConfig) -> Parser<'a>
Given a filemap and config, return a parser
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).