API reference
python:astx:astx.callables.Argument.__init__
method __init__
__init__(name: str, type_: DataType, mutability: MutabilityKind = MutabilityKind.constant, default: Expr = UNDEFINED, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/callables.py:56
Initialize the VarExprAST instance.
Parameters
-
name — Type: str
-
type_ — Type: DataType
-
mutability — Type: MutabilityKind
-
default — Type: Expr
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]