[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for equality comparison operations
Source position: fpexprpars.pp line 198
type TFPEqualOperation = class(TFPBooleanResultOperation) |
||
public |
||
function AsString; override; |
|
Get string representation of equality operation |
end; |
|
Internally used class for equality comparison operations |
|
| | | ||
|
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 TFPEqualOperation class implements the equality comparison operation (=) between two operands of compatible types. It extends TFPBooleanResultOperation to provide equality-specific comparison logic.
The operation compares two values and returns True if they are equal, False otherwise. It handles different data types appropriately, using numeric equality for numbers, string comparison for strings, and boolean comparison for boolean values.
Type conversion is performed when necessary to compare values of different but compatible types (e.g., comparing an integer with a float).
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 |