@artel/artc 0.6.25229 → 0.6.25231

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 (52) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +6 -4
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +50 -50
  5. package/build/{chunk-4UBNOTKC.js → chunk-BG2YEIQO.js} +2 -2
  6. package/build/{chunk-6YPLDA76.js → chunk-S7CAJWX2.js} +2372 -943
  7. package/build/{chunk-2FHW6RUS.js → chunk-VQ5GGKF7.js} +1 -1
  8. package/build/types/analysis/Analyzer.d.ts +51 -11
  9. package/build/types/analysis/BaseExpressionMeaning.d.ts +1 -1
  10. package/build/types/analysis/DiagnosticCollector.d.ts +1 -1
  11. package/build/types/analysis/FindModifier.d.ts +1 -0
  12. package/build/types/analysis/{OperationOverloadResolver.d.ts → FunctionOverloadResolver.d.ts} +2 -0
  13. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -2
  14. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +5 -5
  15. package/build/types/analysis/ModifierFlags.d.ts +7 -2
  16. package/build/types/analysis/ModifierValidator.d.ts +83 -0
  17. package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +2 -3
  18. package/build/types/analysis/TypeMemberConflictsValidator.d.ts +22 -0
  19. package/build/types/analysis/control-flow/NarrowableReference.d.ts +4 -4
  20. package/build/types/analysis/control-flow/Nodes.d.ts +1 -1
  21. package/build/types/analysis/semantic-context/Declarations.d.ts +2 -2
  22. package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +0 -1
  23. package/build/types/common/ArrayUtils.d.ts +8 -0
  24. package/build/types/common/index.d.ts +1 -0
  25. package/build/types/diagnostic/DiagnosticCode.d.ts +57 -29
  26. package/build/types/emitter/Entities.d.ts +3 -3
  27. package/build/types/entities/AliasTypeEntity.d.ts +1 -1
  28. package/build/types/entities/ConstructorEntity.d.ts +8 -8
  29. package/build/types/entities/DereferenceOperatorEntity.d.ts +10 -7
  30. package/build/types/entities/DestructorEntity.d.ts +3 -3
  31. package/build/types/entities/FunctionEntity.d.ts +14 -14
  32. package/build/types/entities/FunctionTypeEntity.d.ts +1 -1
  33. package/build/types/entities/GetterEntity.d.ts +4 -4
  34. package/build/types/entities/IndexerEntity.d.ts +11 -8
  35. package/build/types/entities/OperatorEntity.d.ts +7 -7
  36. package/build/types/entities/SetterEntity.d.ts +4 -4
  37. package/build/types/entities/StructuredTypeEntity.d.ts +14 -14
  38. package/build/types/entities/TypeExtensionEntity.d.ts +1 -1
  39. package/build/types/entities/VariableEntity.d.ts +32 -28
  40. package/build/types/entities/VariantTypeEntity.d.ts +1 -1
  41. package/build/types/entities/index.d.ts +29 -0
  42. package/build/types/project/SourcePackage.d.ts +7 -7
  43. package/build/types/services/DisplayService.d.ts +2 -2
  44. package/build/types/services/NodeSemanticInfo.d.ts +4 -4
  45. package/build/types/tree/KeywordKind.d.ts +1 -1
  46. package/build/types/tree/green/Nodes.d.ts +3 -3
  47. package/build/types/tree/red/Nodes.d.ts +2 -2
  48. package/build/types/ts-interop/Entities.d.ts +29 -29
  49. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +1 -1
  50. package/build/types/types/StructuredType.d.ts +2 -0
  51. package/build/types/types/TypeMembers.d.ts +5 -5
  52. package/package.json +4 -4
package/build/Cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-4UBNOTKC.js";
5
- import "./chunk-2FHW6RUS.js";
4
+ } from "./chunk-BG2YEIQO.js";
5
+ import "./chunk-VQ5GGKF7.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-6YPLDA76.js";
8
+ } from "./chunk-S7CAJWX2.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-2FHW6RUS.js";
3
+ } from "../chunk-VQ5GGKF7.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedFunctionValueParameter,
@@ -17,6 +17,7 @@ import {
17
17
  AnonymousFunctionTypeDeclarationEntity,
18
18
  AnonymousStructuredTypeDeclarationEntity,
19
19
  AnonymousVariantTypeDeclarationEntity,
20
+ ArrayUtils,
20
21
  ArtelSourceAndConfigurationFileExtensionSet,
21
22
  ArtelSourceFileExtensionSet,
22
23
  ArtelSourceFileExtensions,
@@ -226,7 +227,6 @@ import {
226
227
  TypeMemberLookup,
227
228
  TypeMemberLookupOptions,
228
229
  TypeParameterConstraint,
229
- TypeUtils,
230
230
  UnfinishedIntrinsicAnonymousFunctionTypeEntity,
231
231
  UnfinishedIntrinsicAnonymousStructuredTypeEntity,
232
232
  UnfinishedIntrinsicPackageFunctionTypeEntity,
@@ -285,6 +285,7 @@ import {
285
285
  keywordKindByOperatorKind,
286
286
  localeToString,
287
287
  locales,
288
+ modifierToModifierFlag,
288
289
  operatorKindsBySyntacticalOperatorKind,
289
290
  parseBinaryInteger,
290
291
  parseCyrillicHexInteger,
@@ -313,7 +314,7 @@ import {
313
314
  withoutQuotes,
314
315
  withoutTemplateQuotes,
315
316
  yieldExecution
316
- } from "../chunk-6YPLDA76.js";
317
+ } from "../chunk-S7CAJWX2.js";
317
318
  export {
318
319
  AccessKind,
319
320
  AccessedFunctionValueParameter,
@@ -330,6 +331,7 @@ export {
330
331
  AnonymousFunctionTypeDeclarationEntity,
331
332
  AnonymousStructuredTypeDeclarationEntity,
332
333
  AnonymousVariantTypeDeclarationEntity,
334
+ ArrayUtils,
333
335
  ArtelSourceAndConfigurationFileExtensionSet,
334
336
  ArtelSourceFileExtensionSet,
335
337
  ArtelSourceFileExtensions,
@@ -536,7 +538,6 @@ export {
536
538
  TypeMemberLookup,
537
539
  TypeMemberLookupOptions,
538
540
  TypeParameterConstraint,
539
- TypeUtils,
540
541
  UnfinishedIntrinsicAnonymousFunctionTypeEntity,
541
542
  UnfinishedIntrinsicAnonymousStructuredTypeEntity,
542
543
  UnfinishedIntrinsicPackageFunctionTypeEntity,
@@ -598,6 +599,7 @@ export {
598
599
  keywordKindByOperatorKind,
599
600
  localeToString,
600
601
  locales,
602
+ modifierToModifierFlag,
601
603
  operatorKindsBySyntacticalOperatorKind,
602
604
  PackageContent_exports as packageContent,
603
605
  parseBinaryInteger,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-4UBNOTKC.js";
10
- import "../chunk-2FHW6RUS.js";
11
- import "../chunk-6YPLDA76.js";
9
+ } from "../chunk-BG2YEIQO.js";
10
+ import "../chunk-VQ5GGKF7.js";
11
+ import "../chunk-S7CAJWX2.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-6YPLDA76.js";
185
+ } from "../chunk-S7CAJWX2.js";
186
186
 
187
187
  // source/services/CustomCommand.ts
188
188
  import * as ls from "vscode-languageserver";
@@ -2166,7 +2166,7 @@ var modifierSortOrder = {
2166
2166
  [41 /* Static */]: 1,
2167
2167
  [17 /* Basic */]: 2,
2168
2168
  [38 /* Abstract */]: 3,
2169
- [39 /* Redefined */]: 4,
2169
+ [39 /* Override */]: 4,
2170
2170
  [40 /* Async */]: 5,
2171
2171
  [36 /* Const */]: 6
2172
2172
  };
@@ -3226,9 +3226,9 @@ var CompletionService = class {
3226
3226
  return new PackageImportCompletionContext([], void 0);
3227
3227
  }
3228
3228
  if (tokenOrKeyword.isToken(26 /* Dot */) && tokenOrKeyword.parent.kind === 78 /* MemberAccessExpression */) {
3229
- const propertyAccess = tokenOrKeyword.parent;
3229
+ const memberAccess = tokenOrKeyword.parent;
3230
3230
  {
3231
- const info = this._analyzer.checkExpressionDenotesPackageNameSegment(propertyAccess.expression);
3231
+ const info = this._analyzer.checkExpressionDenotesPackageNameSegment(memberAccess.expression);
3232
3232
  if (info !== void 0) {
3233
3233
  let lookup;
3234
3234
  if (info.packageTreeNode.package !== void 0) {
@@ -3242,7 +3242,7 @@ var CompletionService = class {
3242
3242
  }
3243
3243
  }
3244
3244
  {
3245
- const info = this._analyzer.checkExpressionDenotesPackageAlias(propertyAccess.expression);
3245
+ const info = this._analyzer.checkExpressionDenotesPackageAlias(memberAccess.expression);
3246
3246
  if (info !== void 0) {
3247
3247
  const package_ = info.packageAlias.getPackage();
3248
3248
  if (package_ !== void 0) {
@@ -3253,9 +3253,9 @@ var CompletionService = class {
3253
3253
  return { kind: "none" };
3254
3254
  }
3255
3255
  }
3256
- const type = this._analyzer.type.ofExpression(propertyAccess.expression);
3256
+ const type = this._analyzer.type.ofExpression(memberAccess.expression);
3257
3257
  const localizationContext = semanticContext.getLocalizationContext();
3258
- const isStaticAccess = this._analyzer.checkExpressionDenotesType(propertyAccess.expression) !== void 0;
3258
+ const isStaticAccess = this._analyzer.checkExpressionDenotesType(memberAccess.expression) !== void 0;
3259
3259
  const hidingMatcher = semanticContext.getHidingMatcher();
3260
3260
  return new TypeMemberCompletionContext(
3261
3261
  type,
@@ -3652,7 +3652,7 @@ var CompletionService = class {
3652
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 */);
3653
3653
  }
3654
3654
  if (syntaxContext.isPackageMemberDeclarationListContext || syntaxContext.isTypeMemberDeclarationListContext) {
3655
- kinds.add(37 /* Hidden */).add(41 /* Static */).add(17 /* Basic */).add(38 /* Abstract */).add(39 /* Redefined */).add(40 /* Async */).add(36 /* Const */);
3655
+ kinds.add(37 /* Hidden */).add(41 /* Static */).add(17 /* Basic */).add(38 /* Abstract */).add(39 /* Override */).add(40 /* Async */).add(36 /* Const */);
3656
3656
  }
3657
3657
  if (syntaxContext.isTypeMemberDeclarationListContext) {
3658
3658
  kinds.add(31 /* Creation */).add(12 /* Function */).add(47 /* Destruction */).add(58 /* Get */).add(59 /* Set */);
@@ -4069,7 +4069,7 @@ var CompletionService = class {
4069
4069
  m.name,
4070
4070
  m.requiresExplicitOriginalName
4071
4071
  );
4072
- case "variable":
4072
+ case "field":
4073
4073
  return new FieldCompletionItemInfo(
4074
4074
  this.completionItemInfoContext,
4075
4075
  m.value,
@@ -4604,22 +4604,22 @@ var PackageAliasEntityCompletionItemInfo = class {
4604
4604
  }
4605
4605
  };
4606
4606
  var FieldCompletionItemInfo = class {
4607
- constructor(ctx, variable, name, isNameExplicitlyOriginal) {
4607
+ constructor(ctx, field, name, isNameExplicitlyOriginal) {
4608
4608
  this.ctx = ctx;
4609
- this.variable = variable;
4609
+ this.field = field;
4610
4610
  this.name = name;
4611
4611
  this.isNameExplicitlyOriginal = isNameExplicitlyOriginal;
4612
- this.kind = "type-variable";
4612
+ this.kind = "field";
4613
4613
  }
4614
4614
  getLabel() {
4615
4615
  return `${this.isNameExplicitlyOriginal ? "~" : ""}${this.ctx.getInsertTextForName(this.name.value)}`;
4616
4616
  }
4617
4617
  getCompletionItemKind() {
4618
- return this.variable.isVariant() ? 12 /* Variant */ : 2 /* Field */;
4618
+ return this.field.isVariant() ? 12 /* Variant */ : 2 /* Field */;
4619
4619
  }
4620
4620
  getDetails() {
4621
4621
  return this.ctx.displayService.displayVariableDeclaration(
4622
- new VariableDeclaration_typeMember(this.variable, this.name.localization)
4622
+ new VariableDeclaration_typeMember(this.field, this.name.localization)
4623
4623
  );
4624
4624
  }
4625
4625
  getInsertText() {
@@ -5519,7 +5519,7 @@ var SyntaxContextFactory = class {
5519
5519
  if (tokenOrKeyword.isToken(43 /* OpenBrace */) && tokenOrKeyword.parent.kind === 32 /* TypeMemberDeclarationBlock */) {
5520
5520
  return true;
5521
5521
  }
5522
- if (tokenOrKeyword.isToken(20 /* CloseBrace */) && tokenOrKeyword.parent.kind === 44 /* TypeMemberGroupDeclaration */) {
5522
+ if (tokenOrKeyword.isToken(20 /* CloseBrace */) && tokenOrKeyword.parent.kind === 32 /* TypeMemberDeclarationBlock */ && tokenOrKeyword.parent.parent.kind === 44 /* TypeMemberGroupDeclaration */) {
5523
5523
  return true;
5524
5524
  }
5525
5525
  if (SyntaxContextUtils.tokenOrKeywordIsValidEndOfNode(tokenOrKeyword, 54 /* FieldDeclaration */) || SyntaxContextUtils.tokenOrKeywordIsValidEndOfNode(tokenOrKeyword, 55 /* FieldGetterDeclaration */) || SyntaxContextUtils.tokenOrKeywordIsValidEndOfNode(tokenOrKeyword, 56 /* FieldSetterDeclaration */) || SyntaxContextUtils.tokenOrKeywordIsValidEndOfNode(
@@ -6034,7 +6034,7 @@ var NodeSemanticInfoService = class {
6034
6034
  result = void 0;
6035
6035
  break;
6036
6036
  case 78 /* MemberAccessExpression */:
6037
- result = this.ofProperty(analyzer, parent, options6);
6037
+ result = this.ofMember(analyzer, parent, options6);
6038
6038
  break;
6039
6039
  case 52 /* MethodDeclaration */:
6040
6040
  result = new DefinitionNodeSemanticInfo(analyzer.entity.ofMethodDeclaration(parent));
@@ -6067,7 +6067,7 @@ var NodeSemanticInfoService = class {
6067
6067
  }
6068
6068
  return result;
6069
6069
  }
6070
- static ofProperty(analyzer, node, options6) {
6070
+ static ofMember(analyzer, node, options6) {
6071
6071
  let result;
6072
6072
  const meaning = analyzer.resolveMemberAccessExpression(node).meaning;
6073
6073
  switch (meaning.kind) {
@@ -6077,10 +6077,10 @@ var NodeSemanticInfoService = class {
6077
6077
  narrowedType = analyzer.type.ofExpression(node);
6078
6078
  }
6079
6079
  const target = new SimpleWithLocalization(new FieldReferenceTarget(
6080
- meaning.variable.value,
6080
+ meaning.field.value,
6081
6081
  meaning.accessKind,
6082
6082
  narrowedType
6083
- ), meaning.variable.localization);
6083
+ ), meaning.field.localization);
6084
6084
  result = new ReferenceNodeSemanticInfo([target], false);
6085
6085
  break;
6086
6086
  }
@@ -6090,10 +6090,10 @@ var NodeSemanticInfoService = class {
6090
6090
  narrowedType = analyzer.type.ofExpression(node);
6091
6091
  }
6092
6092
  const target = new SimpleWithLocalization(new FieldReferenceTarget(
6093
- meaning.variable.value,
6093
+ meaning.field.value,
6094
6094
  meaning.accessKind,
6095
6095
  narrowedType
6096
- ), meaning.variable.localization);
6096
+ ), meaning.field.localization);
6097
6097
  result = new ReferenceNodeSemanticInfo([target], false);
6098
6098
  break;
6099
6099
  }
@@ -6801,11 +6801,11 @@ var EntityReferenceTarget = class {
6801
6801
  }
6802
6802
  };
6803
6803
  var FieldReferenceTarget = class {
6804
- constructor(variable, accessKind, narrowedType) {
6805
- this.variable = variable;
6804
+ constructor(field, accessKind, narrowedType) {
6805
+ this.field = field;
6806
6806
  this.accessKind = accessKind;
6807
6807
  this.narrowedType = narrowedType;
6808
- this.kind = "type-variable";
6808
+ this.kind = "field";
6809
6809
  }
6810
6810
  };
6811
6811
  var TypeValueParameterReferenceTarget = class {
@@ -7105,8 +7105,8 @@ var DefinitionService = class {
7105
7105
  return this.getSourceLocationsOfVariableEntity(analyzer, target.entity);
7106
7106
  }
7107
7107
  return getEntitySourceLocations(analyzer, target.entity);
7108
- case "type-variable":
7109
- return this.getSourceLocationsOfVariableEntity(analyzer, target.variable.getEntity());
7108
+ case "field":
7109
+ return this.getSourceLocationsOfVariableEntity(analyzer, target.field.getEntity());
7110
7110
  case "type-constructor":
7111
7111
  return getEntitySourceLocations(analyzer, target.constructor_.getEntity());
7112
7112
  case "accessed-function":
@@ -7143,8 +7143,8 @@ var DefinitionService = class {
7143
7143
  switch (target.kind) {
7144
7144
  case "entity":
7145
7145
  return target.entity;
7146
- case "type-variable":
7147
- return target.variable.getEntity();
7146
+ case "field":
7147
+ return target.field.getEntity();
7148
7148
  case "type-value-parameter":
7149
7149
  return target.parameter.getEntity();
7150
7150
  case "type-constructor":
@@ -7557,9 +7557,9 @@ var ReferencesService = class {
7557
7557
  target.localization,
7558
7558
  accessKindToReferenceKind(target.value.accessKind)
7559
7559
  );
7560
- case "type-variable":
7560
+ case "field":
7561
7561
  return new DefinitionInfo(
7562
- target.value.variable.getEntity(),
7562
+ target.value.field.getEntity(),
7563
7563
  target.localization,
7564
7564
  accessKindToReferenceKind(target.value.accessKind)
7565
7565
  );
@@ -8023,9 +8023,9 @@ var HoverService = class {
8023
8023
  firstTarget.value.narrowedType,
8024
8024
  range
8025
8025
  );
8026
- case "type-variable": {
8026
+ case "field": {
8027
8027
  const declaration = new VariableDeclaration_typeMember(
8028
- firstTarget.value.variable,
8028
+ firstTarget.value.field,
8029
8029
  firstTarget.localization,
8030
8030
  firstTarget.value.narrowedType
8031
8031
  );
@@ -8511,8 +8511,8 @@ var RenameService = class {
8511
8511
  case "entity":
8512
8512
  canBeRenamed = this.entityCanBeRenamed(analyzer, target.value.entity);
8513
8513
  break;
8514
- case "type-variable":
8515
- canBeRenamed = this.entityCanBeRenamed(analyzer, target.value.variable.getEntity());
8514
+ case "field":
8515
+ canBeRenamed = this.entityCanBeRenamed(analyzer, target.value.field.getEntity());
8516
8516
  break;
8517
8517
  case "type-value-parameter":
8518
8518
  canBeRenamed = this.entityCanBeRenamed(analyzer, target.value.parameter.getEntity());
@@ -8715,11 +8715,11 @@ var SemanticTokensService = class {
8715
8715
  if (node.kind === 78 /* MemberAccessExpression */) {
8716
8716
  const meaning = analyzer.resolveMemberAccessExpression(node).meaning;
8717
8717
  if (meaning.kind === "static-field-access") {
8718
- const entity = meaning.variable.value.getEntity();
8718
+ const entity = meaning.field.value.getEntity();
8719
8719
  if (entity.subkind === "field" && entity.isVariant()) {
8720
8720
  result.push(
8721
8721
  new SemanticToken(
8722
- node.propertyName.rangeWithoutTrivia,
8722
+ node.memberName.rangeWithoutTrivia,
8723
8723
  3 /* Variant */,
8724
8724
  new SemanticTokenModifiers().makeConst()
8725
8725
  )
@@ -8742,7 +8742,7 @@ var SemanticTokensService = class {
8742
8742
  const func = suitableFunctions[0];
8743
8743
  result.push(
8744
8744
  new SemanticToken(
8745
- node.propertyName.rangeWithoutTrivia,
8745
+ node.memberName.rangeWithoutTrivia,
8746
8746
  this.getSemanticTokenKindForFunctionEntity(func.getEntity()),
8747
8747
  new SemanticTokenModifiers().setCapitalized(this.isCapitalizedName(func.getName()))
8748
8748
  )
@@ -8750,7 +8750,7 @@ var SemanticTokensService = class {
8750
8750
  }
8751
8751
  if (meaning.kind === "operator-access") {
8752
8752
  result.push(new SemanticToken(
8753
- node.propertyName.rangeWithoutTrivia,
8753
+ node.memberName.rangeWithoutTrivia,
8754
8754
  7 /* Operator */,
8755
8755
  new SemanticTokenModifiers()
8756
8756
  ));
@@ -11988,14 +11988,14 @@ var EntityToSyntax = class {
11988
11988
  if (entity.isStatic()) {
11989
11989
  commonModifiers.push(SyntaxFactory.modifier(41 /* Static */));
11990
11990
  }
11991
- if (entity.isAbstract()) {
11991
+ if (entity.markedAbstract()) {
11992
11992
  commonModifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
11993
11993
  }
11994
- if (entity.isBasic()) {
11994
+ if (entity.markedBasic()) {
11995
11995
  commonModifiers.push(SyntaxFactory.modifier(17 /* Basic */));
11996
11996
  }
11997
- if (entity.isOverridden()) {
11998
- commonModifiers.push(SyntaxFactory.modifier(39 /* Redefined */));
11997
+ if (entity.isOverride()) {
11998
+ commonModifiers.push(SyntaxFactory.modifier(39 /* Override */));
11999
11999
  }
12000
12000
  const name = this.getEntityName(entity);
12001
12001
  const type = this.convertType(entity.getType());
@@ -12043,14 +12043,14 @@ var EntityToSyntax = class {
12043
12043
  if (entity.isStatic()) {
12044
12044
  modifiers.push(SyntaxFactory.modifier(41 /* Static */));
12045
12045
  }
12046
- if (entity.isAbstract()) {
12046
+ if (entity.markedAbstract()) {
12047
12047
  modifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
12048
12048
  }
12049
- if (entity.isBasic()) {
12049
+ if (entity.markedBasic()) {
12050
12050
  modifiers.push(SyntaxFactory.modifier(17 /* Basic */));
12051
12051
  }
12052
- if (entity.isOverridden()) {
12053
- modifiers.push(SyntaxFactory.modifier(39 /* Redefined */));
12052
+ if (entity.isOverride()) {
12053
+ modifiers.push(SyntaxFactory.modifier(39 /* Override */));
12054
12054
  }
12055
12055
  const name = this.getEntityName(entity);
12056
12056
  const typeParameters = this.convertTypeParameters(entity.getTypeParameters());
@@ -12065,7 +12065,7 @@ var EntityToSyntax = class {
12065
12065
  if (isHidden !== void 0) {
12066
12066
  modifiers.push(this.createHidingModifier(isHidden));
12067
12067
  }
12068
- if (entity.isAbstract()) {
12068
+ if (entity.markedAbstract()) {
12069
12069
  modifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
12070
12070
  }
12071
12071
  const parameters = this.convertValueParameters(entity.getValueParameters());
@@ -12078,7 +12078,7 @@ var EntityToSyntax = class {
12078
12078
  if (isHidden !== void 0) {
12079
12079
  modifiers.push(this.createHidingModifier(isHidden));
12080
12080
  }
12081
- if (entity.isAbstract()) {
12081
+ if (entity.markedAbstract()) {
12082
12082
  modifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
12083
12083
  }
12084
12084
  const parameters = this.convertValueParameters(entity.getValueParameters());
@@ -12089,7 +12089,7 @@ var EntityToSyntax = class {
12089
12089
  if (entity.isStatic()) {
12090
12090
  commonModifiers.push(SyntaxFactory.modifier(41 /* Static */));
12091
12091
  }
12092
- if (entity.isAbstract()) {
12092
+ if (entity.markedAbstract()) {
12093
12093
  commonModifiers.push(SyntaxFactory.modifier(38 /* Abstract */));
12094
12094
  }
12095
12095
  const parameters = this.convertValueParameters(entity.getValueParameters());
@@ -12929,7 +12929,7 @@ var LanguageServer = class {
12929
12929
  Logger.info("\u041D\u0430\u0447\u0430\u0442\u0430 \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432.");
12930
12930
  const initializeStartTime = performance.now();
12931
12931
  this._clientCapabilities = params.capabilities;
12932
- setUserLocale("ru");
12932
+ setUserLocale(params.initializationOptions?.localeOverride ?? params.locale ?? "en");
12933
12933
  let workspaceFolderUris;
12934
12934
  if (params.initializationOptions?.workspaceFoldersOverride !== void 0) {
12935
12935
  workspaceFolderUris = params.initializationOptions.workspaceFoldersOverride.map((f) => this.convertVscodeUriToUri(URI2.parse(f.uri)));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-2FHW6RUS.js";
3
+ } from "./chunk-VQ5GGKF7.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-6YPLDA76.js";
17
+ } from "./chunk-S7CAJWX2.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";