ClassDecl constructor
ClassDecl(
- IdentifierExpr id,
- BlockStmt definition, {
- String? classId,
- List<
GenericTypeParameterExpr> genericTypeParameters = const [], - TypeExpr? superType,
- List<
NominalTypeExpr> implementsTypes = const [], - List<
NominalTypeExpr> withTypes = const [], - bool isExternal = false,
- bool isAbstract = false,
- bool isPrivate = false,
- bool isTopLevel = false,
- bool hasUserDefinedConstructor = false,
- bool lateResolve = true,
- HTSource? source,
- int line = 0,
- int column = 0,
- int offset = 0,
- int length = 0,
Implementation
ClassDecl(
this.id,
this.definition, {
this.classId,
this.genericTypeParameters = const [],
this.superType,
this.implementsTypes = const [],
this.withTypes = const [],
this.isExternal = false,
this.isAbstract = false,
this.isPrivate = false,
this.isTopLevel = false,
this.hasUserDefinedConstructor = false,
this.lateResolve = true,
super.source,
super.line = 0,
super.column = 0,
super.offset = 0,
super.length = 0,
}) : super(Semantic.classDeclaration);