ForRangeExpr constructor

ForRangeExpr(
  1. VarDecl iterator,
  2. ASTNode collection,
  3. BlockStmt loop, {
  4. bool hasBracket = false,
  5. bool iterateValue = false,
  6. bool isBlock = false,
  7. HTSource? source,
  8. int line = 0,
  9. int column = 0,
  10. int offset = 0,
  11. int length = 0,
})

Implementation

ForRangeExpr(
  this.iterator,
  this.collection,
  this.loop, {
  this.hasBracket = false,
  this.iterateValue = false,
  super.isBlock,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(
        InternalIdentifier.forRangeExpression,
        isAwait: collection.isAwait || loop.isAwait,
      );