class documentation

class VerifyVisitor(Visitor): (source)

View In Hierarchy

Visitor for verifying pytd ASTs. For tests.

Method __init__ Undocumented
Method EnterCallableType Undocumented
Method EnterClass Undocumented
Method EnterFunction Undocumented
Method EnterGenericType Undocumented
Method EnterParameter Undocumented
Method EnterSignature Undocumented
Method EnterTemplateItem Undocumented
Method EnterTypeDeclUnit Undocumented
Method LeaveTypeDeclUnit Undocumented
Method _AssertNoDuplicates Checks that we don't have duplicate top-level names.
Instance Variable _all_templates Undocumented
Instance Variable _valid_param_name Undocumented

Inherited from Visitor:

Method Enter Undocumented
Method Leave Undocumented
Method Visit Undocumented
Class Variable old_node Undocumented
Class Variable unchecked_node_names Undocumented
Class Variable visits_all_node_types Undocumented
Instance Variable enter_functions Undocumented
Instance Variable leave_functions Undocumented
Instance Variable visit_class_names Undocumented
Instance Variable visit_functions Undocumented
Class Variable _visitor_functions_cache Undocumented
def __init__(self): (source)
def EnterCallableType(self, node): (source)

Undocumented

def EnterClass(self, node): (source)

Undocumented

def EnterFunction(self, node): (source)

Undocumented

def EnterGenericType(self, node): (source)

Undocumented

def EnterParameter(self, node): (source)

Undocumented

def EnterSignature(self, node): (source)

Undocumented

def EnterTemplateItem(self, node): (source)

Undocumented

def EnterTypeDeclUnit(self, node): (source)

Undocumented

def LeaveTypeDeclUnit(self, node): (source)

Undocumented

def _AssertNoDuplicates(self, node, attrs): (source)

Checks that we don't have duplicate top-level names.

_all_templates = (source)

Undocumented

_valid_param_name = (source)

Undocumented