TFPBooleanResultOperation class
Internally used class for operations that result in boolean values
Declaration
TFPBooleanResultOperation = class(TFPBinaryOperation)Inheritance
- TFPBooleanResultOperation
- TFPBinaryOperation
- TFPExprNode
- TObject
Descends from it: TFPEqualOperation TFPOrderingOperation
Description
The TFPBooleanResultOperation class serves as the base class for binary operations that produce boolean results but may accept non-boolean operands.
It extends TFPBinaryOperation to provide the framework for comparison and relational operations.
Unlike TFPBooleanOperation which requires boolean operands, this class allows various operand types while ensuring the result is always boolean. This makes it suitable for comparison operations like equality, less than, greater than, etc.
The class provides the infrastructure for operations that compare values of compatible types and return boolean results indicating the relationship between the operands.
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.
Methods
Check | public | Validate the boolean result operation |
NodeType | public | Get the result type for boolean operations |
Inherited
From TFPBinaryOperation (8)
CheckSameNodeTypes Create Destroy HasAggregate InitAggregate left Right UpdateAggregate
From TFPExprNode (5)
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.
