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:743
Declared as: python:astx:astx.types.operators.NotOp.__init__
Instantiate AST class for logical NOT operation.
Parameters
-
operand โ Operand.; Type: DataType
-
loc โ Source coordinates associated with the node.; Type: SourceLocation
-
parent โ Parent node or enclosing scope.; Type: Optional[ASTNodes]
Returns
Type: None