def METHOD_NAME(
    self,
    tokensource: Iterable[MutableMapping[_TokenType, str]],
    outfile: TextIO,
) -> None:
    o: str = ""
    for token, text in tokensource:
        if text == "\n":
            continue
        while token not in self.f_strings:
            if token.parent is None:
                break
            else:
                token = token.parent
        o += f"{self.f_strings[token]}\x03{text}\x04"
    outfile.write(o.rstrip())