Searched refs:is_kw_followed_by_ident (Results 1 – 12 of 12) sorted by relevance
61 } else if self.is_kw_followed_by_ident(kw::Mut) { in parse_stmt_without_recovery()63 } else if self.is_kw_followed_by_ident(kw::Auto) { in parse_stmt_without_recovery()67 } else if self.is_kw_followed_by_ident(sym::var) { in parse_stmt_without_recovery()
276 } else if self.is_kw_followed_by_ident(kw::Union) { in parse_item_kind()301 || self.is_kw_followed_by_ident(kw::Union) // no: `union::b`, yes: `union U { .. }` in is_path_start_item()
605 fn is_kw_followed_by_ident(&self, kw: Symbol) -> bool { in is_kw_followed_by_ident() method
62 } else if self.is_kw_followed_by_ident(kw::Mut) { in parse_stmt_without_recovery()64 } else if self.is_kw_followed_by_ident(kw::Auto) { in parse_stmt_without_recovery()68 } else if self.is_kw_followed_by_ident(sym::var) { in parse_stmt_without_recovery()
275 } else if self.is_kw_followed_by_ident(kw::Union) { in parse_item_kind()300 || self.is_kw_followed_by_ident(kw::Union) // no: `union::b`, yes: `union U { .. }` in is_path_start_item()
618 fn is_kw_followed_by_ident(&self, kw: Symbol) -> bool { in is_kw_followed_by_ident() method