(&self, lexme: &str)
| 887 | } |
| 888 | |
| 889 | pub fn check_identifier(&self, lexme: &str) -> bool { |
| 890 | self.current.kind == TokenType::Identifier && self.current.lexeme == lexme |
| 891 | } |
| 892 | |
| 893 | pub fn check_next(&mut self, kind: TokenType) -> bool { |
| 894 | self.peek_next().map(|t| t.kind == kind) == Some(true) |
no outgoing calls
no test coverage detected