WhenStmt constructor

WhenStmt(
  1. Map<ASTNode, ASTNode> cases,
  2. ASTNode? elseBranch,
  3. ASTNode? condition, {
  4. bool isStatement = true,
  5. HTSource? source,
  6. int line = 0,
  7. int column = 0,
  8. int offset = 0,
  9. int length = 0,
})

Implementation

WhenStmt(
  this.cases,
  this.elseBranch,
  this.condition, {
  super.isStatement = true,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.whenStmt);