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

TFPExprNode.InitAggregate

Initialize aggregate processing for the node

Declaration

Source position: fpexprpars.pp line 121

public procedure TFPExprNode.InitAggregate; virtual;

Description

The InitAggregate virtual method initializes aggregate processing state for nodes that participate in aggregate operations. It is called at the beginning of an aggregate processing cycle to reset counters, accumulators, and other aggregate state.

For most expression nodes, this method does nothing (default implementation). However, nodes representing aggregate functions (like SUM, COUNT, AVG) override this method to initialize their aggregation state.


Documentation generated on: Dec 15 2025