@artel/artc 0.6.25228 → 0.6.25229

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +2 -2
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +55 -56
  5. package/build/{chunk-F5OW64UA.js → chunk-2FHW6RUS.js} +1 -1
  6. package/build/{chunk-FHJJX7JY.js → chunk-4UBNOTKC.js} +2 -2
  7. package/build/{chunk-5GSDYTF6.js → chunk-6YPLDA76.js} +578 -548
  8. package/build/types/analysis/Analyzer.d.ts +3 -3
  9. package/build/types/analysis/DiagnosticCollector.d.ts +1 -1
  10. package/build/types/analysis/ModifierFlags.d.ts +5 -6
  11. package/build/types/diagnostic/DiagnosticCode.d.ts +25 -26
  12. package/build/types/emitter/Entities.d.ts +4 -4
  13. package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
  14. package/build/types/entities/FunctionEntity.d.ts +8 -8
  15. package/build/types/entities/IndexerEntity.d.ts +4 -4
  16. package/build/types/entities/OperatorEntity.d.ts +4 -4
  17. package/build/types/entities/VariableEntity.d.ts +12 -12
  18. package/build/types/project/SourcePackage.d.ts +3 -1
  19. package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
  20. package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +2 -0
  21. package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +2 -0
  22. package/build/types/tree/KeywordKind.d.ts +21 -22
  23. package/build/types/tree/green/BaseNode.d.ts +3 -1
  24. package/build/types/tree/green/Nodes.d.ts +1 -1
  25. package/build/types/tree/red/BaseNode.d.ts +2 -1
  26. package/build/types/tree/red/Nodes.d.ts +1 -1
  27. package/build/types/ts-interop/Entities.d.ts +12 -12
  28. package/package.json +1 -1
package/build/Cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-FHJJX7JY.js";
5
- import "./chunk-F5OW64UA.js";
4
+ } from "./chunk-4UBNOTKC.js";
5
+ import "./chunk-2FHW6RUS.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-5GSDYTF6.js";
8
+ } from "./chunk-6YPLDA76.js";
9
9
 
10
10
  // source/Cli.ts
11
11
  function main() {
package/build/api/Api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "../chunk-F5OW64UA.js";
3
+ } from "../chunk-2FHW6RUS.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedFunctionValueParameter,
@@ -313,7 +313,7 @@ import {
313
313
  withoutQuotes,
314
314
  withoutTemplateQuotes,
315
315
  yieldExecution
316
- } from "../chunk-5GSDYTF6.js";
316
+ } from "../chunk-6YPLDA76.js";
317
317
  export {
318
318
  AccessKind,
319
319
  AccessedFunctionValueParameter,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-FHJJX7JY.js";
10
- import "../chunk-F5OW64UA.js";
11
- import "../chunk-5GSDYTF6.js";
9
+ } from "../chunk-4UBNOTKC.js";
10
+ import "../chunk-2FHW6RUS.js";
11
+ import "../chunk-6YPLDA76.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -182,7 +182,7 @@ import {
182
182
  unwrapParenthesizedExpressions,
183
183
  visitChildren,
184
184
  yieldExecution
185
- } from "../chunk-5GSDYTF6.js";
185
+ } from "../chunk-6YPLDA76.js";
186
186
 
187
187
  // source/services/CustomCommand.ts
188
188
  import * as ls from "vscode-languageserver";
@@ -545,7 +545,7 @@ var SyntaxFactory = class {
545
545
  static packageVariableGetterDeclaration(tags, modifiers, name, typeSpecifier, body) {
546
546
  const tagList = new TagList(tags);
547
547
  const modifierList = new ModifierList(modifiers);
548
- const getKeyword = this.keyword(59 /* Get */);
548
+ const getKeyword = this.keyword(58 /* Get */);
549
549
  const nameIdentifier = this.createIdentifier(name);
550
550
  const typeAnnotation = this.typeAnnotation(typeSpecifier);
551
551
  return new PackageVariableGetterDeclaration(
@@ -560,7 +560,7 @@ var SyntaxFactory = class {
560
560
  static packageVariableSetterDeclaration(tags, modifiers, name, body) {
561
561
  const tagList = new TagList(tags);
562
562
  const modifierList = new ModifierList(modifiers);
563
- const setKeyword = this.keyword(60 /* Set */);
563
+ const setKeyword = this.keyword(59 /* Set */);
564
564
  const nameIdentifier = this.createIdentifier(name);
565
565
  return new PackageVariableSetterDeclaration(tagList, modifierList, setKeyword, nameIdentifier, body);
566
566
  }
@@ -607,7 +607,7 @@ var SyntaxFactory = class {
607
607
  static fieldGetterDeclaration(tags, modifiers, name, typeSpecifier, body) {
608
608
  const tagList = new TagList(tags);
609
609
  const modifierList = new ModifierList(modifiers);
610
- const getKeyword = this.keyword(59 /* Get */);
610
+ const getKeyword = this.keyword(58 /* Get */);
611
611
  const nameIdentifier = this.createIdentifier(name);
612
612
  const typeAnnotation = this.typeAnnotation(typeSpecifier);
613
613
  return new FieldGetterDeclaration(
@@ -622,7 +622,7 @@ var SyntaxFactory = class {
622
622
  static fieldSetterDeclaration(tags, modifiers, name, body) {
623
623
  const tagList = new TagList(tags);
624
624
  const modifierList = new ModifierList(modifiers);
625
- const setKeyword = this.keyword(60 /* Set */);
625
+ const setKeyword = this.keyword(59 /* Set */);
626
626
  const nameIdentifier = this.createIdentifier(name);
627
627
  return new FieldSetterDeclaration(tagList, modifierList, setKeyword, nameIdentifier, body);
628
628
  }
@@ -655,14 +655,14 @@ var SyntaxFactory = class {
655
655
  static destructorDeclaration(tags, modifiers, parameters, body) {
656
656
  const tagList = new TagList(tags);
657
657
  const modifierList = new ModifierList(modifiers);
658
- const destructionKeyword = this.keyword(48 /* Destruction */);
658
+ const destructionKeyword = this.keyword(47 /* Destruction */);
659
659
  const parameterClause = this.parameterClause(parameters);
660
660
  return new DestructorDeclaration(tagList, modifierList, destructionKeyword, parameterClause, body);
661
661
  }
662
662
  static indexedElementGetterDeclaration(tags, modifiers, parameters, typeSpecifier, body) {
663
663
  const tagList = new TagList(tags);
664
664
  const modifierList = new ModifierList(modifiers);
665
- const getKeyword = this.keyword(59 /* Get */);
665
+ const getKeyword = this.keyword(58 /* Get */);
666
666
  const parameterClause = this.indexParameterClause(parameters);
667
667
  const typeAnnotation = this.typeAnnotation(typeSpecifier);
668
668
  return new IndexedElementGetterDeclaration(
@@ -677,7 +677,7 @@ var SyntaxFactory = class {
677
677
  static indexedElementSetterDeclaration(tags, modifiers, parameters, body) {
678
678
  const tagList = new TagList(tags);
679
679
  const modifierList = new ModifierList(modifiers);
680
- const getKeyword = this.keyword(60 /* Set */);
680
+ const getKeyword = this.keyword(59 /* Set */);
681
681
  const parameterClause = this.indexParameterClause(parameters);
682
682
  return new IndexedElementSetterDeclaration(tagList, modifierList, getKeyword, parameterClause, body);
683
683
  }
@@ -845,7 +845,7 @@ var SyntaxFactory = class {
845
845
  return new FunctionBlock(openBraceToken, statementList, closeBraceToken);
846
846
  }
847
847
  static noneLiteral() {
848
- return new KeywordExpression(this.keyword(58 /* None */));
848
+ return new KeywordExpression(this.keyword(57 /* None */));
849
849
  }
850
850
  static integerLiteral(value) {
851
851
  return new TokenExpression(this.token(2 /* IntegerLiteral */, value.toString()));
@@ -853,7 +853,7 @@ var SyntaxFactory = class {
853
853
  static translationsDeclaration(translations) {
854
854
  const tagList = new TagList([]);
855
855
  const modifierList = new ModifierList([]);
856
- const translationsKeyword = this.keyword(56 /* Translations */);
856
+ const translationsKeyword = this.keyword(55 /* Translations */);
857
857
  const openBraceToken = this.token(43 /* OpenBrace */);
858
858
  const translationList = new TopLevelTranslationList(translations);
859
859
  const closeBraceToken = this.token(20 /* CloseBrace */);
@@ -2163,13 +2163,12 @@ var SyntaxToCode = class _SyntaxToCode {
2163
2163
  };
2164
2164
  var modifierSortOrder = {
2165
2165
  [37 /* Hidden */]: 0,
2166
- [42 /* Static */]: 1,
2166
+ [41 /* Static */]: 1,
2167
2167
  [17 /* Basic */]: 2,
2168
- [39 /* Redefinable */]: 3,
2169
- [38 /* Abstract */]: 4,
2170
- [40 /* Redefined */]: 5,
2171
- [41 /* Async */]: 6,
2172
- [36 /* Const */]: 7
2168
+ [38 /* Abstract */]: 3,
2169
+ [39 /* Redefined */]: 4,
2170
+ [40 /* Async */]: 5,
2171
+ [36 /* Const */]: 6
2173
2172
  };
2174
2173
 
2175
2174
  // source/services/TreeUtils.ts
@@ -2349,7 +2348,7 @@ var TranslationsGenerationService = class {
2349
2348
  result = generator.generateMissingTypeMemberTranslations(tokenOrKeyword.parent);
2350
2349
  }
2351
2350
  }
2352
- if (result === void 0 && tokenOrKeyword.isKeyword(56 /* Translations */) && tokenOrKeyword.parent.kind === 21 /* TranslationsDeclaration */) {
2351
+ if (result === void 0 && tokenOrKeyword.isKeyword(55 /* Translations */) && tokenOrKeyword.parent.kind === 21 /* TranslationsDeclaration */) {
2353
2352
  const translationPackage = analyzer.getAnalyzedTranslationPackageIfTargetResolved(sourceFile.package);
2354
2353
  if (translationPackage !== void 0) {
2355
2354
  const generator = new TranslationsGenerator(
@@ -2375,7 +2374,7 @@ var TranslationsGenerationService = class {
2375
2374
  if (tokenOrKeyword === void 0) {
2376
2375
  return false;
2377
2376
  }
2378
- if (!(tokenOrKeyword.isKeyword(56 /* Translations */) && tokenOrKeyword.parent.kind === 21 /* TranslationsDeclaration */)) {
2377
+ if (!(tokenOrKeyword.isKeyword(55 /* Translations */) && tokenOrKeyword.parent.kind === 21 /* TranslationsDeclaration */)) {
2379
2378
  return false;
2380
2379
  }
2381
2380
  const translationPackage = analyzer.getAnalyzedTranslationPackageIfTargetResolved(sourceFile.package);
@@ -3650,22 +3649,22 @@ var CompletionService = class {
3650
3649
  }
3651
3650
  const kinds = /* @__PURE__ */ new Set();
3652
3651
  if (syntaxContext.isPackageMemberDeclarationListContext) {
3653
- kinds.add(18 /* Import */).add(7 /* Run */).add(31 /* Creation */).add(12 /* Function */).add(17 /* Basic */).add(16 /* Type */).add(59 /* Get */).add(60 /* Set */).add(56 /* Translations */);
3652
+ kinds.add(18 /* Import */).add(7 /* Run */).add(31 /* Creation */).add(12 /* Function */).add(17 /* Basic */).add(16 /* Type */).add(58 /* Get */).add(59 /* Set */).add(55 /* Translations */);
3654
3653
  }
3655
3654
  if (syntaxContext.isPackageMemberDeclarationListContext || syntaxContext.isTypeMemberDeclarationListContext) {
3656
- kinds.add(37 /* Hidden */).add(42 /* Static */).add(39 /* Redefinable */).add(38 /* Abstract */).add(40 /* Redefined */).add(41 /* Async */).add(36 /* Const */);
3655
+ kinds.add(37 /* Hidden */).add(41 /* Static */).add(17 /* Basic */).add(38 /* Abstract */).add(39 /* Redefined */).add(40 /* Async */).add(36 /* Const */);
3657
3656
  }
3658
3657
  if (syntaxContext.isTypeMemberDeclarationListContext) {
3659
- kinds.add(31 /* Creation */).add(12 /* Function */).add(48 /* Destruction */).add(59 /* Get */).add(60 /* Set */);
3658
+ kinds.add(31 /* Creation */).add(12 /* Function */).add(47 /* Destruction */).add(58 /* Get */).add(59 /* Set */);
3660
3659
  }
3661
3660
  if (syntaxContext.isStatementContext) {
3662
- kinds.add(7 /* Run */).add(35 /* For */).add(25 /* While */).add(26 /* Loop */).add(15 /* Return */).add(20 /* Error */).add(19 /* Important */).add(28 /* Yield */).add(33 /* BreakLoop */).add(34 /* ContinueLoop */).add(13 /* If */).add(45 /* Switch */).add(1 /* Let */).add(36 /* Const */).add(47 /* Dispose */).add(8 /* Try */).add(12 /* Function */).add(41 /* Async */);
3661
+ kinds.add(7 /* Run */).add(35 /* For */).add(25 /* While */).add(26 /* Loop */).add(15 /* Return */).add(20 /* Error */).add(19 /* Important */).add(28 /* Yield */).add(33 /* BreakLoop */).add(34 /* ContinueLoop */).add(13 /* If */).add(44 /* Switch */).add(1 /* Let */).add(36 /* Const */).add(46 /* Dispose */).add(8 /* Try */).add(12 /* Function */).add(40 /* Async */);
3663
3662
  }
3664
3663
  if (this.isFromKeywordContext(positionDescription)) {
3665
3664
  kinds.add(9 /* From */);
3666
3665
  }
3667
3666
  if (syntaxContext.isExpressionContext !== void 0) {
3668
- kinds.add(44 /* Not */).add(53 /* Yes */).add(54 /* No */).add(58 /* None */).add(41 /* Async */).add(12 /* Function */).add(55 /* Reference */).add(2 /* Autotype */).add(30 /* Cond */);
3667
+ kinds.add(43 /* Not */).add(52 /* Yes */).add(53 /* No */).add(57 /* None */).add(40 /* Async */).add(12 /* Function */).add(54 /* Reference */).add(2 /* Autotype */).add(30 /* Cond */);
3669
3668
  if (positionDescription.kind === "after-token-or-keyword") {
3670
3669
  const container = semanticContext.getContainingTypeOrTypeExtension();
3671
3670
  if (container !== void 0) {
@@ -3673,17 +3672,17 @@ var CompletionService = class {
3673
3672
  if (container.kind === "type") {
3674
3673
  const typeEntity = container.value;
3675
3674
  if (typeEntity?.typeEntityKind === 1 /* Structured */ && typeEntity.getBaseObjectType() !== void 0 || typeEntity?.typeEntityKind === 3 /* Variant */ || typeEntity?.typeEntityKind === 4 /* Alias */) {
3676
- kinds.add(57 /* Base */);
3675
+ kinds.add(56 /* Base */);
3677
3676
  }
3678
3677
  }
3679
3678
  }
3680
3679
  }
3681
3680
  }
3682
3681
  if (this.isTypeKindCompletionContext(positionDescription)) {
3683
- kinds.add(4 /* Object */).add(5 /* PlainObject */).add(3 /* Aspect */).add(6 /* Variant */).add(12 /* Function */).add(41 /* Async */);
3682
+ kinds.add(4 /* Object */).add(5 /* PlainObject */).add(3 /* Aspect */).add(6 /* Variant */).add(12 /* Function */).add(40 /* Async */);
3684
3683
  }
3685
3684
  if (this.isCaseKeywordContext(positionDescription, syntaxContext)) {
3686
- kinds.add(46 /* Case */);
3685
+ kinds.add(45 /* Case */);
3687
3686
  }
3688
3687
  if (this.isCatchKeywordContext(positionDescription)) {
3689
3688
  kinds.add(32 /* Catch */);
@@ -3695,18 +3694,18 @@ var CompletionService = class {
3695
3694
  kinds.add(10 /* Else */).add(11 /* ElseIf */);
3696
3695
  }
3697
3696
  if (syntaxContext.precedingExpression !== void 0) {
3698
- kinds.add(43 /* As */).add(14 /* Is */).add(22 /* And */).add(23 /* Or */).add(24 /* Xor */).add(29 /* When */);
3697
+ kinds.add(42 /* As */).add(14 /* Is */).add(22 /* And */).add(23 /* Or */).add(24 /* Xor */).add(29 /* When */);
3699
3698
  }
3700
3699
  if (this.isModifierLevelContext(positionDescription)) {
3701
- kinds.add(52 /* InType */).add(49 /* InHierarchy */).add(50 /* InFile */).add(51 /* InPackage */);
3700
+ kinds.add(51 /* InType */).add(48 /* InHierarchy */).add(49 /* InFile */).add(50 /* InPackage */);
3702
3701
  }
3703
3702
  if (this.isRepeatWhileKeywordContext(positionDescription)) {
3704
3703
  kinds.add(27 /* RepeatWhile */);
3705
3704
  }
3706
3705
  if (syntaxContext.isUnqualifiedTypeContext?.allowsAnonymousTypes === true) {
3707
- kinds.add(5 /* PlainObject */).add(4 /* Object */).add(6 /* Variant */).add(3 /* Aspect */).add(12 /* Function */).add(41 /* Async */);
3706
+ kinds.add(5 /* PlainObject */).add(4 /* Object */).add(6 /* Variant */).add(3 /* Aspect */).add(12 /* Function */).add(40 /* Async */);
3708
3707
  }
3709
- if (positionDescription.kind === "after-token-or-keyword" && positionDescription.tokenOrKeyword.isKeyword(41 /* Async */) && (positionDescription.tokenOrKeyword.parent.kind === 58 /* NestedFunctionDeclaration */ || positionDescription.tokenOrKeyword.parent.kind === 74 /* FunctionLiteral */ || positionDescription.tokenOrKeyword.parent.kind === 29 /* FunctionTypeDeclarationBody */)) {
3708
+ if (positionDescription.kind === "after-token-or-keyword" && positionDescription.tokenOrKeyword.isKeyword(40 /* Async */) && (positionDescription.tokenOrKeyword.parent.kind === 58 /* NestedFunctionDeclaration */ || positionDescription.tokenOrKeyword.parent.kind === 74 /* FunctionLiteral */ || positionDescription.tokenOrKeyword.parent.kind === 29 /* FunctionTypeDeclarationBody */)) {
3710
3709
  kinds.add(12 /* Function */);
3711
3710
  }
3712
3711
  return Query.from(kinds.values()).map(
@@ -5423,7 +5422,7 @@ var SyntaxContextFactory = class {
5423
5422
  return { isExpressionContext: void 0, isStatementContext: false };
5424
5423
  }
5425
5424
  }
5426
- if (tokenOrKeyword.isKeyword(46 /* Case */) && tokenOrKeyword.parent.kind === 121 /* CaseClause */) {
5425
+ if (tokenOrKeyword.isKeyword(45 /* Case */) && tokenOrKeyword.parent.kind === 121 /* CaseClause */) {
5427
5426
  const expressionRole = new ExpressionRole_matchListElement(tokenOrKeyword.parent.parent.parent);
5428
5427
  return { isExpressionContext: { expressionRole }, isStatementContext: false };
5429
5428
  }
@@ -5439,7 +5438,7 @@ var SyntaxContextFactory = class {
5439
5438
  const expressionRole = new ExpressionRole_other(tokenOrKeyword.parent.expression);
5440
5439
  return { isExpressionContext: { expressionRole }, isStatementContext: false };
5441
5440
  }
5442
- if (tokenOrKeyword.isKeyword(45 /* Switch */) && tokenOrKeyword.parent.kind === 119 /* SwitchStatement */) {
5441
+ if (tokenOrKeyword.isKeyword(44 /* Switch */) && tokenOrKeyword.parent.kind === 119 /* SwitchStatement */) {
5443
5442
  const expressionRole = new ExpressionRole_other(tokenOrKeyword.parent.expression);
5444
5443
  return { isExpressionContext: { expressionRole }, isStatementContext: false };
5445
5444
  }
@@ -5609,7 +5608,7 @@ var SyntaxContextFactory = class {
5609
5608
  if (tokenOrKeyword.isKeyword(14 /* Is */) && tokenOrKeyword.parent.kind === 73 /* IsExpression */) {
5610
5609
  return { allowsAnonymousTypes: true };
5611
5610
  }
5612
- if (tokenOrKeyword.isKeyword(43 /* As */) && tokenOrKeyword.parent.kind === 65 /* AsExpression */) {
5611
+ if (tokenOrKeyword.isKeyword(42 /* As */) && tokenOrKeyword.parent.kind === 65 /* AsExpression */) {
5613
5612
  return { allowsAnonymousTypes: true };
5614
5613
  }
5615
5614
  if (tokenOrKeyword.isToken(17 /* Bar */) && tokenOrKeyword.parent.kind === 11 /* UnionTypeSpecifier */) {
@@ -5822,7 +5821,7 @@ var NodeSemanticInfoService = class {
5822
5821
  return this.ofDefaultMatchExpression(analyzer, tokenOrKeyword.parent);
5823
5822
  } else if (tokenOrKeyword.isKeyword(4 /* Object */) && tokenOrKeyword.parent.kind === 86 /* ObjectExpression */) {
5824
5823
  return this.ofObjectExpression(analyzer, tokenOrKeyword.parent, options6);
5825
- } else if (tokenOrKeyword.isKeyword(57 /* Base */) && tokenOrKeyword.parent.kind === 87 /* BaseExpression */) {
5824
+ } else if (tokenOrKeyword.isKeyword(56 /* Base */) && tokenOrKeyword.parent.kind === 87 /* BaseExpression */) {
5826
5825
  return this.ofBaseExpression(analyzer, tokenOrKeyword.parent, options6);
5827
5826
  } else if ((tokenOrKeyword.isToken(45 /* OpenSquareBracket */) || tokenOrKeyword.isToken(22 /* CloseSquareBracket */)) && tokenOrKeyword.parent.kind === 49 /* IndexParameterClause */) {
5828
5827
  return this.ofIndexedElementAccessorDeclaration(analyzer, tokenOrKeyword.parent.parent);
@@ -8076,7 +8075,7 @@ var HoverService = class {
8076
8075
  const typeText = this._displayService.displayType(firstTarget.value.type);
8077
8076
  return new Hover(`${keywordText}: ${typeText}`, range);
8078
8077
  } else if (firstTarget.value.typeContextKind === "base") {
8079
- const keywordText = this._displayService.displayKeyword(57 /* Base */);
8078
+ const keywordText = this._displayService.displayKeyword(56 /* Base */);
8080
8079
  const typeText = this._displayService.displayType(firstTarget.value.type);
8081
8080
  return new Hover(`${keywordText}: ${typeText}`, range);
8082
8081
  } else {
@@ -8403,21 +8402,21 @@ var SourceFileItemsService = class {
8403
8402
  case 10 /* Constructor */:
8404
8403
  return name ?? LocalizationHelper.localizeKeywordAndTakeFirst(31 /* Creation */, this.locale, this.dialect);
8405
8404
  case 11 /* Destructor */:
8406
- return name ?? LocalizationHelper.localizeKeywordAndTakeFirst(48 /* Destruction */, this.locale, this.dialect);
8405
+ return name ?? LocalizationHelper.localizeKeywordAndTakeFirst(47 /* Destruction */, this.locale, this.dialect);
8407
8406
  case 9 /* Variant */:
8408
8407
  return name ?? `<${LocalizationHelper.localizeKeywordAndTakeFirst(6 /* Variant */, this.locale, this.dialect)}>`;
8409
8408
  case 18 /* TypeParameter */:
8410
8409
  return name ?? `<${LocalizationHelper.localizeHelperPhrase(2 /* TypeParameter */, this.locale)}>`;
8411
8410
  case 2 /* PackageVariableGetter */:
8412
8411
  case 13 /* FieldGetter */:
8413
- return `${LocalizationHelper.localizeKeywordAndTakeFirst(59 /* Get */, this.locale, this.dialect)} ${name ?? ""}`;
8412
+ return `${LocalizationHelper.localizeKeywordAndTakeFirst(58 /* Get */, this.locale, this.dialect)} ${name ?? ""}`;
8414
8413
  case 3 /* PackageVariableSetter */:
8415
8414
  case 14 /* FieldSetter */:
8416
- return `${LocalizationHelper.localizeKeywordAndTakeFirst(60 /* Set */, this.locale, this.dialect)} ${name ?? ""}`;
8415
+ return `${LocalizationHelper.localizeKeywordAndTakeFirst(59 /* Set */, this.locale, this.dialect)} ${name ?? ""}`;
8417
8416
  case 16 /* IndexedElementGetter */:
8418
- return `${LocalizationHelper.localizeKeywordAndTakeFirst(59 /* Get */, this.locale, this.dialect)} []`;
8417
+ return `${LocalizationHelper.localizeKeywordAndTakeFirst(58 /* Get */, this.locale, this.dialect)} []`;
8419
8418
  case 17 /* IndexedElementSetter */:
8420
- return `${LocalizationHelper.localizeKeywordAndTakeFirst(60 /* Set */, this.locale, this.dialect)} []`;
8419
+ return `${LocalizationHelper.localizeKeywordAndTakeFirst(59 /* Set */, this.locale, this.dialect)} []`;
8421
8420
  default:
8422
8421
  Debug.never(kind);
8423
8422
  }
@@ -11902,7 +11901,7 @@ var EntityToSyntax = class {
11902
11901
  const tags = this.convertTags(entity.getTags());
11903
11902
  const modifiers = new Array();
11904
11903
  if (entity.isAsync()) {
11905
- modifiers.push(SyntaxFactory.modifier(41 /* Async */));
11904
+ modifiers.push(SyntaxFactory.modifier(40 /* Async */));
11906
11905
  }
11907
11906
  const isHidden = entity.isHidden();
11908
11907
  if (isHidden !== void 0) {
@@ -11987,16 +11986,16 @@ var EntityToSyntax = class {
11987
11986
  commonModifiers.push(SyntaxFactory.modifier(36 /* Const */));
11988
11987
  }
11989
11988
  if (entity.isStatic()) {
11990
- commonModifiers.push(SyntaxFactory.modifier(42 /* Static */));
11989
+ commonModifiers.push(SyntaxFactory.modifier(41 /* Static */));
11991
11990
  }
11992
11991
  if (entity.isAbstract()) {
11993
11992
  commonModifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
11994
11993
  }
11995
- if (entity.isRedefinable()) {
11996
- commonModifiers.push(SyntaxFactory.modifier(39 /* Redefinable */));
11994
+ if (entity.isBasic()) {
11995
+ commonModifiers.push(SyntaxFactory.modifier(17 /* Basic */));
11997
11996
  }
11998
- if (entity.isRedefined()) {
11999
- commonModifiers.push(SyntaxFactory.modifier(40 /* Redefined */));
11997
+ if (entity.isOverridden()) {
11998
+ commonModifiers.push(SyntaxFactory.modifier(39 /* Redefined */));
12000
11999
  }
12001
12000
  const name = this.getEntityName(entity);
12002
12001
  const type = this.convertType(entity.getType());
@@ -12042,16 +12041,16 @@ var EntityToSyntax = class {
12042
12041
  modifiers.push(this.createHidingModifier(isHidden));
12043
12042
  }
12044
12043
  if (entity.isStatic()) {
12045
- modifiers.push(SyntaxFactory.modifier(42 /* Static */));
12044
+ modifiers.push(SyntaxFactory.modifier(41 /* Static */));
12046
12045
  }
12047
12046
  if (entity.isAbstract()) {
12048
12047
  modifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
12049
12048
  }
12050
- if (entity.isRedefinable()) {
12051
- modifiers.push(SyntaxFactory.modifier(39 /* Redefinable */));
12049
+ if (entity.isBasic()) {
12050
+ modifiers.push(SyntaxFactory.modifier(17 /* Basic */));
12052
12051
  }
12053
- if (entity.isRedefined()) {
12054
- modifiers.push(SyntaxFactory.modifier(40 /* Redefined */));
12052
+ if (entity.isOverridden()) {
12053
+ modifiers.push(SyntaxFactory.modifier(39 /* Redefined */));
12055
12054
  }
12056
12055
  const name = this.getEntityName(entity);
12057
12056
  const typeParameters = this.convertTypeParameters(entity.getTypeParameters());
@@ -12088,7 +12087,7 @@ var EntityToSyntax = class {
12088
12087
  convertIndexer(entity) {
12089
12088
  const commonModifiers = new Array();
12090
12089
  if (entity.isStatic()) {
12091
- commonModifiers.push(SyntaxFactory.modifier(42 /* Static */));
12090
+ commonModifiers.push(SyntaxFactory.modifier(41 /* Static */));
12092
12091
  }
12093
12092
  if (entity.isAbstract()) {
12094
12093
  commonModifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
@@ -12205,16 +12204,16 @@ var EntityToSyntax = class {
12205
12204
  let levelKeyword;
12206
12205
  switch (hiding.kind) {
12207
12206
  case "type":
12208
- levelKeyword = 52 /* InType */;
12207
+ levelKeyword = 51 /* InType */;
12209
12208
  break;
12210
12209
  case "type-hierarchy":
12211
- levelKeyword = 49 /* InHierarchy */;
12210
+ levelKeyword = 48 /* InHierarchy */;
12212
12211
  break;
12213
12212
  case "file":
12214
- levelKeyword = 50 /* InFile */;
12213
+ levelKeyword = 49 /* InFile */;
12215
12214
  break;
12216
12215
  case "package":
12217
- levelKeyword = 51 /* InPackage */;
12216
+ levelKeyword = 50 /* InPackage */;
12218
12217
  break;
12219
12218
  default:
12220
12219
  Debug.never(hiding);
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-5GSDYTF6.js";
13
+ } from "./chunk-6YPLDA76.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-F5OW64UA.js";
3
+ } from "./chunk-2FHW6RUS.js";
4
4
  import {
5
5
  ArtelVersion,
6
6
  Cached,
@@ -14,7 +14,7 @@ import {
14
14
  __async,
15
15
  performanceMeasurementStageNames,
16
16
  performanceMeasurementStages
17
- } from "./chunk-5GSDYTF6.js";
17
+ } from "./chunk-6YPLDA76.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";