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