Function syntex_syntax::ext::tt::transcribe::new_tt_reader
[−]
[src]
pub fn new_tt_reader<'a>(sp_diag: &'a SpanHandler, interp: Option<HashMap<Name, 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 TokenTree::Sequence
s, MatchNt
s or SubstNt
s, interp
can
(and should) be None.