/// Use this token tree as a matcher to parse given tts.
Use this token tree as a matcher to parse given tts.
Use this token tree as a matcher to parse given tts .
pub fn parse(cx: &base::ExtCtxt,
                 mtch: &[TokenTree],
                 tts: &[TokenTree])
                 -> macro_parser::NamedParseResult {
        // `None` is because we're not interpolating
        let arg_rdr = lexer::new_tt_reader_with_doc_flag(&cx.parse_sess().span_diagnostic,
                                                         None,
                                                         None,
                                                         tts.iter().cloned().collect(),
                                                         true);
        macro_parser::parse(cx.parse_sess(), cx.cfg(), arg_rdr, mtch)
    }
pub fn parse ( cx : & base :: ExtCtxt , mtch : & [ TokenTree ] , tts : & [ TokenTree ] ) -> macro_parser :: NamedParseResult { // `None` is because we're not interpolating let arg_rdr = lexer :: new_tt_reader_with_doc_flag ( & cx . parse_sess ( ) . span_diagnostic , None , None , tts . iter ( ) . cloned ( ) . collect ( ) , true ) ; macro_parser :: parse ( cx . parse_sess ( ) , cx . cfg ( ) , arg_rdr , mtch ) }
Use this token tree as a matcher to parse given tts.
Use this token tree as a matcher to parse given tts .
cx
&base::ExtCtxt
mtch
&[TokenTree]
tts
&[TokenTree]