langchain_community.tools.e2b_data_analysis.unparse.Unparser¶
- class langchain_community.tools.e2b_data_analysis.unparse.Unparser(tree, file=sys.stdout)[source]¶
Methods in this class recursively traverse an AST and output source code for the abstract syntax; original formatting is disregarded.
Print the source for tree to file.
Attributes
binopboolopscmpopsunopMethods
__init__(tree[, file])Unparser(tree, file=sys.stdout) -> None.
dispatch(tree)Dispatcher function, dispatching tree type T to method _T.
enter()Print ':', and increase the indentation.
fill([text])Indent a piece of text, according to the current indentation level
leave()Decrease the indentation level.
write(text)Append a piece of text to the current line.