MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / pretty_unparse

Function pretty_unparse

scratchattach/editor/code_translation/parse.py:162–163  ·  view source on GitHub ↗
(tree: Tree)

Source from the content-addressed store, hash-verified

160 return "\n\n".join(items)
161
162def pretty_unparse(tree: Tree):
163 return PrettyUnparser().transform(tree)
164
165if __name__ == "__main__":
166 EXAMPLE_FILE = Path(__file__).parent / "example.txt"

Callers 1

parse.pyFile · 0.85

Calls 1

PrettyUnparserClass · 0.85

Tested by

no test coverage detected