HTNamedStruct constructor

HTNamedStruct({
  1. required String id,
  2. required HTInterpreter interpreter,
  3. required String fileName,
  4. required String moduleName,
  5. HTDeclarationNamespace? closure,
  6. String? prototypeId,
  7. List<String> mixinIds = const [],
  8. HTSource? source,
  9. bool isTopLevel = false,
  10. int? staticDefinitionIp,
  11. int? definitionIp,
})

Implementation

HTNamedStruct({
  required String id,
  required HTInterpreter interpreter,
  required String fileName,
  required String moduleName,
  super.closure,
  this.prototypeId,
  this.mixinIds = const [],
  super.source,
  super.isTopLevel = false,
  this.staticDefinitionIp,
  int? definitionIp,
}) : super(id: id) {
  this.interpreter = interpreter;
  this.fileName = fileName;
  this.moduleName = moduleName;
  this.definitionIp = definitionIp;
}