TFPBinaryAndOperation class
Internally used class for binary AND logical operation
Declaration
TFPBinaryAndOperation = class(TFPBooleanOperation)Inheritance
- TFPBinaryAndOperation
- TFPBooleanOperation
- TFPBinaryOperation
- TFPExprNode
- TObject
Description
The TFPBinaryAndOperation class implements the logical AND operation between two boolean operands.
It extends TFPBooleanOperation to provide AND-specific functionality that evaluates to True only when both operands are True.
The operation uses short-circuit evaluation, meaning that if the left operand is False, the right operand is not evaluated since the result is already determined to be False. This optimization improves performance and can prevent evaluation of potentially expensive or problematic right 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.
See also
Methods
GetNodeValue | protected | |
AsString | public | Get string representation of AND operation |
Inherited
From TFPBinaryOperation (8)
CheckSameNodeTypes Create Destroy HasAggregate InitAggregate left Right 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.
