API reference
python:arx:arx.parser.declarations.DeclarationParserMixin._append_argument
method _append_argument
_append_argument(args: astx.Arguments, arg_name: str, arg_type: astx.DataType, arg_loc: SourceLocation, mutability: astx.MutabilityKind) -> None
Source: packages/arx/src/arx/parser/declarations.py:229
Append one parsed argument, including an optional default.
Parameters
-
args — Arguments supplied to the operation.; Type: astx.Arguments
-
arg_name — Name of arg.; Type: str
-
arg_type — Type of arg.; Type: astx.DataType
-
arg_loc — Arg loc.; Type: SourceLocation
-
mutability — Mutability.; Type: astx.MutabilityKind
Returns
Type: None