(&self, k1: TokenType, k2: TokenType)
| 883 | self.current.kind == kind |
| 884 | } |
| 885 | pub fn check_either(&self, k1: TokenType, k2: TokenType) -> bool { |
| 886 | self.check(k1) || self.check(k2) |
| 887 | } |
| 888 | |
| 889 | pub fn check_identifier(&self, lexme: &str) -> bool { |
| 890 | self.current.kind == TokenType::Identifier && self.current.lexeme == lexme |
no test coverage detected