[][src]Function rustc_expand::mbe::macro_parser::parse_nt

fn parse_nt(p: &mut Parser, sp: Span, name: Symbol) -> Result<Nonterminal, ()>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

A call to the "black-box" parser to parse some Rust non-terminal.

Parameters

Returns

The parsed non-terminal.