Sign in Join
FPDoc Onlineexperiment

TFPExprNode.IsAggregate function

Member of TFPExprNodepublicIn unit fpExprPars

Check if this node represents an aggregate operation

Declaration

pascal
class function IsAggregate: Boolean; virtual

Function result

Returns true if the node is an aggregate

Description

The IsAggregate class method returns True if the node class represents an aggregate operation that requires special processing during expression evaluation. Most node types return False, indicating they are simple expression elements.

Aggregate nodes (like SUM, COUNT, AVG functions) return True to indicate they need to participate in the aggregate processing cycle with initialization and update phases.

The IsAggregate method allows the expression evaluator to identify which nodes need aggregate processing and to ensure proper handling of aggregate expressions.

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