API reference
python:astx:astx.types.BoolBinaryOp.__init__
method __init__
__init__(op_code: str, lhs: DataType, rhs: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/types/operators.py:433
Declared as: python:astx:astx.types.operators.BoolBinaryOp.__init__
Initialize the boolean binary operation.
Parameters
-
op_code — Type: str
-
lhs — Type: DataType
-
rhs — Type: DataType
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]