class documentation

class DanglingReferencesVisitor(nodes.SparseNodeVisitor): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method unknown​_visit Called when entering unknown Node types.
Method visit​_reference Undocumented
Instance Variable document Undocumented
Instance Variable unknown​_reference​_resolvers Undocumented

Inherited from NodeVisitor (via SparseNodeVisitor):

Method dispatch​_departure Call self."depart_ + node class name" with node as parameter. If the depart_... method does not exist, call self.unknown_departure.
Method dispatch​_visit Call self."visit_ + node class name" with node as parameter. If the visit_... method does not exist, call self.unknown_visit.
Method unknown​_departure Called before exiting unknown Node types.
Class Variable optional Tuple containing node class names (as strings).
def __init__(self, document, unknown_reference_resolvers): (source)

Undocumented

def unknown_visit(self, node): (source)

Called when entering unknown Node types.

Raise an exception unless overridden.

def visit_reference(self, node): (source)

Undocumented

document = (source)

Undocumented

unknown_reference_resolvers = (source)

Undocumented