API reference
python:astx:astx.operators.WalrusOp.__init__
method __init__
__init__(lhs: Variable, rhs: DataType, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/operators.py:44
Initialize the WalrusOp instance.
Parameters
-
lhs โ Left operand.; Type: Variable
-
rhs โ Right operand.; Type: DataType
-
loc โ Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None