Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPOrderingOperation

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internally used class for ordering comparison operations

Declaration

Source position: fpexprpars.pp line 216

type TFPOrderingOperation = class(TFPBooleanResultOperation)

public

  procedure Check; override;

  

Validate the ordering operation for correctness

end;

Inheritance

TFPOrderingOperation

  

Internally used class for ordering comparison operations

|

TFPBooleanResultOperation

  

Internally used class for operations that result in boolean values

|

TFPBinaryOperation

  

Internally used class for binary operations with left and right operands

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

Description

The TFPOrderingOperation class is the base class for comparison operations that determine the ordering relationship between two values. It extends TFPBooleanResultOperation to provide the foundation for less-than, greater-than, and related comparison operations.

The class handles the common aspects of ordering comparisons such as type checking and ensuring that the operands can be meaningfully compared. It provides the framework for operations that determine relative order rather than equality.

Derived classes implement specific ordering operations like <, >, <=, and >= while leveraging the common ordering 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.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025