Initializer
init(source:parameter:accumulator:accumulatorType:defaultValue:body:)
Creates a new iterate expression.
init(source: any ATLExpression, parameter: String, accumulator: String, accumulatorType: String? = nil, defaultValue: any ATLExpression, body: any ATLExpression)
Parameters
source-
The source collection expression
parameter-
The iteration parameter name
accumulator-
The accumulator variable name
accumulatorType-
The accumulator type (optional)
defaultValue-
The default value for the accumulator
body-
The body expression