| 639 | |
| 640 | |
| 641 | class Output: |
| 642 | def __init__(self): |
| 643 | self.string = '' |
| 644 | |
| 645 | def GetLastLine(self): |
| 646 | index = self.string.rfind('\n') |
| 647 | if index < 0: |
| 648 | return '' |
| 649 | |
| 650 | return self.string[index + 1:] |
| 651 | |
| 652 | def Append(self, s): |
| 653 | self.string += s |
| 654 | |
| 655 | |
| 656 | def RunAtomicCode(env, node, output): |
no outgoing calls