Searched refs:check_or_expected (Results 1 – 4 of 4) sorted by relevance
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_parse-722.0.0/src/parser/ |
H A D | mod.rs | 609 fn check_or_expected(&mut self, ok: bool, typ: TokenType) -> bool { in check_or_expected() method 619 self.check_or_expected(self.token.is_ident(), TokenType::Ident) in check_ident() 623 self.check_or_expected(self.token.is_path_start(), TokenType::Path) in check_path() 627 self.check_or_expected(self.token.can_begin_type(), TokenType::Type) in check_type() 631 self.check_or_expected(self.token.can_begin_const_arg(), TokenType::Const) in check_const_arg() 646 self.check_or_expected( in check_plus()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_parse-718.0.0/src/parser/ |
H A D | mod.rs | 609 fn check_or_expected(&mut self, ok: bool, typ: TokenType) -> bool { in check_or_expected() method 619 self.check_or_expected(self.token.is_ident(), TokenType::Ident) in check_ident() 623 self.check_or_expected(self.token.is_path_start(), TokenType::Path) in check_path() 627 self.check_or_expected(self.token.can_begin_type(), TokenType::Type) in check_type() 631 self.check_or_expected(self.token.can_begin_const_arg(), TokenType::Const) in check_const_arg() 646 self.check_or_expected( in check_plus()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_parse/src/parser/ |
H A D | mod.rs | 609 fn check_or_expected(&mut self, ok: bool, typ: TokenType) -> bool { in check_or_expected() method 619 self.check_or_expected(self.token.is_ident(), TokenType::Ident) in check_ident() 623 self.check_or_expected(self.token.is_path_start(), TokenType::Path) in check_path() 627 self.check_or_expected(self.token.can_begin_type(), TokenType::Type) in check_type() 631 self.check_or_expected(self.token.can_begin_const_arg(), TokenType::Const) in check_const_arg() 646 self.check_or_expected( in check_plus()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_parse/src/parser/ |
H A D | mod.rs | 622 fn check_or_expected(&mut self, ok: bool, typ: TokenType) -> bool { in check_or_expected() method 632 self.check_or_expected(self.token.is_ident(), TokenType::Ident) in check_ident() 636 self.check_or_expected(self.token.is_path_start(), TokenType::Path) in check_path() 640 self.check_or_expected(self.token.can_begin_type(), TokenType::Type) in check_type() 644 self.check_or_expected(self.token.can_begin_const_arg(), TokenType::Const) in check_const_arg() 659 self.check_or_expected( in check_plus()
|