API reference

python:astx:astx.BinaryOp.__init__

method __init__

__init__(op_code: str, lhs: DataType, rhs: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None, *, mode: NumericMode = NumericMode.CHECKED) -> None

Source: packages/astx/src/astx/types/operators.py:333

Declared as: python:astx:astx.types.operators.BinaryOp.__init__

Initialize the BinaryOp instance.

Parameters

Search documentation

Type to search.