pub fn parse(cx: &base::ExtCtxt,
                 mtch: &[TokenTree],
                 tts: &[TokenTree])
                 -> macro_parser::NamedParseResult {
        // `None` is because we're not interpolating
        let directory = Directory {
            path: cx.current_expansion.module.directory.clone(),
            ownership: cx.current_expansion.directory_ownership,
        };
        macro_parser::parse(cx.parse_sess(), tts.iter().cloned().collect(), mtch, Some(directory))
    }
/// 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 directory = Directory {
            path: cx.current_expansion.module.directory.clone(),
            ownership: cx.current_expansion.directory_ownership,
        };
        macro_parser::parse(cx.parse_sess(), tts.iter().cloned().collect(), mtch, Some(directory))
    }
pub fn parse ( cx : & base :: ExtCtxt , mtch : & [ TokenTree ] , tts : & [ TokenTree ] ) -> macro_parser :: NamedParseResult { // `None` is because we're not interpolating let directory = Directory { path : cx . current_expansion . module . directory . clone ( ) , ownership : cx . current_expansion . directory_ownership , } ; macro_parser :: parse ( cx . parse_sess ( ) , tts . iter ( ) . cloned ( ) . collect ( ) , mtch , Some ( directory ) ) }
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]
cx
&base::ExtCtxt
mtch
&[TokenTree]
tts
&[TokenTree]