Home
last modified time | relevance | path

Searched refs:leading_colons (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/paste/src/
Dattr.rs14 let mut leading_colons = 0; // $(::)? in expand_attr() localVariable
23 if punct.as_char() == ':' && leading_colons < 2 && leading_path == 0 => in expand_attr()
25 leading_colons += 1; in expand_attr()
28 Some(TokenTree::Ident(_)) if leading_colons != 1 && leading_path % 3 == 0 => { in expand_attr()
42 let leading = leading_colons + leading_path; in expand_attr()
96 .take(leading_colons + leading_path) in expand_attr()
/external/rust/cxx/syntax/
Dqualified.rs13 let leading_colons: Option<Token![::]> = input.parse()?; in parse_unquoted() localVariable
20 if segments.is_empty() && leading_colons.is_none() { in parse_unquoted()