API reference
python:astx:astx.callables.Arguments
class Arguments
Arguments(*args: Argument, **kwargs: Any)
Source: packages/astx/src/astx/callables.py:96
AST class for argument definition.
Attributes
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
name — Type: str
-
nodes — Type: list[ASTType]
-
position — Type: int
Methods
-
__init__ — Initialize the arguments collection.
-
__str__ — Return a string that represents the object.
-
get_struct — Return the AST structure of the object.