class SourceGenerator(NodeVisitor):
node_to_source
function.Method | __init__ |
Undocumented |
Method | body |
Undocumented |
Method | body_or_else |
Undocumented |
Method | decorators |
Undocumented |
Method | generator_visit |
Undocumented |
Method | newline |
Undocumented |
Method | sequence_visit |
Undocumented |
Method | signature |
Undocumented |
Method | visit_alias |
Undocumented |
Method | visit_arg |
Undocumented |
Method | visit_Assign |
Undocumented |
Method | visit_Attribute |
Undocumented |
Method | visit_AugAssign |
Undocumented |
Method | visit_BinOp |
Undocumented |
Method | visit_BoolOp |
Undocumented |
Method | visit_Break |
Undocumented |
Method | visit_Bytes |
Undocumented |
Method | visit_Call |
Undocumented |
Method | visit_ClassDef |
Undocumented |
Method | visit_Compare |
Undocumented |
Method | visit_comprehension |
Undocumented |
Method | visit_Constant |
Undocumented |
Method | visit_Continue |
Undocumented |
Method | visit_Delete |
Undocumented |
Method | visit_Dict |
Undocumented |
Method | visit_DictComp |
Undocumented |
Method | visit_Ellipsis |
Undocumented |
Method | visit_excepthandler |
Undocumented |
Method | visit_Expr |
Undocumented |
Method | visit_ExtSlice |
Undocumented |
Method | visit_For |
Undocumented |
Method | visit_FunctionDef |
Undocumented |
Method | visit_Global |
Undocumented |
Method | visit_If |
Undocumented |
Method | visit_IfExp |
Undocumented |
Method | visit_Import |
Undocumented |
Method | visit_ImportFrom |
Undocumented |
Method | visit_Lambda |
Undocumented |
Method | visit_Name |
Undocumented |
Method | visit_NameConstant |
Undocumented |
Method | visit_Nonlocal |
Undocumented |
Method | visit_Num |
Undocumented |
Method | visit_Pass |
Undocumented |
Method | visit_Print |
Undocumented |
Method | visit_Raise |
Undocumented |
Method | visit_Repr |
Undocumented |
Method | visit_Return |
Undocumented |
Method | visit_Slice |
Undocumented |
Method | visit_Starred |
Undocumented |
Method | visit_Str |
Undocumented |
Method | visit_Subscript |
Undocumented |
Method | visit_TryExcept |
Undocumented |
Method | visit_TryFinally |
Undocumented |
Method | visit_Tuple |
Undocumented |
Method | visit_UnaryOp |
Undocumented |
Method | visit_While |
Undocumented |
Method | visit_With |
Undocumented |
Method | visit_Yield |
Undocumented |
Method | write |
Undocumented |
Class Variable | visit_GeneratorExp |
Undocumented |
Class Variable | visit_List |
Undocumented |
Class Variable | visit_ListComp |
Undocumented |
Class Variable | visit_Set |
Undocumented |
Class Variable | visit_SetComp |
Undocumented |
Instance Variable | indent_with |
Undocumented |
Instance Variable | indentation |
Undocumented |
Instance Variable | new_line |
Undocumented |
Instance Variable | new_lines |
Undocumented |
Instance Variable | result |
Undocumented |
Inherited from NodeVisitor
:
Method | generic_visit |
Called if no explicit visitor function exists for a node. |
Method | get_visitor |
Return the visitor function for this node or None if no visitor exists for this node. In that case the generic visit function is used instead. |
Method | visit |
Visit a node. |