Processes an input. `content` must be `str` or `bytes`. Raises `RuntimeError` if `.finish()` method is called.
(self, content: typing.Union[str, bytes])
| 60 | return len(content) |
| 61 | |
| 62 | def process(self, content: typing.Union[str, bytes]) -> "Parser": |
| 63 | """ |
| 64 | Processes an input. |
| 65 | |
| 66 | `content` must be `str` or `bytes`. |
| 67 | |
| 68 | Raises `RuntimeError` if `.finish()` method is called. |
| 69 | """ |
| 70 | self.__raw.process(content) |
| 71 | return self |
| 72 | |
| 73 | def finish(self) -> "Parser": |
| 74 | """ |
no outgoing calls