Push a new `State` onto the stack, copying the current state.
(self)
| 2320 | self._state_stack.pop() |
| 2321 | |
| 2322 | def push_state(self) -> None: |
| 2323 | """Push a new `State` onto the stack, copying the current state.""" |
| 2324 | self._state_stack.append(self.get_state().copy()) |
| 2325 | |
| 2326 | def main(self, toks: ParseResults) -> list[Hlist]: |
| 2327 | return [Hlist(toks.as_list())] |
no test coverage detected