TFPNotNode class
Internally used class for logical NOT operations
Declaration
TFPNotNode = class(TFPUnaryOperator)Inheritance
- TFPNotNode
- TFPUnaryOperator
- TFPExprNode
- TObject
Description
The TFPNotNode class implements the logical NOT operation that inverts a boolean value.
It extends TFPUnaryOperator to provide NOT-specific functionality that converts True to False and False to True.
The NOT operation requires that its operand evaluates to a boolean value. It performs the logical inversion of the boolean result, providing the fundamental logical negation operation for boolean expressions.
This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.
See also
Methods
Check | public | Validate the NOT operation for correctness |
NodeType | public | Get the result type for NOT operations |
GetNodeValue | public | Calculate the result of NOT operation |
AsString | public | Get string representation of NOT operation |
Inherited
From TFPUnaryOperator (6)
Create Destroy HasAggregate InitAggregate Operand UpdateAggregate
From TFPExprNode (3)
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
