class documentation

class _UnparseVisitor(ast.NodeVisitor):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method ​_visit​_arg​_with​_default Unparse a single argument to a string.
Method ​_visit​_op Undocumented
Method generic​_visit Undocumented
Method visit​_arg Undocumented
Method visit​_arguments Undocumented
Method visit_​Attribute Undocumented
Method visit_​Bin​Op Undocumented
Method visit_​Bool​Op Undocumented
Method visit_​Bytes Undocumented
Method visit_​Call Undocumented
Method visit_​Constant Undocumented
Method visit_​Dict Undocumented
Method visit_​Ellipsis Undocumented
Method visit_​Index Undocumented
Method visit_​Lambda Undocumented
Method visit_​List Undocumented
Method visit_​Name Undocumented
Method visit_​Name​Constant Undocumented
Method visit_​Num Undocumented
Method visit_​Set Undocumented
Method visit_​Str Undocumented
Method visit_​Subscript Undocumented
Method visit_​Tuple Undocumented
Method visit_​Unary​Op Undocumented
Instance Variable code Undocumented
def __init__(self, code=''):

Undocumented

Parameters
code:strUndocumented
def _visit_arg_with_default(self, arg, default):
Unparse a single argument to a string.
Parameters
arg:ast.argUndocumented
default:Optional[ast.AST]Undocumented
Returns
strUndocumented
def _visit_op(self, node):

Undocumented

Parameters
node:ast.ASTUndocumented
Returns
strUndocumented
def generic_visit(self, node):

Undocumented

def visit_arg(self, node):

Undocumented

Parameters
node:ast.argUndocumented
Returns
strUndocumented
def visit_arguments(self, node):

Undocumented

Parameters
node:ast.argumentsUndocumented
Returns
strUndocumented
def visit_Attribute(self, node):

Undocumented

Parameters
node:ast.AttributeUndocumented
Returns
strUndocumented
def visit_BinOp(self, node):

Undocumented

Parameters
node:ast.BinOpUndocumented
Returns
strUndocumented
def visit_BoolOp(self, node):

Undocumented

Parameters
node:ast.BoolOpUndocumented
Returns
strUndocumented
def visit_Bytes(self, node):

Undocumented

Parameters
node:ast.BytesUndocumented
Returns
strUndocumented
def visit_Call(self, node):

Undocumented

Parameters
node:ast.CallUndocumented
Returns
strUndocumented
def visit_Constant(self, node):

Undocumented

Parameters
node:ast.ConstantUndocumented
Returns
strUndocumented
def visit_Dict(self, node):

Undocumented

Parameters
node:ast.DictUndocumented
Returns
strUndocumented
def visit_Ellipsis(self, node):

Undocumented

Parameters
node:ast.EllipsisUndocumented
Returns
strUndocumented
def visit_Index(self, node):

Undocumented

Parameters
node:ast.IndexUndocumented
Returns
strUndocumented
def visit_Lambda(self, node):

Undocumented

Parameters
node:ast.LambdaUndocumented
Returns
strUndocumented
def visit_List(self, node):

Undocumented

Parameters
node:ast.ListUndocumented
Returns
strUndocumented
def visit_Name(self, node):

Undocumented

Parameters
node:ast.NameUndocumented
Returns
strUndocumented
def visit_NameConstant(self, node):

Undocumented

Parameters
node:ast.NameConstantUndocumented
Returns
strUndocumented
def visit_Num(self, node):

Undocumented

Parameters
node:ast.NumUndocumented
Returns
strUndocumented
def visit_Set(self, node):

Undocumented

Parameters
node:ast.SetUndocumented
Returns
strUndocumented
def visit_Str(self, node):

Undocumented

Parameters
node:ast.StrUndocumented
Returns
strUndocumented
def visit_Subscript(self, node):

Undocumented

Parameters
node:ast.SubscriptUndocumented
Returns
strUndocumented
def visit_Tuple(self, node):

Undocumented

Parameters
node:ast.TupleUndocumented
Returns
strUndocumented
def visit_UnaryOp(self, node):

Undocumented

Parameters
node:ast.UnaryOpUndocumented
Returns
strUndocumented
code =

Undocumented