EnumDecl constructor

EnumDecl(
  1. IdentifierExpr id,
  2. List<IdentifierExpr> enumerations, {
  3. String? classId,
  4. bool isExternal = false,
  5. bool isPrivate = false,
  6. bool isTopLevel = false,
  7. HTSource? source,
  8. int line = 0,
  9. int column = 0,
  10. int offset = 0,
  11. int length = 0,
})

Implementation

EnumDecl(
  this.id,
  this.enumerations, {
  this.classId,
  this.isExternal = false,
  this.isPrivate = false,
  this.isTopLevel = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.enumDeclaration);