Sign in Join
FPDoc Onlineexperiment

ttComparisons constant

In unit fpExprPars

Set of token types used for comparison operations

Declaration

pascal
ttComparisons = [ttLargerThan, ttLessthan, ttLargerThanEqual, ttLessthanEqual, ttEqual, ttUnequal]

Description

This constant set contains all TTokenType values that represent comparison operators in expressions. It includes equality, inequality, and ordering operators such as equal, unequal, less than, greater than, less than or equal, and greater than or equal.

The set is used by the parser to identify comparison operations and ensure proper precedence handling when evaluating expressions.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.