module documentation
(source)

Type visitor classes.

This module defines the type visitors that are intended to be subclassed by other code. They have been separated out into their own module to ease converting mypy to run under mypyc, since currently mypyc-extension classes can extend interpreted classes but not the other way around. Separating them out, then, allows us to compile types before we can compile everything that uses a TypeVisitor.

The visitors are all re-exported from mypy.types and that is how other modules refer to them.

Class ​Synthetic​Type​Visitor A TypeVisitor that also knows how to visit synthetic AST constructs.
Class ​Type​Query Visitor for performing queries of types.
Class ​Type​Translator Identity type transformation.
Class ​Type​Visitor Visitor class for types (Type subclasses).
Constant T Undocumented

Undocumented

Value
TypeVar('T')