WhileStmt constructor

WhileStmt(
  1. ASTNode condition,
  2. BlockStmt loop, {
  3. bool isBlock = false,
  4. bool hasEndOfStmtMark = false,
  5. HTSource? source,
  6. int line = 0,
  7. int column = 0,
  8. int offset = 0,
  9. int length = 0,
})

Implementation

WhileStmt(
  this.condition,
  this.loop, {
  super.isBlock,
  super.hasEndOfStmtMark,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(
        InternalIdentifier.whileStatement,
        isAwait: condition.isAwait || loop.isAwait,
      );