API reference
python:astx:astx.OrOp
class OrOp
OrOp(lhs: DataType, rhs: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/types/operators.py:605
Declared as: python:astx:astx.types.operators.OrOp
AST class for logical OR operation.
Attributes
-
type_ — Type: ExprType
-
lhs — Type: DataType
-
rhs — Type: DataType
-
op_code — Type: str
-
mode — Type: NumericMode
-
kind — Type: ASTKind
Methods
- __init__ — Instantiate AST class for logical OR operation.