class NewTypeExpr(Expression): (source)
Method | __init__ |
Undocumented |
Method | accept |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | info |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | old_type |
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__
Undocumented
Parameters | |
name:str | Undocumented |
old_type:Optional[ | Undocumented |
line:int | Undocumented |
column:int | Undocumented |
mypy.nodes.Expression.accept
Undocumented
Parameters | |
visitor:ExpressionVisitor[ | Undocumented |
Returns | |
T | Undocumented |