class documentation
class FuncBase(Node): (source)
Known subclasses: mypy.nodes.FuncItem
, mypy.nodes.OverloadedFuncDef
Abstract base class for function-like nodes. N.B: Although this has SymbolNode subclasses (FuncDef, OverloadedFuncDef), avoid calling isinstance(..., FuncBase) on something that is typed as SymbolNode. This is to work around mypy bug #3603, in which mypy doesn't understand multiple inheritance very well, and will assume that a SymbolNode cannot be a FuncBase. Instead, test against SYMBOL_FUNCBASE_TYPES, which enumerates SymbolNode subclasses that are also FuncBase subclasses.
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | info |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | type |
Undocumented |
Instance Variable | unanalyzed |
Undocumented |
Property | fullname |
Undocumented |
Property | name |
Undocumented |
Instance Variable | _fullname |
Undocumented |
Inherited from Node
:
Method | __str__ |
Undocumented |
Method | accept |
Undocumented |
Inherited from Context
(via Node
):
Method | set |
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 |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | line |
Undocumented |
overrides
mypy.nodes.Context.__init__
overridden in
mypy.nodes.FuncItem
, mypy.nodes.OverloadedFuncDef
Undocumented
overrides
mypy.nodes.Node.__slots__
overridden in
mypy.nodes.FuncItem
, mypy.nodes.OverloadedFuncDef
Undocumented