class documentation

class Function(Node): (source)

View In Hierarchy

A function or a method, defined by one or more PyTD signatures. Attributes: name: The name of this function. signatures: Tuple of possible parameter type combinations for this function. kind: The kind of function (e.g., MethodKind.STATICMETHOD). flags: A bitfield of flags like is_abstract

Method with_flag Return a copy of self with flag set to value.
Class Variable kind Undocumented
Class Variable name Undocumented
Class Variable signatures Undocumented
Property is_abstract Undocumented
Property is_coroutine Undocumented
Property is_final Undocumented

Inherited from Node:

Method __ge__ Undocumented
Method __gt__ Larger than other node? Define so we can have deterministic ordering.
Method __iter__ Undocumented
Method __le__ Undocumented
Method __lt__ Smaller than other node? Define so we can have deterministic ordering.
Method IterChildren Undocumented
Method PopulateLookupCache Undocumented
Method Replace Undocumented
Method Visit Visitor interface for transforming a tree of nodes to a new tree.
Class Variable __slots__ Undocumented
Method _ToTuple Returns a tuple of the fields of self as a sort key.
Class Variable _name2item Undocumented
def with_flag(self, flag, value): (source)

Return a copy of self with flag set to value.

Undocumented

Undocumented

signatures: Tuple[Signature, ...] = (source)

Undocumented

@property
is_abstract = (source)

Undocumented

@property
is_coroutine = (source)

Undocumented

Undocumented