class ImportedName(SymbolNode): (source)
Indirect reference to a fullname stored in symbol table.
This node is not present in the original program as such. This is just a temporary artifact in binding imported names. After semantic analysis pass 2, these references should be replaced with direct reference to a real AST node.
Note that this is neither a Statement nor an Expression so this can't be visited.
| Class Method | deserialize |
Undocumented |
| Method | __init__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | serialize |
Undocumented |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | target_fullname |
Undocumented |
| Property | fullname |
Undocumented |
| Property | name |
Undocumented |
Inherited from Node (via SymbolNode):
| 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 |
mypy.nodes.SymbolNode.deserializeUndocumented
| Parameters | |
data:JsonDict | Undocumented |
| Returns | |
ImportedName | Undocumented |