(self, tokensource, outfile)
| 56 | super().__init__(**options) # type: ignore |
| 57 | |
| 58 | def format(self, tokensource, outfile): |
| 59 | o = "" |
| 60 | |
| 61 | for token, text in tokensource: |
| 62 | while token not in self.f_strings: |
| 63 | token = token.parent |
| 64 | o += f"{self.f_strings[token]}\x03{text}\x04" |
| 65 | outfile.write(parse(o.rstrip())) |
| 66 | |
| 67 | |
| 68 | class Interp(ReplInterpreter): |