[][src]Function syntax::ext::tt::macro_parser::parse

pub fn parse(
    sess: &ParseSess,
    tts: TokenStream,
    ms: &[TokenTree],
    directory: Option<Directory>,
    recurse_into_modules: bool
) -> NamedParseResult
⚙️ 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.

Use the given sequence of token trees (ms) as a matcher. Match the given token stream tts against it and return the match.

Parameters