Send a line of input to the transformer, returning the transformed input or None if the transformer is waiting for more input. Must be overridden by subclasses. Implementations may raise ``SyntaxError`` if the input is invalid. No other exceptions may be rai
(self, line)
| 44 | |
| 45 | @abc.abstractmethod |
| 46 | def push(self, line): |
| 47 | """Send a line of input to the transformer, returning the transformed |
| 48 | input or None if the transformer is waiting for more input. |
| 49 | |
| 50 | Must be overridden by subclasses. |
| 51 | |
| 52 | Implementations may raise ``SyntaxError`` if the input is invalid. No |
| 53 | other exceptions may be raised. |
| 54 | """ |
| 55 | pass |
| 56 | |
| 57 | @abc.abstractmethod |
| 58 | def reset(self): |
nothing calls this directly
no outgoing calls
no test coverage detected