Method | __init__ |
Undocumented |
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. |
Class Variable | __slots__ |
Undocumented |
Instance Variable | initializer |
Undocumented |
Instance Variable | kind |
Undocumented |
Instance Variable | pos_only |
Undocumented |
Instance Variable | type_annotation |
Undocumented |
Instance Variable | variable |
Undocumented |
Inherited from Node
:
Method | __str__ |
Undocumented |
Method | accept |
Undocumented |
Inherited from Context
(via Node
):
Method | get_column |
Don't use. Use x.column. |
Method | get_line |
Don't use. Use x.line. |
Instance Variable | column |
Undocumented |
Instance Variable | end_line |
Undocumented |
Instance Variable | line |
Undocumented |
mypy.nodes.Context.__init__
Undocumented
Parameters | |
variable:Var | Undocumented |
type_annotation:Optional[ | Undocumented |
initializer:Optional[ | Undocumented |
kind:ArgKind | Undocumented |
pos_only:bool | Undocumented |
mypy.nodes.Context.set_line
Parameters | |
target:Union[ | Undocumented |
column:Optional[ | Undocumented |
end_line:Optional[ | Undocumented |