Skip to content

TFPExprNode.IsAggregate

Check if this node represents an aggregate operation

Declaration

Source position: fpexprpars.pp line 123

public 
class function TFPExprNode.IsAggregate : Boolean;  virtual;

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.