class documentation

class Parameter(Node): (source)

View In Hierarchy

Represents a parameter of a function definition. Attributes: name: The name of the parameter. type: The type of the parameter. kind: The kind of parameter (e.g., ParameterKind.KWONLY). optional: If the parameter is optional. mutated_type: The type the parameter will have after the function is called if the type is mutated, None otherwise.

Class Variable kind Undocumented
Class Variable mutated_type Undocumented
Class Variable name Undocumented
Class Variable optional Undocumented
Class Variable type 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
mutated_type: Optional[Type] = (source)

Undocumented

Undocumented

optional: bool = (source)

Undocumented

Undocumented