module documentation

Visitor(s) for walking ASTs. This module contains broadly useful basic visitors. Visitors that are more specialized to pytype are in visitors.py. If you see a visitor there that you'd like to use, feel free to propose moving it here.

Class CanonicalOrderingVisitor Visitor for converting ASTs back to canonical (sorted) ordering.
Class ClassTypeToNamedType Change all ClassType objects to NameType objects.
Class CollectTypeParameters Visitor that accumulates type parameters in its "params" attribute.
Class ExtractSuperClasses Visitor for extracting all superclasses (i.e., the class hierarchy).
Class RenameModuleVisitor Renames a TypeDeclUnit.
Function IsNamedTuple Undocumented
def IsNamedTuple(node: pytd.Class): (source)

Undocumented