ast.NodeVisitor
astor.node_util.ExplicitNodeVisitor
- This expands on the ast module's NodeVisitor class to remove any implicit visits.astor.code_gen.SourceGenerator
- This visitor is able to transform a well formed syntax tree into Python sourcecode.object
astor.code_gen.Delimit
- A context manager that can add enclosing delimiters around the output of a SourceGenerator method. By default, the parentheses are added, but the enclosed code may set discard=True to get rid of them.astor.file_util.CodeToAst
- Given a module, or a function that was compiled as part of a module, re-compile the module into an AST and extract the sub-AST for the function. Allow caching to reduce number of compiles.astor.node_util.NonExistent
- This is not the class you are looking for. astor.op_util.Precedence
- Undocumentedastor.string_repr.special_unicode
- Undocumentedtype
astor.tree_walk.MetaFlatten
- This metaclass is used to flatten classes to remove class hierarchy.astor.tree_walk.TreeWalk
- The TreeWalk class can be used as a superclass in order to walk an AST or similar tree.