API reference

python:astx:astx.types.BinaryOp

class BinaryOp

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

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

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

AST class for the binary operator.

Attributes

Methods

Attributes

Search documentation

Type to search.