General purpose base class for AST transformations.
Every visitor method can be overridden to return an AST node that has been
altered or replaced in some way.
|
|
|
|
|
visit_Interactive(self,
node) |
|
|
|
visit_Expression(self,
node) |
|
|
|
|
|
visit_FunctionDef(self,
node) |
|
|
|
visit_ClassDef(self,
node) |
|
|
|
|
|
|
|
|
|
visit_AugAssign(self,
node) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
visit_TryExcept(self,
node) |
|
|
|
visit_TryFinally(self,
node) |
|
|
|
|
|
visit_ExceptHandler(self,
node) |
|
|
|
|
|
visit_ImportFrom(self,
node) |
|
|
|
|
|
|
|
|
|
|
|
|
|
visit_UnaryOp(self,
node) |
|
|
|
|
|
|
|
|
|
visit_ListComp(self,
node) |
|
|
|
visit_GeneratorExp(self,
node) |
|
|
|
|
|
visit_Compare(self,
node) |
|
|
|
|
|
|
|
visit_Attribute(self,
node) |
|
|
|
visit_Subscript(self,
node) |
|
|
|
|
|
|
|
|
|
visit_comprehension(self,
node) |
|
|
|
visit_excepthandler(self,
node) |
|
|
|
visit_arguments(self,
node) |
|
|
|
visit_keyword(self,
node) |
|
|
|
|
|
|
|
visit_ExtSlice(self,
node) |
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|