class documentation

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_class Undocumented
Instance Variable is_final Undocumented
Instance Variable is_property Undocumented
Instance Variable is_static Undocumented
Instance Variable type Undocumented
Instance Variable unanalyzed_type 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_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_column Undocumented
Instance Variable end_line Undocumented
Instance Variable line Undocumented

Undocumented

is_class: bool = (source)

Undocumented

is_property: bool = (source)

Undocumented

is_static: bool = (source)

Undocumented

overridden in mypy.nodes.FuncItem

Undocumented

Undocumented

_fullname: str = (source)

Undocumented