API reference
python:astx:astx.XorOp
class XorOp
XorOp(lhs: DataType, rhs: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/types/operators.py:658
Declared as: python:astx:astx.types.operators.XorOp
AST class for logical XOR 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 XOR operation.