Return the value of the current token and read the next one into self.cur_token.
(self)
| 363 | return quantifiers |
| 364 | |
| 365 | def _advance(self): |
| 366 | """ Return the value of the current token and read the next one into |
| 367 | self.cur_token. |
| 368 | """ |
| 369 | cur_val = None if self.cur_token is None else self.cur_token.value |
| 370 | try: |
| 371 | self.cur_token = next(self._tokenizer) |
| 372 | except StopIteration: |
| 373 | self.cur_token = None |
| 374 | return cur_val |
| 375 | |
| 376 | _id_kinds = (TokenKind.ConstructorId, TokenKind.TypeId) |
| 377 |
no outgoing calls
no test coverage detected