class documentation

class ZopeInterfaceModuleVisitor(astbuilder.ModuleVistor):

View In Hierarchy

Undocumented

Method visit_​Call Undocumented
Method visit_​Call_zope_interface_class​Implements Undocumented
Method visit_​Call_zope_interface_implements Undocumented
Method visit_​Call_zope_interface_module​Provides Undocumented
Method visit_​Class​Def Undocumented
Instance Variable new​Attr Undocumented
Method _handle​Assignment​In​Class Undocumented
Method _handle​Assignment​In​Module Undocumented

Inherited from ModuleVistor:

Method __init__ Undocumented
Method default Undocumented
Method visit_​Ann​Assign Undocumented
Method visit_​Assign Undocumented
Method visit_​Async​Function​Def Undocumented
Method visit_​Expr Undocumented
Method visit_​Function​Def Undocumented
Method visit_​Import Process an import statement.
Method visit_​Import​From Undocumented
Method visit_​Module Undocumented
Instance Variable builder Undocumented
Instance Variable curr​Attr Undocumented
Instance Variable module Undocumented
Instance Variable system Undocumented
Method ​_annotation​_from​_attrib No summary
Method ​_annotations​_from​_function No summary
Method _handle​Assignment Undocumented
Method _handle​Class​Var Undocumented
Method _handle​Constant Must be called after obj.setLineNumber() to have the right line number in the warning.
Method _handle​Docstring​Update Undocumented
Method _handle​Function​Def Undocumented
Method _handle​Instance​Var Undocumented
Method _handle​Module​Var Undocumented
Method _handle​Old​School​Method​Decoration Undocumented
Method _handle​Property​Def Undocumented
Method _import​All Handle a from <modname> import * statement.
Method _import​Names Handle a from <modname> import <names> statement.
Method ​_unstring​_annotation Replace all strings in the given expression by parsed versions. @return: The unstringed node. If parsing fails, an error is logged and the original node is returned.
Method _warns​Constant​Assigment​Override Undocumented
Method _warns​Constant​Re​Assigment​In​Instance Undocumented
def visit_Call(self, node):

Undocumented

Parameters
node:ast.CallUndocumented
def visit_Call_zope_interface_classImplements(self, funcName, node):

Undocumented

Parameters
func​Name:strUndocumented
node:ast.CallUndocumented
def visit_Call_zope_interface_implements(self, funcName, node):

Undocumented

Parameters
func​Name:strUndocumented
node:ast.CallUndocumented
def visit_Call_zope_interface_moduleProvides(self, funcName, node):

Undocumented

Parameters
func​Name:strUndocumented
node:ast.CallUndocumented
def visit_ClassDef(self, node):

Undocumented

Parameters
node:ast.ClassDefUndocumented
Returns
Optional[ZopeInterfaceClass]Undocumented
newAttr =
def _handleAssignmentInClass(self, target, annotation, expr, lineno):

Undocumented

Parameters
target:strUndocumented
annotation:Optional[ast.expr]Undocumented
expr:Optional[ast.expr]Undocumented
lineno:intUndocumented
def _handleAssignmentInModule(self, target, annotation, expr, lineno):

Undocumented

Parameters
target:strUndocumented
annotation:Optional[ast.expr]Undocumented
expr:Optional[ast.expr]Undocumented
lineno:intUndocumented