StructDecl constructor

StructDecl(
  1. IdentifierExpr id,
  2. List<ASTNode> definition, {
  3. IdentifierExpr? prototypeId,
  4. List<IdentifierExpr> mixinIds = const [],
  5. bool isPrivate = false,
  6. bool isTopLevel = false,
  7. bool isStatement = false,
  8. HTSource? source,
  9. int line = 0,
  10. int column = 0,
  11. int offset = 0,
  12. int length = 0,
})

Implementation

StructDecl(
  this.id,
  this.definition, {
  this.prototypeId,
  this.mixinIds = const [],
  this.isPrivate = false,
  this.isTopLevel = false,
  super.isStatement,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(
        InternalIdentifier.structDeclaration,
        isBlock: true,
      );