class TypeVarLikeExpr(SymbolNode, Expression): (source)
Known subclasses: mypy.nodes.ParamSpecExpr
, mypy.nodes.TypeVarExpr
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | upper_bound |
Undocumented |
Instance Variable | variance |
Undocumented |
Property | fullname |
Undocumented |
Property | name |
Undocumented |
Instance Variable | _fullname |
Undocumented |
Instance Variable | _name |
Undocumented |
Inherited from SymbolNode
:
Class Method | deserialize |
Undocumented |
Method | serialize |
Undocumented |
Inherited from Node
(via SymbolNode
):
Method | __str__ |
Undocumented |
Method | accept |
Undocumented |
Inherited from Context
(via SymbolNode
, Node
):
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 |
Inherited from Expression
:
Method | accept |
Undocumented |
Inherited from Node
(via Expression
):
Method | __str__ |
Undocumented |
Inherited from Context
(via Expression
, Node
):
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 |
mypy.nodes.Context.__init__
mypy.nodes.TypeVarExpr
Undocumented
Parameters | |
name:str | Undocumented |
fullname:str | Undocumented |
upper_bound:mypy.types.Type | Undocumented |
variance:int | Undocumented |
mypy.nodes.SymbolNode.__slots__
mypy.nodes.ParamSpecExpr
, mypy.nodes.TypeVarExpr
Undocumented