DestructuringDecl constructor

DestructuringDecl({
  1. required Map<IdentifierExpr, TypeExpr?> ids,
  2. required bool isVector,
  3. required ASTNode initializer,
  4. bool isTopLevel = false,
  5. bool isMutable = false,
  6. bool hasEndOfStmtMark = false,
  7. HTSource? source,
  8. int line = 0,
  9. int column = 0,
  10. int offset = 0,
  11. int length = 0,
})

Implementation

DestructuringDecl({
  required this.ids,
  required this.isVector,
  required this.initializer,
  this.isTopLevel = false,
  this.isMutable = false,
  super.hasEndOfStmtMark = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.destructuringDeclaration);