Function rustc_parse::stream_to_parser
source · [−]pub fn stream_to_parser<'a>(
sess: &'a ParseSess,
stream: TokenStream,
subparser_name: Option<&'static str>
) -> Parser<'a>
Expand description
Given a stream and the ParseSess
, produces a parser.