Function syntax::ext::tt::transcribe::transcribe
[−]
[src]
pub fn transcribe(sp_diag: &Handler,
interp: Option<HashMap<Ident, Rc<NamedMatch>>>,
src: Vec<TokenTree>)
-> TokenStream
🔬 This is a nightly-only experimental API. (
rustc_private)This can do Macro-By-Example transcription. On the other hand, if
src contains no TokenTree::{Sequence, Match}s, or SubstNts, interp can
(and should) be None.