(self, string: str)
| 497 | return tok.string |
| 498 | |
| 499 | def peek_string(self, string: str) -> bool: |
| 500 | if not (tok := self.peek()): |
| 501 | return False |
| 502 | return tok.string == string |
| 503 | |
| 504 | def pop_string(self, string: str) -> str: |
| 505 | tok = self.pop() |
no test coverage detected