ForPartsImpl constructor
ForPartsImpl({
- required Token leftSeparator,
- required ExpressionImpl? condition,
- required Token rightSeparator,
- required List<
ExpressionImpl> ? updaters,
Initialize a newly created for statement. Either the variableList
or the
initialization
must be null
. Either the condition
and the list of
updaters
can be null
if the loop does not have the corresponding
attribute.
Implementation
ForPartsImpl({
required this.leftSeparator,
required ExpressionImpl? condition,
required this.rightSeparator,
required List<ExpressionImpl>? updaters,
}) : _condition = condition {
_becomeParentOf(_condition);
_updaters._initialize(this, updaters);
}