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

Important traits for Vec<u8>
pub fn parse(
    input: TokenStream,
    expect_matchers: bool,
    sess: &ParseSess,
    features: &Features,
    attrs: &[Attribute],
    edition: Edition,
    macro_node_id: NodeId
) -> Vec<TokenTree>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Takes a tokenstream::TokenStream and returns a Vec<self::TokenTree>. Specifically, this takes a generic TokenStream, such as is used in the rest of the compiler, and returns a collection of TokenTree for use in parsing a macro.

Parameters

Returns

A collection of self::TokenTree. There may also be some errors emitted to sess.