class documentation
class CallableType(GenericType): (source)
Special generic type for a Callable that specifies its argument types. A Callable with N arguments has N+1 parameters. The first N parameters are the individual argument types, in the order of the arguments, and the last parameter is the return type.
Method | has |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Property | args |
Undocumented |
Property | ret |
Undocumented |
Inherited from GenericType
:
Class Variable | base |
Undocumented |
Class Variable | parameters |
Undocumented |
Property | element |
Type of the contained type, assuming we only have one type parameter. |
Property | name |
Undocumented |
Inherited from Node
(via GenericType
):
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 |
|
Undocumented |
Method |
|
Undocumented |
Method |
|
Undocumented |
Method |
|
Visitor interface for transforming a tree of nodes to a new tree. |
Method | _ |
Returns a tuple of the fields of self as a sort key. |
Class Variable | _name2item |
Undocumented |