Push a new :class:`State` onto the stack which is just a copy of the current state.
(self)
| 2563 | self._state_stack.pop() |
| 2564 | |
| 2565 | def push_state(self): |
| 2566 | """ |
| 2567 | Push a new :class:`State` onto the stack which is just a copy |
| 2568 | of the current state. |
| 2569 | """ |
| 2570 | self._state_stack.append(self.get_state().copy()) |
| 2571 | |
| 2572 | def main(self, s, loc, toks): |
| 2573 | return [Hlist(toks)] |
no test coverage detected