[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for operations that result in boolean values
Source position: fpexprpars.pp line 188
type TFPBooleanResultOperation = class(TFPBinaryOperation) |
||
public |
||
procedure Check; override; |
|
Validate the boolean result operation |
function NodeType; override; |
|
Get the result type for boolean operations |
end; |
|
Internally used class for operations that result in boolean values |
|
| | | ||
|
Internally used class for binary operations with left and right operands |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
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.