[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for boolean operations in expressions
Source position: fpexprpars.pp line 154
type TFPBooleanOperation = class(TFPBinaryOperation) |
||
public |
||
procedure Check; override; |
|
Validate the boolean operation for correctness |
function NodeType; override; |
|
Get the result type for boolean operations |
end; |
|
Internally used class for boolean operations in expressions |
|
| | | ||
|
Internally used class for binary operations with left and right operands |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
TFPBooleanOperation is the base class for binary operations that work with boolean operands and produce boolean results. It extends TFPBinaryOperation to provide boolean-specific functionality and validation.
The class ensures that both operands are boolean expressions and provides the framework for logical operations such as AND, OR, and XOR. It handles type validation to ensure that only boolean values participate in logical operations.
Derived classes implement specific boolean operations while leveraging the common boolean operation infrastructure for validation and type management.
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.
|
Class for representing nodes in expression trees |