class documentation

class ClassTypeToLateType(Visitor): (source)

View In Hierarchy

Convert ClassType to LateType.

Method __init__ Initialize the visitor.
Method VisitClassType Undocumented
Instance Variable _ignore 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, ignore): (source)

Initialize the visitor. Args: ignore: A list of prefixes to ignore. Typically, this list includes things something like like "builtins.", since we don't want to convert builtin types to late types. (And, more generally, types of modules that are always loaded by pytype don't need to be late types)

def VisitClassType(self, n): (source)

Undocumented

Undocumented