Sign in Join
FPDoc Onlineexperiment

TFPNotNode class

In unit fpExprPars

Internally used class for logical NOT operations

Declaration

pascal
TFPNotNode = class(TFPUnaryOperator)

Inheritance

  1. TFPNotNode
  2. TFPUnaryOperator
  3. TFPExprNode
  4. 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

CheckpublicValidate the NOT operation for correctness
NodeTypepublicGet the result type for NOT operations
GetNodeValuepublicCalculate the result of NOT operation
AsStringpublicGet string representation of NOT operation

Inherited

From TFPUnaryOperator (6)

Create Destroy HasAggregate InitAggregate Operand UpdateAggregate

From TFPExprNode (3)

CheckNodeType IsAggregate NodeValue

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.