Searched refs:leading_colons (Results 1 – 2 of 2) sorted by relevance
14 let mut leading_colons = 0; // $(::)? in expand_attr() localVariable23 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()
13 let leading_colons: Option<Token![::]> = input.parse()?; in parse_unquoted() localVariable20 if segments.is_empty() && leading_colons.is_none() { in parse_unquoted()