Function syntax::ext::tt::macro_parser::initial_matcher_pos [−][src]
ⓘImportant traits for Box<R>
fn initial_matcher_pos(ms: Vec<TokenTree>, lo: BytePos) -> Box<MatcherPos>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Generate the top-level matcher position in which the "dot" is before the first token of the
matcher ms
and we are going to start matching at position lo
in the source.