API reference
python:astx:astx.types.NotOp.__init__
method __init__
__init__(operand: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/types/operators.py:889
Declared as: python:astx:astx.types.operators.NotOp.__init__
Instantiate AST class for logical NOT operation.
Parameters
-
operand โ Type: DataType
-
loc โ Type: SourceLocation
-
parent โ Type: Optional[ASTNodes]