class documentation

class TypeVarType(TypeVarLikeType): (source)

View In Hierarchy

Type that refers to a type variable.
Class Method deserialize Undocumented
Static Method new​_unification​_variable Undocumented
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method accept Undocumented
Method serialize Undocumented
Class Variable __slots__ Undocumented
Instance Variable values Undocumented
Instance Variable variance Undocumented

Inherited from TypeVarLikeType:

Instance Variable fullname Undocumented
Instance Variable id Undocumented
Instance Variable name Undocumented
Instance Variable upper​_bound Undocumented

Inherited from Type (via TypeVarLikeType, ProperType):

Method __repr__ Undocumented
Method can​_be​_false​_default Undocumented
Method can​_be​_true​_default Undocumented
Instance Variable can​_be​_false Undocumented
Instance Variable can​_be​_true Undocumented

Inherited from Context (via TypeVarLikeType, ProperType, Type):

Method get​_column Don't use. Use x.column.
Method get​_line Don't use. Use x.line.
Method set​_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end​_line Undocumented
Instance Variable line Undocumented
@classmethod
def deserialize(cls, data): (source)

Undocumented

Parameters
data:JsonDictUndocumented
Returns
TypeVarTypeUndocumented
@staticmethod
def new_unification_variable(old): (source)

Undocumented

Parameters
old:TypeVarTypeUndocumented
Returns
TypeVarTypeUndocumented
def __eq__(self, other): (source)

Undocumented

Parameters
other:objectUndocumented
Returns
boolUndocumented
def __hash__(self): (source)

Undocumented

Returns
intUndocumented
def __init__(self, name, fullname, id, values, upper_bound, variance=INVARIANT, line=-1, column=-1): (source)

Undocumented

Parameters
name:strUndocumented
fullname:strUndocumented
id:Union[TypeVarId, int]Undocumented
values:List[Type]Undocumented
upper​_bound:TypeUndocumented
variance:intUndocumented
line:intUndocumented
column:intUndocumented
def accept(self, visitor): (source)

Undocumented

Parameters
visitor:TypeVisitor[T]Undocumented
Returns
TUndocumented
def serialize(self): (source)

Undocumented

Returns
JsonDictUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

values = (source)

Undocumented

variance = (source)

Undocumented