class Function(ApiObject):
@property
, @classmethod
or @staticmethod
?).Class | Semantic |
A list of well-known properties and behaviour that can be attributed to a function. |
Class Variable | args |
Undocumented |
Class Variable | decorations |
Undocumented |
Class Variable | modifiers |
Undocumented |
Class Variable | return_type |
Undocumented |
Class Variable | semantic_hints |
Undocumented |
Inherited from ApiObject
:
Method | __post_init__ |
Undocumented |
Method | parent.setter |
Undocumented |
Method | sync_hierarchy |
No summary |
Class Variable | docstring |
Undocumented |
Class Variable | location |
Undocumented |
Class Variable | name |
Undocumented |
Instance Variable | parent |
Returns the parent of the #HasMembers. Note that if you make any modifications to the API object tree, you will need to call #sync_hierarchy() afterwards because adding to #Class.members or #Module.members does not automatically keep the #parent property in sync. |
Property | path |
Returns a list of all of this API object's parents, from top to bottom. The list includes self as the last item. |
Instance Variable | _parent |
Undocumented |