(self)
| 525 | and ``check_complete()``. |
| 526 | """ |
| 527 | def __init__(self): |
| 528 | self.cleanup_transforms = [ |
| 529 | leading_empty_lines, |
| 530 | leading_indent, |
| 531 | classic_prompt, |
| 532 | ipython_prompt, |
| 533 | ] |
| 534 | self.line_transforms = [ |
| 535 | cell_magic, |
| 536 | ] |
| 537 | self.token_transformers = [ |
| 538 | MagicAssign, |
| 539 | SystemAssign, |
| 540 | EscapedCommand, |
| 541 | HelpEnd, |
| 542 | ] |
| 543 | |
| 544 | def do_one_token_transform(self, lines): |
| 545 | """Find and run the transform earliest in the code. |
nothing calls this directly
no outgoing calls
no test coverage detected