Function rustc_expand::mbe::quoted::parse[−][src]

pub(super) fn parse(
    input: TokenStream,
    expect_matchers: bool,
    sess: &ParseSess,
    node_id: NodeId,
    features: &Features
) -> Vec<TokenTree>

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.