[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for less-than comparison operations
Source position: fpexprpars.pp line 223
type TFPLessThanOperation = class(TFPOrderingOperation) |
||
public |
||
function AsString; override; |
|
Get string representation of less-than operation |
end; |
|
Internally used class for less-than comparison operations |
|
| | | ||
|
Internally used class for ordering 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 TFPLessThanOperation class implements the less-than comparison operation (<) between two operands of compatible types. It extends TFPOrderingOperation to provide less-than-specific comparison logic.
The operation compares two values and returns True if the left operand is less than the right operand, False otherwise. It handles different data types appropriately, using numeric comparison for numbers, lexicographic comparison for strings, and chronological comparison for date/time values.
Type conversion is performed when necessary to compare values of different but compatible types, ensuring proper ordering across numeric types.
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 |