class documentation

class OverloadedFuncDef(FuncBase, SymbolNode, Statement): (source)

View In Hierarchy

A logical node representing all the variants of a multi-declaration function.

A multi-declaration function is often an @overload, but can also be a @property with a setter and a/or a deleter.

This node has no explicit representation in the source program. Overloaded variants must be consecutive in the source file.

Class Method deserialize Undocumented
Method __init__ Undocumented
Method accept Undocumented
Method serialize Undocumented
Class Variable __slots__ Undocumented
Instance Variable impl Undocumented
Instance Variable is​_final Undocumented
Instance Variable items Undocumented
Instance Variable unanalyzed​_items Undocumented
Property name Undocumented

Inherited from FuncBase:

Instance Variable info Undocumented
Instance Variable is​_class Undocumented
Instance Variable is​_property Undocumented
Instance Variable is​_static Undocumented
Instance Variable type Undocumented
Instance Variable unanalyzed​_type Undocumented
Property fullname Undocumented
Instance Variable _fullname Undocumented

Inherited from Node (via FuncBase):

Method __str__ Undocumented

Inherited from Context (via FuncBase, 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

Inherited from SymbolNode:

Property fullname Undocumented

Inherited from Node (via SymbolNode):

Method __str__ 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

Inherited from Node (via Statement):

Method __str__ Undocumented

Inherited from Context (via Statement, 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
@classmethod
def deserialize(cls, data): (source)

Undocumented

Parameters
data:JsonDictUndocumented
Returns
OverloadedFuncDefUndocumented
def __init__(self, items): (source)

Undocumented

Parameters
items:List[OverloadPart]Undocumented
def accept(self, visitor): (source)

Undocumented

Parameters
visitor:StatementVisitor[T]Undocumented
Returns
TUndocumented
def serialize(self): (source)

Undocumented

Returns
JsonDictUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

impl = (source)

Undocumented

is_final: bool = (source)

Undocumented

items = (source)

Undocumented

unanalyzed_items = (source)

Undocumented

@property
name: str = (source)

Undocumented