Function syntax::ext::tt::transcribe::new_tt_readerUnstable [-] [+] [src]

pub fn new_tt_reader<'a>(sp_diag: &'a SpanHandler, interp: Option<HashMap<Ident, Rc<NamedMatch>>>, imported_from: Option<Ident>, src: Vec<TokenTree>) -> TtReader<'a>

This can do Macro-By-Example transcription. On the other hand, if src contains no TtSequences, MatchNts or SubstNts, interp can (and should) be None.