ForEachPartsWithIdentifierImpl constructor

ForEachPartsWithIdentifierImpl({
  1. required SimpleIdentifierImpl identifier,
  2. required Token inKeyword,
  3. required ExpressionImpl iterable,
})

Initialize a newly created for-each statement whose loop control variable is declared externally (outside the for-loop part).

Implementation

ForEachPartsWithIdentifierImpl({
  required SimpleIdentifierImpl identifier,
  required super.inKeyword,
  required super.iterable,
}) : _identifier = identifier {
  _becomeParentOf(_identifier);
}