(self, text)
| 243 | return TextNode(text[:index]), text[index:] |
| 244 | |
| 245 | def read_keyword(self, text): |
| 246 | line, text = splitline(text) |
| 247 | return StatementNode(line.strip() + "\n"), text |
| 248 | |
| 249 | def read_expr(self, text, escape=True): # noqa: C901, PLR0915 |
| 250 | """Reads a python expression from the text and returns the expression and remaining text. |
no test coverage detected