@artel/artc 0.6.25236 → 0.6.25238

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.
@@ -620,7 +620,7 @@ var UniqueWithComparatorQuery = class extends Query {
620
620
  };
621
621
 
622
622
  // source/common/Constants.ts
623
- var ArtelVersion = true ? "0.6.25236" : "";
623
+ var ArtelVersion = true ? "0.6.25238" : "";
624
624
  var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel"];
625
625
  var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
626
626
  var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
@@ -1338,14 +1338,14 @@ var NodeKind = /* @__PURE__ */ ((NodeKind3) => {
1338
1338
  NodeKind3[NodeKind3["AssumptionExpression"] = 62] = "AssumptionExpression";
1339
1339
  NodeKind3[NodeKind3["AsExpression"] = 63] = "AsExpression";
1340
1340
  NodeKind3[NodeKind3["BinaryExpression"] = 64] = "BinaryExpression";
1341
- NodeKind3[NodeKind3["FunctionBlockLiteral"] = 65] = "FunctionBlockLiteral";
1342
- NodeKind3[NodeKind3["ArgumentList"] = 66] = "ArgumentList";
1343
- NodeKind3[NodeKind3["CallExpression"] = 67] = "CallExpression";
1344
- NodeKind3[NodeKind3["AutotypeCallExpression"] = 68] = "AutotypeCallExpression";
1345
- NodeKind3[NodeKind3["IndexedAccessExpression"] = 69] = "IndexedAccessExpression";
1346
- NodeKind3[NodeKind3["InvalidExpression"] = 70] = "InvalidExpression";
1347
- NodeKind3[NodeKind3["IsExpression"] = 71] = "IsExpression";
1348
- NodeKind3[NodeKind3["FunctionLiteral"] = 72] = "FunctionLiteral";
1341
+ NodeKind3[NodeKind3["FunctionLiteral"] = 65] = "FunctionLiteral";
1342
+ NodeKind3[NodeKind3["FunctionBlockLiteral"] = 66] = "FunctionBlockLiteral";
1343
+ NodeKind3[NodeKind3["ArgumentList"] = 67] = "ArgumentList";
1344
+ NodeKind3[NodeKind3["CallExpression"] = 68] = "CallExpression";
1345
+ NodeKind3[NodeKind3["AutotypeCallExpression"] = 69] = "AutotypeCallExpression";
1346
+ NodeKind3[NodeKind3["IndexedAccessExpression"] = 70] = "IndexedAccessExpression";
1347
+ NodeKind3[NodeKind3["InvalidExpression"] = 71] = "InvalidExpression";
1348
+ NodeKind3[NodeKind3["IsExpression"] = 72] = "IsExpression";
1349
1349
  NodeKind3[NodeKind3["ParenthesizedExpression"] = 73] = "ParenthesizedExpression";
1350
1350
  NodeKind3[NodeKind3["ConditionalExpression"] = 74] = "ConditionalExpression";
1351
1351
  NodeKind3[NodeKind3["PrefixUnaryExpression"] = 75] = "PrefixUnaryExpression";
@@ -6501,10 +6501,46 @@ var BinaryExpression = class extends BaseNode {
6501
6501
  ];
6502
6502
  }
6503
6503
  };
6504
+ var FunctionLiteral = class extends BaseNode {
6505
+ constructor(green, rangeStart, parent) {
6506
+ super(green, rangeStart, parent);
6507
+ this.kind = 65 /* FunctionLiteral */;
6508
+ }
6509
+ get children() {
6510
+ return this._children ??= this.createChildren();
6511
+ }
6512
+ get asyncKeyword() {
6513
+ return this.children[0];
6514
+ }
6515
+ get functionKeyword() {
6516
+ return this.children[1];
6517
+ }
6518
+ get parameterClause() {
6519
+ return this.children[2];
6520
+ }
6521
+ get returnTypeAnnotation() {
6522
+ return this.children[3];
6523
+ }
6524
+ get block() {
6525
+ return this.children[4];
6526
+ }
6527
+ get thisAsNode() {
6528
+ return this;
6529
+ }
6530
+ createChildren() {
6531
+ return [
6532
+ this.green.asyncKeyword?.toRed(childRangeStart(this, 0), this),
6533
+ this.green.functionKeyword.toRed(childRangeStart(this, 1), this),
6534
+ this.green.parameterClause.toRed(childRangeStart(this, 2), this),
6535
+ this.green.returnTypeAnnotation?.toRed(childRangeStart(this, 3), this),
6536
+ this.green.block.toRed(childRangeStart(this, 4), this)
6537
+ ];
6538
+ }
6539
+ };
6504
6540
  var FunctionBlockLiteral = class extends BaseNode {
6505
6541
  constructor(green, rangeStart, parent) {
6506
6542
  super(green, rangeStart, parent);
6507
- this.kind = 65 /* FunctionBlockLiteral */;
6543
+ this.kind = 66 /* FunctionBlockLiteral */;
6508
6544
  }
6509
6545
  get children() {
6510
6546
  return this._children ??= this.createChildren();
@@ -6522,7 +6558,7 @@ var FunctionBlockLiteral = class extends BaseNode {
6522
6558
  var ArgumentList = class extends BaseNode {
6523
6559
  constructor(green, rangeStart, parent) {
6524
6560
  super(green, rangeStart, parent);
6525
- this.kind = 66 /* ArgumentList */;
6561
+ this.kind = 67 /* ArgumentList */;
6526
6562
  }
6527
6563
  get children() {
6528
6564
  return this._children ??= this.createChildren();
@@ -6543,7 +6579,7 @@ var ArgumentList = class extends BaseNode {
6543
6579
  var CallExpression = class extends BaseNode {
6544
6580
  constructor(green, rangeStart, parent) {
6545
6581
  super(green, rangeStart, parent);
6546
- this.kind = 67 /* CallExpression */;
6582
+ this.kind = 68 /* CallExpression */;
6547
6583
  }
6548
6584
  get children() {
6549
6585
  return this._children ??= this.createChildren();
@@ -6575,7 +6611,7 @@ var CallExpression = class extends BaseNode {
6575
6611
  var AutotypeCallExpression = class extends BaseNode {
6576
6612
  constructor(green, rangeStart, parent) {
6577
6613
  super(green, rangeStart, parent);
6578
- this.kind = 68 /* AutotypeCallExpression */;
6614
+ this.kind = 69 /* AutotypeCallExpression */;
6579
6615
  }
6580
6616
  get children() {
6581
6617
  return this._children ??= this.createChildren();
@@ -6607,7 +6643,7 @@ var AutotypeCallExpression = class extends BaseNode {
6607
6643
  var IndexedAccessExpression = class extends BaseNode {
6608
6644
  constructor(green, rangeStart, parent) {
6609
6645
  super(green, rangeStart, parent);
6610
- this.kind = 69 /* IndexedAccessExpression */;
6646
+ this.kind = 70 /* IndexedAccessExpression */;
6611
6647
  }
6612
6648
  get children() {
6613
6649
  return this._children ??= this.createChildren();
@@ -6639,7 +6675,7 @@ var IndexedAccessExpression = class extends BaseNode {
6639
6675
  var InvalidExpression = class extends BaseNode {
6640
6676
  constructor(green, rangeStart, parent) {
6641
6677
  super(green, rangeStart, parent);
6642
- this.kind = 70 /* InvalidExpression */;
6678
+ this.kind = 71 /* InvalidExpression */;
6643
6679
  this.children = [];
6644
6680
  }
6645
6681
  get thisAsNode() {
@@ -6649,7 +6685,7 @@ var InvalidExpression = class extends BaseNode {
6649
6685
  var IsExpression = class extends BaseNode {
6650
6686
  constructor(green, rangeStart, parent) {
6651
6687
  super(green, rangeStart, parent);
6652
- this.kind = 71 /* IsExpression */;
6688
+ this.kind = 72 /* IsExpression */;
6653
6689
  }
6654
6690
  get children() {
6655
6691
  return this._children ??= this.createChildren();
@@ -6674,42 +6710,6 @@ var IsExpression = class extends BaseNode {
6674
6710
  ];
6675
6711
  }
6676
6712
  };
6677
- var FunctionLiteral = class extends BaseNode {
6678
- constructor(green, rangeStart, parent) {
6679
- super(green, rangeStart, parent);
6680
- this.kind = 72 /* FunctionLiteral */;
6681
- }
6682
- get children() {
6683
- return this._children ??= this.createChildren();
6684
- }
6685
- get asyncKeyword() {
6686
- return this.children[0];
6687
- }
6688
- get functionKeyword() {
6689
- return this.children[1];
6690
- }
6691
- get parameterClause() {
6692
- return this.children[2];
6693
- }
6694
- get returnTypeAnnotation() {
6695
- return this.children[3];
6696
- }
6697
- get block() {
6698
- return this.children[4];
6699
- }
6700
- get thisAsNode() {
6701
- return this;
6702
- }
6703
- createChildren() {
6704
- return [
6705
- this.green.asyncKeyword?.toRed(childRangeStart(this, 0), this),
6706
- this.green.functionKeyword.toRed(childRangeStart(this, 1), this),
6707
- this.green.parameterClause.toRed(childRangeStart(this, 2), this),
6708
- this.green.returnTypeAnnotation?.toRed(childRangeStart(this, 3), this),
6709
- this.green.block.toRed(childRangeStart(this, 4), this)
6710
- ];
6711
- }
6712
- };
6713
6713
  var ParenthesizedExpression = class extends BaseNode {
6714
6714
  constructor(green, rangeStart, parent) {
6715
6715
  super(green, rangeStart, parent);
@@ -8467,13 +8467,13 @@ var TextLiteralTranslation = class extends BaseNode {
8467
8467
  get children() {
8468
8468
  return this._children ??= this.createChildren();
8469
8469
  }
8470
- get sourceTextLiteral() {
8470
+ get sourceText() {
8471
8471
  return this.children[0];
8472
8472
  }
8473
8473
  get minusGreaterThanToken() {
8474
8474
  return this.children[1];
8475
8475
  }
8476
- get translatedTextLiteral() {
8476
+ get translatedText() {
8477
8477
  return this.children[2];
8478
8478
  }
8479
8479
  get thisAsNode() {
@@ -8481,9 +8481,9 @@ var TextLiteralTranslation = class extends BaseNode {
8481
8481
  }
8482
8482
  createChildren() {
8483
8483
  return [
8484
- this.green.sourceTextLiteral.toRed(childRangeStart(this, 0), this),
8484
+ this.green.sourceText.toRed(childRangeStart(this, 0), this),
8485
8485
  this.green.minusGreaterThanToken.toRed(childRangeStart(this, 1), this),
8486
- this.green.translatedTextLiteral.toRed(childRangeStart(this, 2), this)
8486
+ this.green.translatedText.toRed(childRangeStart(this, 2), this)
8487
8487
  ];
8488
8488
  }
8489
8489
  };
@@ -8495,13 +8495,13 @@ var TextTemplateLiteralTranslation = class extends BaseNode {
8495
8495
  get children() {
8496
8496
  return this._children ??= this.createChildren();
8497
8497
  }
8498
- get sourceTextTemplateLiteral() {
8498
+ get sourceText() {
8499
8499
  return this.children[0];
8500
8500
  }
8501
8501
  get minusGreaterThanToken() {
8502
8502
  return this.children[1];
8503
8503
  }
8504
- get translatedTextTemplateLiteral() {
8504
+ get translatedTextOrTranslationFunction() {
8505
8505
  return this.children[2];
8506
8506
  }
8507
8507
  get thisAsNode() {
@@ -8509,9 +8509,9 @@ var TextTemplateLiteralTranslation = class extends BaseNode {
8509
8509
  }
8510
8510
  createChildren() {
8511
8511
  return [
8512
- this.green.sourceTextTemplateLiteral.toRed(childRangeStart(this, 0), this),
8512
+ this.green.sourceText.toRed(childRangeStart(this, 0), this),
8513
8513
  this.green.minusGreaterThanToken.toRed(childRangeStart(this, 1), this),
8514
- this.green.translatedTextTemplateLiteral.toRed(childRangeStart(this, 2), this)
8514
+ this.green.translatedTextOrTranslationFunction.toRed(childRangeStart(this, 2), this)
8515
8515
  ];
8516
8516
  }
8517
8517
  };
@@ -10560,10 +10560,38 @@ var BinaryExpression2 = class extends BaseNode2 {
10560
10560
  return new BinaryExpression(this, rangeStart, parent);
10561
10561
  }
10562
10562
  };
10563
+ var FunctionLiteral2 = class extends BaseNode2 {
10564
+ constructor(asyncKeyword, functionKeyword, parameterClause, returnTypeAnnotation, block) {
10565
+ super();
10566
+ this.kind = 65 /* FunctionLiteral */;
10567
+ this.children = [asyncKeyword, functionKeyword, parameterClause, returnTypeAnnotation, block];
10568
+ }
10569
+ get asyncKeyword() {
10570
+ return this.children[0];
10571
+ }
10572
+ get functionKeyword() {
10573
+ return this.children[1];
10574
+ }
10575
+ get parameterClause() {
10576
+ return this.children[2];
10577
+ }
10578
+ get returnTypeAnnotation() {
10579
+ return this.children[3];
10580
+ }
10581
+ get block() {
10582
+ return this.children[4];
10583
+ }
10584
+ get thisAsNode() {
10585
+ return this;
10586
+ }
10587
+ toRed(rangeStart, parent) {
10588
+ return new FunctionLiteral(this, rangeStart, parent);
10589
+ }
10590
+ };
10563
10591
  var FunctionBlockLiteral2 = class extends BaseNode2 {
10564
10592
  constructor(block) {
10565
10593
  super();
10566
- this.kind = 65 /* FunctionBlockLiteral */;
10594
+ this.kind = 66 /* FunctionBlockLiteral */;
10567
10595
  this.children = [block];
10568
10596
  }
10569
10597
  get block() {
@@ -10579,7 +10607,7 @@ var FunctionBlockLiteral2 = class extends BaseNode2 {
10579
10607
  var ArgumentList2 = class extends BaseNode2 {
10580
10608
  constructor(elements) {
10581
10609
  super();
10582
- this.kind = 66 /* ArgumentList */;
10610
+ this.kind = 67 /* ArgumentList */;
10583
10611
  this.children = elements;
10584
10612
  }
10585
10613
  get elements() {
@@ -10595,7 +10623,7 @@ var ArgumentList2 = class extends BaseNode2 {
10595
10623
  var CallExpression2 = class extends BaseNode2 {
10596
10624
  constructor(expression, openParenthesisToken, argumentList, closeParenthesisToken) {
10597
10625
  super();
10598
- this.kind = 67 /* CallExpression */;
10626
+ this.kind = 68 /* CallExpression */;
10599
10627
  this.children = [expression, openParenthesisToken, argumentList, closeParenthesisToken];
10600
10628
  }
10601
10629
  get expression() {
@@ -10620,7 +10648,7 @@ var CallExpression2 = class extends BaseNode2 {
10620
10648
  var AutotypeCallExpression2 = class extends BaseNode2 {
10621
10649
  constructor(autotypeKeyword, openParenthesisToken, argumentList, closeParenthesisToken) {
10622
10650
  super();
10623
- this.kind = 68 /* AutotypeCallExpression */;
10651
+ this.kind = 69 /* AutotypeCallExpression */;
10624
10652
  this.children = [autotypeKeyword, openParenthesisToken, argumentList, closeParenthesisToken];
10625
10653
  }
10626
10654
  get autotypeKeyword() {
@@ -10645,7 +10673,7 @@ var AutotypeCallExpression2 = class extends BaseNode2 {
10645
10673
  var IndexedAccessExpression2 = class extends BaseNode2 {
10646
10674
  constructor(expression, openSquareBracketToken, argumentList, closeSquareBracketToken) {
10647
10675
  super();
10648
- this.kind = 69 /* IndexedAccessExpression */;
10676
+ this.kind = 70 /* IndexedAccessExpression */;
10649
10677
  this.children = [expression, openSquareBracketToken, argumentList, closeSquareBracketToken];
10650
10678
  }
10651
10679
  get expression() {
@@ -10670,7 +10698,7 @@ var IndexedAccessExpression2 = class extends BaseNode2 {
10670
10698
  var InvalidExpression2 = class extends BaseNode2 {
10671
10699
  constructor() {
10672
10700
  super();
10673
- this.kind = 70 /* InvalidExpression */;
10701
+ this.kind = 71 /* InvalidExpression */;
10674
10702
  this.children = [];
10675
10703
  }
10676
10704
  get thisAsNode() {
@@ -10683,7 +10711,7 @@ var InvalidExpression2 = class extends BaseNode2 {
10683
10711
  var IsExpression2 = class extends BaseNode2 {
10684
10712
  constructor(expression, isKeyword2, typeSpecifier) {
10685
10713
  super();
10686
- this.kind = 71 /* IsExpression */;
10714
+ this.kind = 72 /* IsExpression */;
10687
10715
  this.children = [expression, isKeyword2, typeSpecifier];
10688
10716
  }
10689
10717
  get expression() {
@@ -10702,34 +10730,6 @@ var IsExpression2 = class extends BaseNode2 {
10702
10730
  return new IsExpression(this, rangeStart, parent);
10703
10731
  }
10704
10732
  };
10705
- var FunctionLiteral2 = class extends BaseNode2 {
10706
- constructor(asyncKeyword, functionKeyword, parameterClause, returnTypeAnnotation, block) {
10707
- super();
10708
- this.kind = 72 /* FunctionLiteral */;
10709
- this.children = [asyncKeyword, functionKeyword, parameterClause, returnTypeAnnotation, block];
10710
- }
10711
- get asyncKeyword() {
10712
- return this.children[0];
10713
- }
10714
- get functionKeyword() {
10715
- return this.children[1];
10716
- }
10717
- get parameterClause() {
10718
- return this.children[2];
10719
- }
10720
- get returnTypeAnnotation() {
10721
- return this.children[3];
10722
- }
10723
- get block() {
10724
- return this.children[4];
10725
- }
10726
- get thisAsNode() {
10727
- return this;
10728
- }
10729
- toRed(rangeStart, parent) {
10730
- return new FunctionLiteral(this, rangeStart, parent);
10731
- }
10732
- };
10733
10733
  var ParenthesizedExpression2 = class extends BaseNode2 {
10734
10734
  constructor(openParenthesisToken, expression, closeParenthesisToken) {
10735
10735
  super();
@@ -12130,18 +12130,18 @@ var TypeTranslation2 = class extends BaseNode2 {
12130
12130
  }
12131
12131
  };
12132
12132
  var TextLiteralTranslation2 = class extends BaseNode2 {
12133
- constructor(sourceTextLiteral, minusGreaterThanToken, translatedTextLiteral) {
12133
+ constructor(sourceText, minusGreaterThanToken, translatedText) {
12134
12134
  super();
12135
12135
  this.kind = 140 /* TextLiteralTranslation */;
12136
- this.children = [sourceTextLiteral, minusGreaterThanToken, translatedTextLiteral];
12136
+ this.children = [sourceText, minusGreaterThanToken, translatedText];
12137
12137
  }
12138
- get sourceTextLiteral() {
12138
+ get sourceText() {
12139
12139
  return this.children[0];
12140
12140
  }
12141
12141
  get minusGreaterThanToken() {
12142
12142
  return this.children[1];
12143
12143
  }
12144
- get translatedTextLiteral() {
12144
+ get translatedText() {
12145
12145
  return this.children[2];
12146
12146
  }
12147
12147
  get thisAsNode() {
@@ -12152,18 +12152,18 @@ var TextLiteralTranslation2 = class extends BaseNode2 {
12152
12152
  }
12153
12153
  };
12154
12154
  var TextTemplateLiteralTranslation2 = class extends BaseNode2 {
12155
- constructor(sourceTextTemplateLiteral, minusGreaterThanToken, translatedTextTemplateLiteral) {
12155
+ constructor(sourceText, minusGreaterThanToken, translatedTextOrTranslationFunction) {
12156
12156
  super();
12157
12157
  this.kind = 141 /* TextTemplateLiteralTranslation */;
12158
- this.children = [sourceTextTemplateLiteral, minusGreaterThanToken, translatedTextTemplateLiteral];
12158
+ this.children = [sourceText, minusGreaterThanToken, translatedTextOrTranslationFunction];
12159
12159
  }
12160
- get sourceTextTemplateLiteral() {
12160
+ get sourceText() {
12161
12161
  return this.children[0];
12162
12162
  }
12163
12163
  get minusGreaterThanToken() {
12164
12164
  return this.children[1];
12165
12165
  }
12166
- get translatedTextTemplateLiteral() {
12166
+ get translatedTextOrTranslationFunction() {
12167
12167
  return this.children[2];
12168
12168
  }
12169
12169
  get thisAsNode() {
@@ -12663,6 +12663,7 @@ var DiagnosticCode = /* @__PURE__ */ ((DiagnosticCode2) => {
12663
12663
  DiagnosticCode2[DiagnosticCode2["TagNameExpected"] = 130] = "TagNameExpected";
12664
12664
  DiagnosticCode2[DiagnosticCode2["TypeMemberTranslationExpected"] = 131] = "TypeMemberTranslationExpected";
12665
12665
  DiagnosticCode2[DiagnosticCode2["TranslationExpected"] = 132] = "TranslationExpected";
12666
+ DiagnosticCode2[DiagnosticCode2["TranslatedTextTemplateOrTranslationFunctionBlockExpected"] = 133] = "TranslatedTextTemplateOrTranslationFunctionBlockExpected";
12666
12667
  DiagnosticCode2[DiagnosticCode2["TypeCannotBeUsedAsValue"] = 201] = "TypeCannotBeUsedAsValue";
12667
12668
  DiagnosticCode2[DiagnosticCode2["PackageNameCannotBeUsedAsValue"] = 202] = "PackageNameCannotBeUsedAsValue";
12668
12669
  DiagnosticCode2[DiagnosticCode2["PackageAliasCannotBeUsedAsValue"] = 203] = "PackageAliasCannotBeUsedAsValue";
@@ -12896,6 +12897,7 @@ var englishErrorMessages = {
12896
12897
  [130 /* TagNameExpected */]: "Tag name expected.",
12897
12898
  [131 /* TypeMemberTranslationExpected */]: "Type member translation expected.",
12898
12899
  [132 /* TranslationExpected */]: "Translation expected.",
12900
+ [133 /* TranslatedTextTemplateOrTranslationFunctionBlockExpected */]: "Translated text template or translation function block expected.",
12899
12901
  [201 /* TypeCannotBeUsedAsValue */]: "Type name cannot be used as value.",
12900
12902
  [202 /* PackageNameCannotBeUsedAsValue */]: "Package name cannot be used as value.",
12901
12903
  [203 /* PackageAliasCannotBeUsedAsValue */]: "Package alias cannot be used as value.",
@@ -13089,6 +13091,7 @@ var russianErrorMessages = {
13089
13091
  [129 /* NameThatMatchesKeywordMustBeEnclosedInSingleQuotes */]: "\u0418\u043C\u044F, \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0449\u0435\u0435 \u0441 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u043C \u0441\u043B\u043E\u0432\u043E\u043C, \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0432\u0437\u044F\u0442\u043E \u0432 \u043E\u0434\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438.",
13090
13092
  [131 /* TypeMemberTranslationExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u0441\u044F \u043F\u0435\u0440\u0435\u0432\u043E\u0434 \u0447\u043B\u0435\u043D\u0430 \u0442\u0438\u043F\u0430.",
13091
13093
  [132 /* TranslationExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u0441\u044F \u043F\u0435\u0440\u0435\u0432\u043E\u0434.",
13094
+ [133 /* TranslatedTextTemplateOrTranslationFunctionBlockExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u0441\u044F \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0439 \u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043B\u0438 \u0431\u043B\u043E\u043A \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430.",
13092
13095
  [201 /* TypeCannotBeUsedAsValue */]: "\u0418\u043C\u044F \u0442\u0438\u043F\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043A\u0430\u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
13093
13096
  [202 /* PackageNameCannotBeUsedAsValue */]: "\u0418\u043C\u044F \u043F\u0430\u043A\u0435\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043A\u0430\u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
13094
13097
  [203 /* PackageAliasCannotBeUsedAsValue */]: "\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C \u043F\u0430\u043A\u0435\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D \u043A\u0430\u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
@@ -18135,6 +18138,23 @@ var TranslationPackage = class extends SourcePackageBase {
18135
18138
  return this.configuration.dialect;
18136
18139
  }
18137
18140
  };
18141
+ var TextTranslationPackage = class extends SourcePackageBase {
18142
+ constructor(uri, configuration, sourceFiles) {
18143
+ const name = configuration.name;
18144
+ super(uri, name, sourceFiles);
18145
+ this.kind = "text-translation";
18146
+ this.configuration = configuration;
18147
+ }
18148
+ get asPackage() {
18149
+ return this;
18150
+ }
18151
+ get locale() {
18152
+ return this.configuration.locale;
18153
+ }
18154
+ get dialect() {
18155
+ return this.configuration.dialect;
18156
+ }
18157
+ };
18138
18158
  var TranslationPackageConfiguration = class {
18139
18159
  constructor(targetPackageName, translatedName, translationLocale, locale, dialect = DefaultDialect) {
18140
18160
  this.targetPackageName = targetPackageName;
@@ -18147,6 +18167,17 @@ var TranslationPackageConfiguration = class {
18147
18167
  return new PackageName3([...this.targetPackageName.segments, new Name(localeToString(this.translationLocale))]);
18148
18168
  }
18149
18169
  };
18170
+ var TextTranslationPackageConfiguration = class {
18171
+ constructor(targetPackageName, translationLocale, locale, dialect = DefaultDialect) {
18172
+ this.targetPackageName = targetPackageName;
18173
+ this.translationLocale = translationLocale;
18174
+ this.locale = locale;
18175
+ this.dialect = dialect;
18176
+ }
18177
+ get name() {
18178
+ return new PackageName3([...this.targetPackageName.segments, new Name(localeToString(this.translationLocale))]);
18179
+ }
18180
+ };
18150
18181
  var ProgramPackageConfiguration = class {
18151
18182
  constructor(name, locale, dialect = DefaultDialect, version, targetPlatform = new TargetPlatformConfig.Any(), requiredPackages = [], implementedInterfacePackageName, jsProjectRootUri, packageImportLocales = [], automaticallyImportedPackages) {
18152
18183
  this.name = name;
@@ -18317,6 +18348,9 @@ var ConfigurationConverter = class {
18317
18348
  case "Translations":
18318
18349
  packageConfiguration = this.convertTranslationsConfiguration(configuration, defaultLocale, defaultDialect);
18319
18350
  break;
18351
+ case "TextTranslations":
18352
+ packageConfiguration = this.convertTextTranslationsConfiguration(configuration, defaultLocale, defaultDialect);
18353
+ break;
18320
18354
  default:
18321
18355
  Debug.never(configuration);
18322
18356
  }
@@ -18429,6 +18463,13 @@ var ConfigurationConverter = class {
18429
18463
  const dialect = configuration.dialect !== void 0 ? this.convertDialect(configuration.dialect) : defaultDialect ?? DefaultDialect;
18430
18464
  return new TranslationPackageConfiguration(targetPackageName, translatedName, translationLocale, locale, dialect);
18431
18465
  }
18466
+ static convertTextTranslationsConfiguration(configuration, defaultLocale, defaultDialect) {
18467
+ const targetPackageName = PackageName3.parse(configuration.originalPackageName);
18468
+ const translationLocale = this.convertLanguage(configuration.translationLanguage);
18469
+ const locale = configuration.language !== void 0 ? this.convertLanguage(configuration.language) : defaultLocale ?? DefaultLocale;
18470
+ const dialect = configuration.dialect !== void 0 ? this.convertDialect(configuration.dialect) : defaultDialect ?? DefaultDialect;
18471
+ return new TextTranslationPackageConfiguration(targetPackageName, translationLocale, locale, dialect);
18472
+ }
18432
18473
  static convertJavaScriptImplementation(implementation) {
18433
18474
  switch (implementation.type) {
18434
18475
  case "JavaScriptModule":
@@ -18542,6 +18583,9 @@ var config_en_schema_default = {
18542
18583
  },
18543
18584
  {
18544
18585
  $ref: "#/definitions/Translations"
18586
+ },
18587
+ {
18588
+ $ref: "#/definitions/TextTranslations"
18545
18589
  }
18546
18590
  ]
18547
18591
  },
@@ -18985,6 +19029,33 @@ var config_en_schema_default = {
18985
19029
  "translationLanguage"
18986
19030
  ],
18987
19031
  additionalProperties: false
19032
+ },
19033
+ TextTranslations: {
19034
+ type: "object",
19035
+ properties: {
19036
+ type: {
19037
+ type: "string",
19038
+ const: "TextTranslations"
19039
+ },
19040
+ originalPackageName: {
19041
+ type: "string"
19042
+ },
19043
+ translationLanguage: {
19044
+ $ref: "#/definitions/Language"
19045
+ },
19046
+ language: {
19047
+ $ref: "#/definitions/Language"
19048
+ },
19049
+ dialect: {
19050
+ $ref: "#/definitions/Dialect"
19051
+ }
19052
+ },
19053
+ required: [
19054
+ "type",
19055
+ "originalPackageName",
19056
+ "translationLanguage"
19057
+ ],
19058
+ additionalProperties: false
18988
19059
  }
18989
19060
  }
18990
19061
  };
@@ -19010,6 +19081,9 @@ var config_ru_schema_default = {
19010
19081
  },
19011
19082
  {
19012
19083
  $ref: "#/definitions/\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B"
19084
+ },
19085
+ {
19086
+ $ref: "#/definitions/\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0422\u0435\u043A\u0441\u0442\u043E\u0432"
19013
19087
  }
19014
19088
  ]
19015
19089
  },
@@ -19460,6 +19534,33 @@ var config_ru_schema_default = {
19460
19534
  "\u044F\u0437\u044B\u043A\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0430"
19461
19535
  ],
19462
19536
  additionalProperties: false
19537
+ },
19538
+ \u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0422\u0435\u043A\u0441\u0442\u043E\u0432: {
19539
+ type: "object",
19540
+ properties: {
19541
+ \u0442\u0438\u043F: {
19542
+ type: "string",
19543
+ const: "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0422\u0435\u043A\u0441\u0442\u043E\u0432"
19544
+ },
19545
+ \u0438\u043C\u044F\u041F\u0430\u043A\u0435\u0442\u0430\u0418\u0441\u0445\u043E\u0434\u043D\u043E\u0435: {
19546
+ type: "string"
19547
+ },
19548
+ \u044F\u0437\u044B\u043A\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0430: {
19549
+ $ref: "#/definitions/\u042F\u0437\u044B\u043A"
19550
+ },
19551
+ \u044F\u0437\u044B\u043A: {
19552
+ $ref: "#/definitions/\u042F\u0437\u044B\u043A"
19553
+ },
19554
+ \u0434\u0438\u0430\u043B\u0435\u043A\u0442: {
19555
+ $ref: "#/definitions/\u0414\u0438\u0430\u043B\u0435\u043A\u0442"
19556
+ }
19557
+ },
19558
+ required: [
19559
+ "\u0442\u0438\u043F",
19560
+ "\u0438\u043C\u044F\u041F\u0430\u043A\u0435\u0442\u0430\u0418\u0441\u0445\u043E\u0434\u043D\u043E\u0435",
19561
+ "\u044F\u0437\u044B\u043A\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0430"
19562
+ ],
19563
+ additionalProperties: false
19463
19564
  }
19464
19565
  }
19465
19566
  };
@@ -19523,6 +19624,8 @@ var RussianConfigurationTranslator = class {
19523
19624
  return this.translatePackageGroup(value);
19524
19625
  case "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B":
19525
19626
  return this.translateTranslations(value);
19627
+ case "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0422\u0435\u043A\u0441\u0442\u043E\u0432":
19628
+ return this.translateTextTranslations(value);
19526
19629
  default:
19527
19630
  Debug.never(value);
19528
19631
  }
@@ -19555,6 +19658,15 @@ var RussianConfigurationTranslator = class {
19555
19658
  dialect: value.\u0434\u0438\u0430\u043B\u0435\u043A\u0442 !== void 0 ? this.translateDialect(value.\u0434\u0438\u0430\u043B\u0435\u043A\u0442) : void 0
19556
19659
  };
19557
19660
  }
19661
+ static translateTextTranslations(value) {
19662
+ return {
19663
+ type: "TextTranslations",
19664
+ originalPackageName: value.\u0438\u043C\u044F\u041F\u0430\u043A\u0435\u0442\u0430\u0418\u0441\u0445\u043E\u0434\u043D\u043E\u0435,
19665
+ translationLanguage: this.translateLanguage(value.\u044F\u0437\u044B\u043A\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0430),
19666
+ language: value.\u044F\u0437\u044B\u043A !== void 0 ? this.translateLanguage(value.\u044F\u0437\u044B\u043A) : void 0,
19667
+ dialect: value.\u0434\u0438\u0430\u043B\u0435\u043A\u0442 !== void 0 ? this.translateDialect(value.\u0434\u0438\u0430\u043B\u0435\u043A\u0442) : void 0
19668
+ };
19669
+ }
19558
19670
  static translateLanguage(value) {
19559
19671
  switch (value) {
19560
19672
  case "\u0440\u0443\u0441\u0441\u043A\u0438\u0439" /* Русский */:
@@ -21402,7 +21514,7 @@ var StatementParser = class {
21402
21514
  result = new AssignmentStatement2(expression, operator, right);
21403
21515
  } else {
21404
21516
  result = new ExpressionStatement2(expression);
21405
- if (this.parser.dialect === 1 /* ArtelA */ && expression.kind !== 67 /* CallExpression */ && expression.kind !== 70 /* InvalidExpression */) {
21517
+ if (this.parser.dialect === 1 /* ArtelA */ && expression.kind !== 68 /* CallExpression */ && expression.kind !== 71 /* InvalidExpression */) {
21406
21518
  const expressionStart = startTokenOrKeyword.getRangeWithoutTrivia().start;
21407
21519
  const triviaLength = expressionStart - statementStart;
21408
21520
  const diagnosticRange = new Range(expressionStart, expressionStart + expression.rangeLength - triviaLength);
@@ -22023,14 +22135,16 @@ var ExpressionParser = class {
22023
22135
  const head = this.parser.parseExpectedToken(7 /* TextTemplateHead */);
22024
22136
  const spanListStart = this.parser.tokenOrKeywordStartPosition();
22025
22137
  const spans = new Array();
22026
- let span;
22027
- do {
22028
- const spanStart = this.parser.tokenOrKeywordStartPosition();
22029
- const expression = this.parseExpression(false);
22030
- const text = this.parseTextTemplatePartOrTail();
22031
- span = this.parser.intern(new TextTemplateSpan2(expression, text), spanStart);
22032
- spans.push(span);
22033
- } while (span.text.tokenKind === 8 /* TextTemplatePart */);
22138
+ if (!head.isMissing) {
22139
+ let span;
22140
+ do {
22141
+ const spanStart = this.parser.tokenOrKeywordStartPosition();
22142
+ const expression = this.parseExpression(false);
22143
+ const text = this.parseTextTemplatePartOrTail();
22144
+ span = this.parser.intern(new TextTemplateSpan2(expression, text), spanStart);
22145
+ spans.push(span);
22146
+ } while (span.text.tokenKind === 8 /* TextTemplatePart */);
22147
+ }
22034
22148
  const spanList = this.parser.intern(new TextTemplateSpanList2(spans), spanListStart);
22035
22149
  const result = new TextTemplateLiteral2(head, spanList);
22036
22150
  return this.parser.intern(result, literalStart);
@@ -22079,7 +22193,7 @@ var PackageMemberDeclarationParser = class {
22079
22193
  const declarationStart = this.parser.tokenOrKeywordStartPosition();
22080
22194
  const tagList = this.parser.tagParser.parseTagList();
22081
22195
  const modifierList = this.parser.modifierParser.parseModifierList();
22082
- const allowGroupDeclaration = modifierList.modifiers.length > 0;
22196
+ const allowGroupDeclaration = tagList.tags.length > 0 || modifierList.modifiers.length > 0;
22083
22197
  const parsingFunction = this.getPackageMemberDeclarationParsingFunction(allowGroupDeclaration);
22084
22198
  if (parsingFunction === void 0) {
22085
22199
  this.parser.tryReportDiagnosticAtCurrentRange(105 /* PackageMemberDeclarationExpected */);
@@ -22374,7 +22488,7 @@ var TypeMemberDeclarationParser = class {
22374
22488
  const declarationStart = this.parser.tokenOrKeywordStartPosition();
22375
22489
  const tagList = this.parser.tagParser.parseTagList();
22376
22490
  const modifierList = this.parser.modifierParser.parseModifierList();
22377
- const allowGroupDeclaration = modifierList.modifiers.length > 0;
22491
+ const allowGroupDeclaration = tagList.tags.length > 0 || modifierList.modifiers.length > 0;
22378
22492
  const parsingFunction = this.getTypeMemberDeclarationParsingFunction(
22379
22493
  allowGroupDeclaration,
22380
22494
  parseVariantInsteadOfVariable
@@ -23322,25 +23436,41 @@ var TranslationsDeclarationParser = class {
23322
23436
  }
23323
23437
  parseTextLiteralTranslation() {
23324
23438
  const translationStart = this.parser.tokenOrKeywordStartPosition();
23325
- const sourceTextLiteral = this.parser.parseExpectedToken(6 /* TextLiteral */);
23439
+ const sourceText = this.parser.parseExpectedToken(6 /* TextLiteral */);
23326
23440
  const minusGreaterThanToken = this.parser.parseExpectedToken(43 /* MinusGreaterThan */);
23327
- const translatedTextLiteral = this.parser.parseExpectedToken(6 /* TextLiteral */);
23328
- const result = new TextLiteralTranslation2(
23329
- sourceTextLiteral,
23330
- minusGreaterThanToken,
23331
- translatedTextLiteral
23332
- );
23441
+ const translatedText = this.parser.parseExpectedToken(6 /* TextLiteral */);
23442
+ const result = new TextLiteralTranslation2(sourceText, minusGreaterThanToken, translatedText);
23333
23443
  return this.parser.intern(result, translationStart);
23334
23444
  }
23335
23445
  parseTextTemplateLiteralTranslation() {
23336
23446
  const translationStart = this.parser.tokenOrKeywordStartPosition();
23337
23447
  const sourceTextTemplateLiteral = this.parser.expressionParser.parseTextTemplateLiteral();
23338
23448
  const minusGreaterThanToken = this.parser.parseExpectedToken(43 /* MinusGreaterThan */);
23339
- const translatedTextTemplateLiteral = this.parser.expressionParser.parseTextTemplateLiteral();
23449
+ let translatedTextOrTranslationFunction;
23450
+ if (this.parser.currentTokenOrKeyword.kind === "token") {
23451
+ switch (this.parser.currentTokenOrKeyword.tokenKind) {
23452
+ case 7 /* TextTemplateHead */: {
23453
+ translatedTextOrTranslationFunction = this.parser.expressionParser.parseTextTemplateLiteral();
23454
+ break;
23455
+ }
23456
+ case 44 /* OpenBrace */: {
23457
+ translatedTextOrTranslationFunction = this.parser.expressionParser.parseFunctionBlockLiteral();
23458
+ break;
23459
+ }
23460
+ }
23461
+ } else if (this.parser.currentTokenOrKeyword.isKeyword(12 /* Function */)) {
23462
+ translatedTextOrTranslationFunction = this.parser.expressionParser.parseFunctionLiteral();
23463
+ }
23464
+ if (translatedTextOrTranslationFunction === void 0) {
23465
+ translatedTextOrTranslationFunction = new InvalidExpression2();
23466
+ this.parser.tryReportDiagnosticAtCurrentRange(
23467
+ 133 /* TranslatedTextTemplateOrTranslationFunctionBlockExpected */
23468
+ );
23469
+ }
23340
23470
  const result = new TextTemplateLiteralTranslation2(
23341
23471
  sourceTextTemplateLiteral,
23342
23472
  minusGreaterThanToken,
23343
- translatedTextTemplateLiteral
23473
+ translatedTextOrTranslationFunction
23344
23474
  );
23345
23475
  return this.parser.intern(result, translationStart);
23346
23476
  }
@@ -24401,8 +24531,10 @@ var FSTreeCompilationLoader = class {
24401
24531
  if (this._config.enableLogging) {
24402
24532
  if (configuration instanceof ProgramPackageConfiguration) {
24403
24533
  Logger.info(`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0439 \u043F\u0430\u043A\u0435\u0442 '${configuration.name}' \u043F\u043E \u043F\u0443\u0442\u0438 '${directory.uri}'.`);
24404
- } else {
24534
+ } else if (configuration instanceof TranslationPackageConfiguration) {
24405
24535
  Logger.info(`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F \u043F\u0430\u043A\u0435\u0442 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u0432 \u0434\u043B\u044F \u043F\u0430\u043A\u0435\u0442\u0430 '${configuration.targetPackageName}' \u043D\u0430 \u044F\u0437\u044B\u043A '${localeToString(configuration.translationLocale)}' \u043F\u043E \u043F\u0443\u0442\u0438 '${directory.uri}'.`);
24536
+ } else if (configuration instanceof TextTranslationPackageConfiguration) {
24537
+ Logger.info(`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F \u043F\u0430\u043A\u0435\u0442 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u0434\u043B\u044F \u043F\u0430\u043A\u0435\u0442\u0430 '${configuration.targetPackageName}' \u043D\u0430 \u044F\u0437\u044B\u043A '${localeToString(configuration.translationLocale)}' \u043F\u043E \u043F\u0443\u0442\u0438 '${directory.uri}'.`);
24406
24538
  }
24407
24539
  }
24408
24540
  const sourceFiles = new Array();
@@ -24419,6 +24551,8 @@ var FSTreeCompilationLoader = class {
24419
24551
  pkg = new ProgramPackage(directory.uri, configuration, sourceFiles);
24420
24552
  } else if (configuration instanceof TranslationPackageConfiguration) {
24421
24553
  pkg = new TranslationPackage(directory.uri, configuration, sourceFiles);
24554
+ } else if (configuration instanceof TextTranslationPackageConfiguration) {
24555
+ pkg = new TextTranslationPackage(directory.uri, configuration, sourceFiles);
24422
24556
  } else {
24423
24557
  Debug.never(configuration);
24424
24558
  }
@@ -24536,6 +24670,9 @@ var PackageContentsCompilationLoader = class {
24536
24670
  case "Translations":
24537
24671
  configuration = ConfigurationConverter.convertTranslationsConfiguration(rawConfiguration);
24538
24672
  break;
24673
+ case "TextTranslations":
24674
+ configuration = ConfigurationConverter.convertTextTranslationsConfiguration(rawConfiguration);
24675
+ break;
24539
24676
  case "PackageGroup":
24540
24677
  Debug.unreachable("\u0412 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0430 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u043F\u0430\u043A\u0435\u0442\u043E\u0432 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u0432.");
24541
24678
  default:
@@ -24551,6 +24688,8 @@ var PackageContentsCompilationLoader = class {
24551
24688
  result = new ProgramPackage(packageUri, configuration, sourceFiles);
24552
24689
  } else if (configuration instanceof TranslationPackageConfiguration) {
24553
24690
  result = new TranslationPackage(packageUri, configuration, sourceFiles);
24691
+ } else if (configuration instanceof TextTranslationPackageConfiguration) {
24692
+ result = new TextTranslationPackage(packageUri, configuration, sourceFiles);
24554
24693
  } else {
24555
24694
  Debug.never(configuration);
24556
24695
  }
@@ -29092,17 +29231,17 @@ var NodeTypeUtils = class {
29092
29231
  case 62 /* AssumptionExpression */:
29093
29232
  case 85 /* BaseExpression */:
29094
29233
  case 64 /* BinaryExpression */:
29095
- case 65 /* FunctionBlockLiteral */:
29096
- case 67 /* CallExpression */:
29234
+ case 66 /* FunctionBlockLiteral */:
29235
+ case 68 /* CallExpression */:
29097
29236
  case 84 /* ObjectExpression */:
29098
29237
  case 88 /* DefaultMatchExpression */:
29099
29238
  case 86 /* IdentifierExpression */:
29100
- case 68 /* AutotypeCallExpression */:
29101
- case 69 /* IndexedAccessExpression */:
29102
- case 70 /* InvalidExpression */:
29103
- case 71 /* IsExpression */:
29239
+ case 69 /* AutotypeCallExpression */:
29240
+ case 70 /* IndexedAccessExpression */:
29241
+ case 71 /* InvalidExpression */:
29242
+ case 72 /* IsExpression */:
29104
29243
  case 83 /* KeywordExpression */:
29105
- case 72 /* FunctionLiteral */:
29244
+ case 65 /* FunctionLiteral */:
29106
29245
  case 73 /* ParenthesizedExpression */:
29107
29246
  case 75 /* PrefixUnaryExpression */:
29108
29247
  case 76 /* MemberAccessExpression */:
@@ -29217,8 +29356,8 @@ var NodeTypeUtils = class {
29217
29356
  case 50 /* MethodDeclaration */:
29218
29357
  case 51 /* OperatorDeclaration */:
29219
29358
  case 56 /* NestedFunctionDeclaration */:
29220
- case 72 /* FunctionLiteral */:
29221
- case 65 /* FunctionBlockLiteral */:
29359
+ case 65 /* FunctionLiteral */:
29360
+ case 66 /* FunctionBlockLiteral */:
29222
29361
  case 23 /* PackageConstructorDeclaration */:
29223
29362
  case 24 /* PackageEntryPointDeclaration */:
29224
29363
  case 43 /* ConstructorDeclaration */:
@@ -29368,7 +29507,7 @@ var PackageVariableDeclarationEntity = class {
29368
29507
  return void 0;
29369
29508
  }
29370
29509
  getTags() {
29371
- return this._analyzer.tags.ofTagList(this._node.tagList);
29510
+ return this._analyzer.tags.ofNodeWithTags(this._node);
29372
29511
  }
29373
29512
  ensureAllDiagnosticsReported() {
29374
29513
  if (!this._hasReportedAllDiagnostics) {
@@ -29524,7 +29663,7 @@ var FieldDeclarationEntity = class {
29524
29663
  return void 0;
29525
29664
  }
29526
29665
  getTags() {
29527
- return this._analyzer.tags.ofTagList(this._node.tagList);
29666
+ return this._analyzer.tags.ofNodeWithTags(this._node);
29528
29667
  }
29529
29668
  getContainer() {
29530
29669
  return this._analyzer.getTypeMemberEntityContainer(this._node);
@@ -29707,7 +29846,7 @@ var VariantDeclarationEntity = class {
29707
29846
  return void 0;
29708
29847
  }
29709
29848
  getTags() {
29710
- return this._analyzer.tags.ofTagList(this._node.tagList);
29849
+ return this._analyzer.tags.ofNodeWithTags(this._node);
29711
29850
  }
29712
29851
  getContainer() {
29713
29852
  return this._analyzer.getTypeMemberEntityContainer(this._node);
@@ -29969,7 +30108,7 @@ var ParameterDeclarationEntity = class {
29969
30108
  return void 0;
29970
30109
  }
29971
30110
  getTags() {
29972
- return this._analyzer.tags.ofTagList(this._node.tagList);
30111
+ return this._analyzer.tags.ofNodeWithTags(this._node);
29973
30112
  }
29974
30113
  getContainer() {
29975
30114
  const containingDeclaration = this._node.parent.parent.parent;
@@ -30010,7 +30149,7 @@ var ParameterDeclarationEntity = class {
30010
30149
  this._analyzer.entity.ofOperatorDeclaration(containingDeclaration)
30011
30150
  );
30012
30151
  }
30013
- case 72 /* FunctionLiteral */: {
30152
+ case 65 /* FunctionLiteral */: {
30014
30153
  const containingEntity = TreeQuery.fromNode(this._node).containingEntity(this._analyzer);
30015
30154
  return new ParameterVariableEntityContainer.FunctionLiteral(containingEntity);
30016
30155
  }
@@ -30102,7 +30241,7 @@ var IndexParameterDeclarationEntity = class {
30102
30241
  return void 0;
30103
30242
  }
30104
30243
  getTags() {
30105
- return this._analyzer.tags.ofTagList(this._getterOrSetterParameterDeclaration.tagList);
30244
+ return this._analyzer.tags.ofNodeWithTags(this._getterOrSetterParameterDeclaration);
30106
30245
  }
30107
30246
  getContainer() {
30108
30247
  return new ParameterVariableEntityContainer.Entity(this._indexerEntity);
@@ -30170,7 +30309,7 @@ var FunctionLiteralParameterDeclarationEntity = class {
30170
30309
  return void 0;
30171
30310
  }
30172
30311
  getTags() {
30173
- return this._analyzer.tags.ofTagList(this._node.tagList);
30312
+ return this._analyzer.tags.ofNodeWithTags(this._node);
30174
30313
  }
30175
30314
  getContainer() {
30176
30315
  const containingEntity = TreeQuery.fromNode(this._node).containingEntity(this._analyzer);
@@ -32760,7 +32899,7 @@ var Resolver3 = class {
32760
32899
  this._node = node;
32761
32900
  }
32762
32901
  resolve() {
32763
- if (this._node.parent.kind === 67 /* CallExpression */) {
32902
+ if (this._node.parent.kind === 68 /* CallExpression */) {
32764
32903
  return this.resolveBaseConstructorOrMethodAccess(this._node.parent);
32765
32904
  }
32766
32905
  return this.resolveBaseObjectAccess();
@@ -33579,13 +33718,13 @@ var Resolver7 = class {
33579
33718
  );
33580
33719
  }
33581
33720
  resolveFunctionOverload(candidates) {
33582
- if (this._node.parent.kind === 67 /* CallExpression */) {
33721
+ if (this._node.parent.kind === 68 /* CallExpression */) {
33583
33722
  return {
33584
33723
  suitableFunctions: this._analyzer.resolveFunctionOverloadByCallExpression(candidates, this._node.parent),
33585
33724
  dependsOnTargetType: false
33586
33725
  };
33587
33726
  }
33588
- if (this._node.parent.kind === 87 /* GenericSpecializationExpression */ && this._node.parent.parent.kind === 67 /* CallExpression */) {
33727
+ if (this._node.parent.kind === 87 /* GenericSpecializationExpression */ && this._node.parent.parent.kind === 68 /* CallExpression */) {
33589
33728
  return {
33590
33729
  suitableFunctions: this._analyzer.resolveFunctionOverloadByCallExpression(candidates, this._node.parent.parent),
33591
33730
  dependsOnTargetType: false
@@ -34501,13 +34640,13 @@ var Resolver9 = class {
34501
34640
  );
34502
34641
  }
34503
34642
  resolveFunctionOverload(candidates) {
34504
- if (this._node.parent.kind === 67 /* CallExpression */) {
34643
+ if (this._node.parent.kind === 68 /* CallExpression */) {
34505
34644
  return {
34506
34645
  suitableFunctions: this._analyzer.resolveFunctionOverloadByCallExpression(candidates, this._node.parent),
34507
34646
  dependsOnTargetType: false
34508
34647
  };
34509
34648
  }
34510
- if (this._node.parent.kind === 87 /* GenericSpecializationExpression */ && this._node.parent.parent.kind === 67 /* CallExpression */) {
34649
+ if (this._node.parent.kind === 87 /* GenericSpecializationExpression */ && this._node.parent.parent.kind === 68 /* CallExpression */) {
34511
34650
  return {
34512
34651
  suitableFunctions: this._analyzer.resolveFunctionOverloadByCallExpression(candidates, this._node.parent.parent),
34513
34652
  dependsOnTargetType: false
@@ -35027,7 +35166,7 @@ var Resolver10 = class {
35027
35166
  this._node = node;
35028
35167
  }
35029
35168
  resolve() {
35030
- if (this._node.parent.kind === 67 /* CallExpression */) {
35169
+ if (this._node.parent.kind === 68 /* CallExpression */) {
35031
35170
  return this.resolveOwnConstructorAccess(this._node.parent);
35032
35171
  }
35033
35172
  return this.resolveContextAccess();
@@ -36383,7 +36522,7 @@ var GraphBuilder = class {
36383
36522
  case 75 /* PrefixUnaryExpression */:
36384
36523
  this.visitPrefixUnaryExpressionInCondition(node, conditionTargets);
36385
36524
  break;
36386
- case 71 /* IsExpression */:
36525
+ case 72 /* IsExpression */:
36387
36526
  this.visitIsExpressionInCondition(node, conditionTargets);
36388
36527
  break;
36389
36528
  case 73 /* ParenthesizedExpression */:
@@ -36578,8 +36717,8 @@ function isNodeStartingNewFlow(node) {
36578
36717
  case 53 /* FieldGetterDeclaration */:
36579
36718
  case 54 /* FieldSetterDeclaration */:
36580
36719
  case 56 /* NestedFunctionDeclaration */:
36581
- case 65 /* FunctionBlockLiteral */:
36582
- case 72 /* FunctionLiteral */:
36720
+ case 66 /* FunctionBlockLiteral */:
36721
+ case 65 /* FunctionLiteral */:
36583
36722
  return true;
36584
36723
  default:
36585
36724
  Debug.typeIsAssignableTo();
@@ -36922,7 +37061,7 @@ var TypeNarrower = class {
36922
37061
  }
36923
37062
  return typeAtPredecessor;
36924
37063
  }
36925
- case 71 /* IsExpression */:
37064
+ case 72 /* IsExpression */:
36926
37065
  return this.getTypeAtIsExpression(typeAtPredecessor, node.syntaxNode, node.isTrue);
36927
37066
  default:
36928
37067
  Debug.never(node.syntaxNode);
@@ -37875,9 +38014,9 @@ var SubprogramInfo;
37875
38014
  }
37876
38015
  getSignatureType() {
37877
38016
  switch (this._node.kind) {
37878
- case 65 /* FunctionBlockLiteral */:
38017
+ case 66 /* FunctionBlockLiteral */:
37879
38018
  return this._analyzer.type.ofFunctionBlockLiteral(this._node);
37880
- case 72 /* FunctionLiteral */:
38019
+ case 65 /* FunctionLiteral */:
37881
38020
  return this._analyzer.type.ofFunctionLiteral(this._node);
37882
38021
  default:
37883
38022
  Debug.never(this._node);
@@ -38172,14 +38311,14 @@ var SemanticContextBuilder = class {
38172
38311
  if (result === void 0) {
38173
38312
  const outer = this.outermostSemanticContextOfRegularOrBlockFunctionLiteral(node);
38174
38313
  switch (node.kind) {
38175
- case 72 /* FunctionLiteral */:
38314
+ case 65 /* FunctionLiteral */:
38176
38315
  result = new ExplicitSubprogramParameterSemanticContext(
38177
38316
  this._analyzer,
38178
38317
  node.parameterClause.parameterList,
38179
38318
  outer
38180
38319
  );
38181
38320
  break;
38182
- case 65 /* FunctionBlockLiteral */:
38321
+ case 66 /* FunctionBlockLiteral */:
38183
38322
  result = new FunctionBlockLiteralParameterSemanticContext(this._analyzer, node, outer);
38184
38323
  break;
38185
38324
  default:
@@ -38299,8 +38438,8 @@ var SemanticContextBuilder = class {
38299
38438
  case 51 /* OperatorDeclaration */:
38300
38439
  outer = this.ofOperatorDeclarationParameters(node.parent);
38301
38440
  break;
38302
- case 65 /* FunctionBlockLiteral */:
38303
- case 72 /* FunctionLiteral */:
38441
+ case 66 /* FunctionBlockLiteral */:
38442
+ case 65 /* FunctionLiteral */:
38304
38443
  outer = this.ofRegularOrBlockFunctionLiteralParameters(node.parent);
38305
38444
  break;
38306
38445
  default:
@@ -38427,8 +38566,8 @@ var SemanticContextBuilder = class {
38427
38566
  return this.outermostSemanticContextOfIndexedElementAccessorDeclaration(node);
38428
38567
  case 51 /* OperatorDeclaration */:
38429
38568
  return this.outermostSemanticContextOfOperatorDeclaration(node);
38430
- case 65 /* FunctionBlockLiteral */:
38431
- case 72 /* FunctionLiteral */:
38569
+ case 66 /* FunctionBlockLiteral */:
38570
+ case 65 /* FunctionLiteral */:
38432
38571
  return this.outermostSemanticContextOfRegularOrBlockFunctionLiteral(node);
38433
38572
  default:
38434
38573
  Debug.never(node);
@@ -38493,9 +38632,9 @@ var SemanticContextBuilder = class {
38493
38632
  return offset === void 0 ? this.ofFunctionTypeDeclarationParameters(cursor) : this.ofChildOfFunctionTypeDeclarationBody(cursor, offset);
38494
38633
  case 38 /* TypeExtensionDeclaration */:
38495
38634
  return offset === void 0 ? this.ofTypeExtensionDeclarationBody(cursor) : this.ofChildOfTypeExtensionDeclaration(cursor, offset);
38496
- case 72 /* FunctionLiteral */:
38635
+ case 65 /* FunctionLiteral */:
38497
38636
  return offset === void 0 ? this.ofRegularOrBlockFunctionLiteralParameters(cursor) : this.ofChildOfFunctionLiteral(cursor, offset);
38498
- case 65 /* FunctionBlockLiteral */:
38637
+ case 66 /* FunctionBlockLiteral */:
38499
38638
  if (offset === void 0) {
38500
38639
  return this.ofRegularOrBlockFunctionLiteralParameters(cursor);
38501
38640
  } else if (this.isOffsetInsideFunctionBlock(offset, cursor.block)) {
@@ -39109,9 +39248,9 @@ var SpecialLocalDeclarationsBuilder = class {
39109
39248
  return this.buildForMethodDeclaration(analyzer, node.parent);
39110
39249
  case 56 /* NestedFunctionDeclaration */:
39111
39250
  return this.buildForNestedFunctionDeclaration(analyzer, node.parent);
39112
- case 65 /* FunctionBlockLiteral */:
39251
+ case 66 /* FunctionBlockLiteral */:
39113
39252
  return this.buildForFunctionBlockLiteral(analyzer, node.parent);
39114
- case 72 /* FunctionLiteral */:
39253
+ case 65 /* FunctionLiteral */:
39115
39254
  return this.buildForFunctionLiteral(analyzer, node.parent);
39116
39255
  case 51 /* OperatorDeclaration */:
39117
39256
  return this.buildForOperatorDeclaration(analyzer, node.parent);
@@ -39940,7 +40079,7 @@ var Analyzer = class _Analyzer {
39940
40079
  let result = false;
39941
40080
  const visitor = (node2) => {
39942
40081
  switch (node2.kind) {
39943
- case 67 /* CallExpression */: {
40082
+ case 68 /* CallExpression */: {
39944
40083
  const meaning = this.getCallExpressionMeaning(node2);
39945
40084
  if (meaning.kind === "function-call" && meaning.func.value.getEntity().isAsync()) {
39946
40085
  result = true;
@@ -39949,8 +40088,8 @@ var Analyzer = class _Analyzer {
39949
40088
  }
39950
40089
  break;
39951
40090
  }
39952
- case 72 /* FunctionLiteral */:
39953
- case 65 /* FunctionBlockLiteral */:
40091
+ case 65 /* FunctionLiteral */:
40092
+ case 66 /* FunctionBlockLiteral */:
39954
40093
  case 56 /* NestedFunctionDeclaration */:
39955
40094
  case 15 /* AnonymousTypeSpecifier */:
39956
40095
  break;
@@ -40106,16 +40245,16 @@ var Analyzer = class _Analyzer {
40106
40245
  getRespectiveParameter(node) {
40107
40246
  let matchResult;
40108
40247
  switch (node.parent.parent.kind) {
40109
- case 67 /* CallExpression */:
40248
+ case 68 /* CallExpression */:
40110
40249
  matchResult = this.argumentToParameterMatchResult.ofCallExpression(node.parent.parent);
40111
40250
  break;
40112
- case 68 /* AutotypeCallExpression */:
40251
+ case 69 /* AutotypeCallExpression */:
40113
40252
  matchResult = this.argumentToParameterMatchResult.ofAutotypeCallExpression(node.parent.parent);
40114
40253
  break;
40115
40254
  case 147 /* Tag */:
40116
40255
  matchResult = this.argumentToParameterMatchResult.ofTag(node.parent.parent);
40117
40256
  break;
40118
- case 69 /* IndexedAccessExpression */:
40257
+ case 70 /* IndexedAccessExpression */:
40119
40258
  matchResult = this.argumentToParameterMatchResult.ofIndexedAccessExpression(node.parent.parent);
40120
40259
  break;
40121
40260
  default:
@@ -40207,8 +40346,8 @@ var Analyzer = class _Analyzer {
40207
40346
  isExpressionValidOptionalChaining(node) {
40208
40347
  switch (node.kind) {
40209
40348
  case 76 /* MemberAccessExpression */:
40210
- case 67 /* CallExpression */:
40211
- case 69 /* IndexedAccessExpression */:
40349
+ case 68 /* CallExpression */:
40350
+ case 70 /* IndexedAccessExpression */:
40212
40351
  case 78 /* DereferenceExpression */: {
40213
40352
  if (node.expression.kind === 62 /* AssumptionExpression */) {
40214
40353
  const type = this.type.ofExpression(node.expression.expression);
@@ -40241,8 +40380,8 @@ var Analyzer = class _Analyzer {
40241
40380
  isExpressionOptionalChainingSyntactically(node) {
40242
40381
  switch (node.kind) {
40243
40382
  case 76 /* MemberAccessExpression */:
40244
- case 67 /* CallExpression */:
40245
- case 69 /* IndexedAccessExpression */:
40383
+ case 68 /* CallExpression */:
40384
+ case 70 /* IndexedAccessExpression */:
40246
40385
  case 78 /* DereferenceExpression */: {
40247
40386
  if (node.expression.kind === 62 /* AssumptionExpression */) {
40248
40387
  return true;
@@ -40451,8 +40590,8 @@ var Analyzer = class _Analyzer {
40451
40590
  switch (child.kind) {
40452
40591
  case 15 /* AnonymousTypeSpecifier */:
40453
40592
  case 56 /* NestedFunctionDeclaration */:
40454
- case 72 /* FunctionLiteral */:
40455
- case 65 /* FunctionBlockLiteral */:
40593
+ case 65 /* FunctionLiteral */:
40594
+ case 66 /* FunctionBlockLiteral */:
40456
40595
  return;
40457
40596
  default:
40458
40597
  visitChildren(child, visitor);
@@ -40975,8 +41114,8 @@ var Analyzer = class _Analyzer {
40975
41114
  case 53 /* FieldGetterDeclaration */:
40976
41115
  case 54 /* FieldSetterDeclaration */:
40977
41116
  case 56 /* NestedFunctionDeclaration */:
40978
- case 65 /* FunctionBlockLiteral */:
40979
- case 72 /* FunctionLiteral */:
41117
+ case 66 /* FunctionBlockLiteral */:
41118
+ case 65 /* FunctionLiteral */:
40980
41119
  isInTopLevelStatementBlockOfSubprogram = true;
40981
41120
  break;
40982
41121
  case 96 /* RunStatement */:
@@ -41191,7 +41330,7 @@ var Analyzer = class _Analyzer {
41191
41330
  } else {
41192
41331
  expression = block.expressionOrStatementList;
41193
41332
  }
41194
- if (expression.kind !== 67 /* CallExpression */) {
41333
+ if (expression.kind !== 68 /* CallExpression */) {
41195
41334
  diagnostics?.addDiagnostic(this.createNodeDiagnostic(
41196
41335
  277 /* IncorrectBodyOfBasicAliasTypeMethod */,
41197
41336
  node.block.openBraceToken
@@ -41620,19 +41759,19 @@ var Type4 = class {
41620
41759
  return this.ofAsExpression(node);
41621
41760
  case 64 /* BinaryExpression */:
41622
41761
  return this.ofBinaryExpression(node, targetTypeHint);
41623
- case 65 /* FunctionBlockLiteral */:
41762
+ case 66 /* FunctionBlockLiteral */:
41624
41763
  return this.ofFunctionBlockLiteral(node, targetTypeHint);
41625
- case 67 /* CallExpression */:
41764
+ case 68 /* CallExpression */:
41626
41765
  return this.ofCallExpression(node);
41627
- case 68 /* AutotypeCallExpression */:
41766
+ case 69 /* AutotypeCallExpression */:
41628
41767
  return this.ofAutotypeCallExpression(node, targetTypeHint);
41629
- case 69 /* IndexedAccessExpression */:
41768
+ case 70 /* IndexedAccessExpression */:
41630
41769
  return this.ofIndexedAccessExpression(node);
41631
- case 70 /* InvalidExpression */:
41770
+ case 71 /* InvalidExpression */:
41632
41771
  return this.ofInvalidExpression(node);
41633
- case 71 /* IsExpression */:
41772
+ case 72 /* IsExpression */:
41634
41773
  return this.ofIsExpression(node);
41635
- case 72 /* FunctionLiteral */:
41774
+ case 65 /* FunctionLiteral */:
41636
41775
  return this.ofFunctionLiteral(node, targetTypeHint);
41637
41776
  case 73 /* ParenthesizedExpression */:
41638
41777
  return this.ofParenthesizedExpression(node, targetTypeHint);
@@ -42281,7 +42420,7 @@ var TargetType = class {
42281
42420
  return this.getTargetTypeOfChildOfBinaryExpression(node.parent, node);
42282
42421
  case 145 /* Argument */:
42283
42422
  return this.getTargetTypeOfChildOfArgument(node.parent, node);
42284
- case 67 /* CallExpression */:
42423
+ case 68 /* CallExpression */:
42285
42424
  return this.getTargetTypeOfChildOfCallExpression(node.parent, node);
42286
42425
  case 95 /* DisposeStatement */:
42287
42426
  return this.getTargetTypeOfChildOfDisposeStatement(node.parent, node);
@@ -42297,9 +42436,9 @@ var TargetType = class {
42297
42436
  return this.getTargetTypeOfChildOfPackageVariableDeclaration(node.parent, node);
42298
42437
  case 107 /* IfStatement */:
42299
42438
  return this.getTargetTypeOfChildOfIfStatement(node.parent, node);
42300
- case 69 /* IndexedAccessExpression */:
42439
+ case 70 /* IndexedAccessExpression */:
42301
42440
  return this.getTargetTypeOfChildOfIndexedAccessExpression(node.parent, node);
42302
- case 71 /* IsExpression */:
42441
+ case 72 /* IsExpression */:
42303
42442
  return this.getTargetTypeOfChildOfIsExpression(node.parent, node);
42304
42443
  case 57 /* LocalVariableDeclaration */:
42305
42444
  return this.getTargetTypeOfChildOfLocalVariableDeclaration(node.parent, node);
@@ -42728,7 +42867,7 @@ var Entity4 = class {
42728
42867
  let result = this._parameterVariableEntities.get(node);
42729
42868
  if (result === void 0) {
42730
42869
  const owner = node.parent.parent.parent;
42731
- if (owner.kind === 72 /* FunctionLiteral */) {
42870
+ if (owner.kind === 65 /* FunctionLiteral */) {
42732
42871
  result = new FunctionLiteralParameterDeclarationEntity(this._analyzer, node, owner);
42733
42872
  } else if (owner.kind === 45 /* IndexedElementGetterDeclaration */ || owner.kind === 46 /* IndexedElementSetterDeclaration */) {
42734
42873
  const indexer = this.ofIndexerDeclaration(owner);
@@ -43530,10 +43669,10 @@ var OverriddenMember = class {
43530
43669
  this._overriddenAndShadowedOperators = /* @__PURE__ */ new Map();
43531
43670
  this._overriddenAndShadowedIndexers = /* @__PURE__ */ new Map();
43532
43671
  this._overriddenAndShadowedDereferenceOperators = /* @__PURE__ */ new Map();
43533
- this._namedMemberFinder = this.findOverriddenOrShadowedNamedMemberInType.bind(this);
43534
- this._operatorFinder = this.findOverriddenOrShadowedOperatorInType.bind(this);
43535
- this._indexerFinder = this.findOverriddenOrShadowedIndexerInType.bind(this);
43536
- this._dereferenceOperatorFinder = this.findOverriddenOrShadowedDereferenceOperatorInType.bind(this);
43672
+ this._namedMemberFinder = this.findOverriddenOrShadowedNamedMembersInType.bind(this);
43673
+ this._operatorFinder = this.findOverriddenOrShadowedOperatorsInType.bind(this);
43674
+ this._indexerFinder = this.findOverriddenOrShadowedIndexersInType.bind(this);
43675
+ this._dereferenceOperatorFinder = this.findOverriddenOrShadowedDereferenceOperatorsInType.bind(this);
43537
43676
  this._isField = (m) => m.kind === "field";
43538
43677
  this._isMethod = (m) => m.kind === "method";
43539
43678
  this._isOperator = (m) => m.kind === "operator";
@@ -43625,8 +43764,8 @@ var OverriddenMember = class {
43625
43764
  const shadowedMembers = new Array();
43626
43765
  if (this.entityCanOverrideOrShadow(entity)) {
43627
43766
  for (const lookup of this.enumerateTypeMemberLookups(entity, contextualNode)) {
43628
- const overriddenOrShadowedMember = overriddenOrShadowedMemberFinder(entity, lookup);
43629
- if (overriddenOrShadowedMember !== void 0) {
43767
+ const overriddenOrShadowedMembers = overriddenOrShadowedMemberFinder(entity, lookup);
43768
+ for (const overriddenOrShadowedMember of overriddenOrShadowedMembers) {
43630
43769
  if (!isMemberOfCorrectKind(overriddenOrShadowedMember)) {
43631
43770
  if (!shadowedMembers.some((m) => m.value.equals(overriddenOrShadowedMember))) {
43632
43771
  shadowedMembers.push(new ShadowedMemberInfo(
@@ -43665,25 +43804,25 @@ var OverriddenMember = class {
43665
43804
  }
43666
43805
  return new OverriddenAndShadowedMembers(overriddenMembers, shadowedMembers);
43667
43806
  }
43668
- findOverriddenOrShadowedNamedMemberInType(entity, typeMemberLookup) {
43807
+ findOverriddenOrShadowedNamedMembersInType(entity, typeMemberLookup) {
43669
43808
  return typeMemberLookup.getNamedMembersByName(new SearchName(
43670
43809
  entity.getName(),
43671
43810
  (entity.getName().flags & 2 /* OriginalName */) !== 0
43672
- )).find((m) => {
43811
+ )).filter((m) => {
43673
43812
  if (entity.kind === 1 /* Function */ && m.value.kind === "method") {
43674
43813
  return this.checkMethodOverridesOrShadowsMethod(entity, m.value);
43675
43814
  }
43676
43815
  return true;
43677
- })?.value;
43816
+ }).map((d) => d.value);
43678
43817
  }
43679
- findOverriddenOrShadowedOperatorInType(operator, typeMemberLookup) {
43680
- return typeMemberLookup.getOperatorsByKind(operator.getOperatorKind()).find((o) => this.checkOperatorOverridesOrShadowsOperator(operator, o.value))?.value;
43818
+ findOverriddenOrShadowedOperatorsInType(operator, typeMemberLookup) {
43819
+ return typeMemberLookup.getOperatorsByKind(operator.getOperatorKind()).filter((o) => this.checkOperatorOverridesOrShadowsOperator(operator, o.value)).map((d) => d.value);
43681
43820
  }
43682
- findOverriddenOrShadowedIndexerInType(indexer, typeMemberLookup) {
43683
- return typeMemberLookup.getIndexers().find((m) => this.checkIndexerOverridesOrShadowsIndexer(indexer, m.value))?.value;
43821
+ findOverriddenOrShadowedIndexersInType(indexer, typeMemberLookup) {
43822
+ return typeMemberLookup.getIndexers().filter((m) => this.checkIndexerOverridesOrShadowsIndexer(indexer, m.value)).map((d) => d.value);
43684
43823
  }
43685
- findOverriddenOrShadowedDereferenceOperatorInType(dereferenceOperator, typeMemberLookup) {
43686
- return typeMemberLookup.getDereferenceOperators().at(0)?.value;
43824
+ findOverriddenOrShadowedDereferenceOperatorsInType(dereferenceOperator, typeMemberLookup) {
43825
+ return typeMemberLookup.getDereferenceOperators().map((d) => d.value);
43687
43826
  }
43688
43827
  checkMethodOverridesOrShadowsMethod(methodFromDerivedType, methodFromBaseType) {
43689
43828
  const derivedMethodParameters = methodFromDerivedType.getValueParameters();
@@ -43815,45 +43954,64 @@ function isOverridableTypeMember(entity) {
43815
43954
  var Tags = class {
43816
43955
  constructor(_analyzer) {
43817
43956
  this._analyzer = _analyzer;
43818
- this._tags = /* @__PURE__ */ new Map();
43957
+ this._tagsByNodeWithTags = /* @__PURE__ */ new Map();
43819
43958
  }
43820
- ofTagList(tagList) {
43821
- let result = this._tags.get(tagList);
43959
+ ofNodeWithTags(node) {
43960
+ let result = this._tagsByNodeWithTags.get(node);
43822
43961
  if (result === void 0) {
43823
- result = this.createTags(tagList);
43824
- this._tags.set(tagList, result);
43962
+ result = this.createTagsOfNodeWithTags(node);
43963
+ this._tagsByNodeWithTags.set(node, result);
43825
43964
  }
43826
43965
  return result;
43827
43966
  }
43828
- createTags(tagList) {
43829
- const result = [];
43830
- for (const nodeTag of tagList.tags) {
43831
- const meaning = this._analyzer.resolveTag(nodeTag).meaning;
43832
- if (meaning.kind === "unresolved") {
43833
- continue;
43967
+ createTagsOfNodeWithTags(node) {
43968
+ const result = new Array();
43969
+ for (const tagNode of node.tagList.tags) {
43970
+ const tag = this.createTagFromNode(tagNode);
43971
+ if (tag !== void 0) {
43972
+ result.push(tag);
43834
43973
  }
43835
- const matchResult = this._analyzer.argumentToParameterMatchResult.ofTag(nodeTag);
43836
- if (matchResult === void 0) {
43837
- continue;
43974
+ }
43975
+ if (node.parent.kind === 2 /* PackageMemberDeclarationList */) {
43976
+ const parent = node.parent.parent;
43977
+ if (parent.kind === 22 /* PackageMemberGroupDeclaration */) {
43978
+ result.push(...this.ofNodeWithTags(parent));
43838
43979
  }
43839
- switch (meaning.kind) {
43840
- case "tag-type": {
43841
- if (meaning.singleSuitableConstructor !== void 0) {
43842
- const argumentsByParameters = Query.from(matchResult.parameterByArgument).toMap((e) => e[1].entity, (e) => this.argumentToTagArgument(e[0]));
43843
- result.push(new TagType(meaning.type, meaning.singleSuitableConstructor.value, argumentsByParameters));
43844
- }
43845
- break;
43980
+ } else if (node.parent.kind === 29 /* TypeMemberDeclarationList */) {
43981
+ const parent = node.parent.parent.parent;
43982
+ if (parent.kind === 42 /* TypeMemberGroupDeclaration */) {
43983
+ result.push(...this.ofNodeWithTags(parent));
43984
+ }
43985
+ }
43986
+ return result;
43987
+ }
43988
+ createTagFromNode(node) {
43989
+ const meaning = this._analyzer.resolveTag(node).meaning;
43990
+ if (meaning.kind === "unresolved") {
43991
+ return void 0;
43992
+ }
43993
+ const matchResult = this._analyzer.argumentToParameterMatchResult.ofTag(node);
43994
+ if (matchResult === void 0) {
43995
+ return void 0;
43996
+ }
43997
+ let result;
43998
+ switch (meaning.kind) {
43999
+ case "tag-type": {
44000
+ if (meaning.singleSuitableConstructor !== void 0) {
44001
+ const argumentsByParameters = Query.from(matchResult.parameterByArgument).toMap((e) => e[1].entity, (e) => this.argumentToTagArgument(e[0]));
44002
+ result = new TagType(meaning.type, meaning.singleSuitableConstructor.value, argumentsByParameters);
43846
44003
  }
43847
- case "tag-function": {
43848
- if (meaning.singleSuitableFunction !== void 0) {
43849
- const argumentsByParameters = Query.from(matchResult.parameterByArgument).toMap((e) => e[1].entity, (e) => this.argumentToTagArgument(e[0]));
43850
- result.push(new TagFunction(meaning.singleSuitableFunction.value, argumentsByParameters));
43851
- }
43852
- break;
44004
+ break;
44005
+ }
44006
+ case "tag-function": {
44007
+ if (meaning.singleSuitableFunction !== void 0) {
44008
+ const argumentsByParameters = Query.from(matchResult.parameterByArgument).toMap((e) => e[1].entity, (e) => this.argumentToTagArgument(e[0]));
44009
+ result = new TagFunction(meaning.singleSuitableFunction.value, argumentsByParameters);
43853
44010
  }
43854
- default:
43855
- Debug.never(meaning);
44011
+ break;
43856
44012
  }
44013
+ default:
44014
+ Debug.never(meaning);
43857
44015
  }
43858
44016
  return result;
43859
44017
  }
@@ -44349,7 +44507,7 @@ var OwningPlainObjectModificationCheck = class {
44349
44507
  }
44350
44508
  }
44351
44509
  }
44352
- if (child.kind === 67 /* CallExpression */) {
44510
+ if (child.kind === 68 /* CallExpression */) {
44353
44511
  const callee = unwrapParenthesizedExpressions(child.expression);
44354
44512
  switch (callee.kind) {
44355
44513
  case 86 /* IdentifierExpression */: {
@@ -44378,8 +44536,8 @@ var OwningPlainObjectModificationCheck = class {
44378
44536
  switch (child.kind) {
44379
44537
  case 15 /* AnonymousTypeSpecifier */:
44380
44538
  case 56 /* NestedFunctionDeclaration */:
44381
- case 72 /* FunctionLiteral */:
44382
- case 65 /* FunctionBlockLiteral */:
44539
+ case 65 /* FunctionLiteral */:
44540
+ case 66 /* FunctionBlockLiteral */:
44383
44541
  return;
44384
44542
  default:
44385
44543
  visitChildren(child, visitor);
@@ -45975,11 +46133,11 @@ var DiagnosticCollector = class _DiagnosticCollector {
45975
46133
  case 86 /* IdentifierExpression */:
45976
46134
  this.checkIdentifierExpression(node);
45977
46135
  break;
45978
- case 67 /* CallExpression */: {
46136
+ case 68 /* CallExpression */: {
45979
46137
  this.checkCallExpression(node);
45980
46138
  break;
45981
46139
  }
45982
- case 68 /* AutotypeCallExpression */: {
46140
+ case 69 /* AutotypeCallExpression */: {
45983
46141
  const meaning = this._analyzer.getAutotypeCallExpressionMeaning(node);
45984
46142
  if (meaning.kind === "unresolved") {
45985
46143
  this.addDiagnostics(meaning.diagnostics);
@@ -45994,7 +46152,7 @@ var DiagnosticCollector = class _DiagnosticCollector {
45994
46152
  }
45995
46153
  break;
45996
46154
  }
45997
- case 69 /* IndexedAccessExpression */: {
46155
+ case 70 /* IndexedAccessExpression */: {
45998
46156
  this.checkIndexedAccessExpression(node);
45999
46157
  break;
46000
46158
  }
@@ -46386,7 +46544,7 @@ var DiagnosticCollector = class _DiagnosticCollector {
46386
46544
  if (parent.kind === 63 /* AsExpression */) {
46387
46545
  parent = getParentSkippingParenthesizedExpressions(parent);
46388
46546
  }
46389
- if (!(parent.kind === 76 /* MemberAccessExpression */ || parent.kind === 69 /* IndexedAccessExpression */ || parent.kind === 78 /* DereferenceExpression */)) {
46547
+ if (!(parent.kind === 76 /* MemberAccessExpression */ || parent.kind === 70 /* IndexedAccessExpression */ || parent.kind === 78 /* DereferenceExpression */)) {
46390
46548
  this.addDiagnostic(this._analyzer.createNodeDiagnostic(
46391
46549
  247 /* BaseCannotBeUsedAsAnExpressionInItself */,
46392
46550
  node
@@ -46461,11 +46619,11 @@ var DiagnosticCollector = class _DiagnosticCollector {
46461
46619
  this.checkParameterDeclaration(node);
46462
46620
  break;
46463
46621
  }
46464
- case 72 /* FunctionLiteral */: {
46622
+ case 65 /* FunctionLiteral */: {
46465
46623
  this.checkFunctionLiteral(node);
46466
46624
  break;
46467
46625
  }
46468
- case 65 /* FunctionBlockLiteral */: {
46626
+ case 66 /* FunctionBlockLiteral */: {
46469
46627
  this.checkFunctionBlockLiteral(node);
46470
46628
  break;
46471
46629
  }
@@ -47154,10 +47312,10 @@ var DiagnosticCollector = class _DiagnosticCollector {
47154
47312
  this.checkTypeArgumentCount(0, entity.getTypeParameters(), node);
47155
47313
  }
47156
47314
  }
47157
- if (node.parent.kind === 67 /* CallExpression */) {
47315
+ if (node.parent.kind === 68 /* CallExpression */) {
47158
47316
  break;
47159
47317
  }
47160
- if (node.parent.kind === 87 /* GenericSpecializationExpression */ && node.parent.parent.kind === 67 /* CallExpression */) {
47318
+ if (node.parent.kind === 87 /* GenericSpecializationExpression */ && node.parent.parent.kind === 68 /* CallExpression */) {
47161
47319
  break;
47162
47320
  }
47163
47321
  if (node.parent.kind === 76 /* MemberAccessExpression */) {
@@ -47395,7 +47553,7 @@ var DiagnosticCollector = class _DiagnosticCollector {
47395
47553
  case 76 /* MemberAccessExpression */:
47396
47554
  this.checkAssignmentToMemberAccessExpression(node.left, node);
47397
47555
  break;
47398
- case 69 /* IndexedAccessExpression */:
47556
+ case 70 /* IndexedAccessExpression */:
47399
47557
  this.checkAssignmentToIndexedAccessExpression(node.left);
47400
47558
  break;
47401
47559
  case 84 /* ObjectExpression */:
@@ -47752,7 +47910,7 @@ var DiagnosticCollector = class _DiagnosticCollector {
47752
47910
  case 50 /* MethodDeclaration */:
47753
47911
  case 51 /* OperatorDeclaration */:
47754
47912
  case 56 /* NestedFunctionDeclaration */:
47755
- case 72 /* FunctionLiteral */:
47913
+ case 65 /* FunctionLiteral */:
47756
47914
  parentHasBody = parent.block !== void 0;
47757
47915
  break;
47758
47916
  case 27 /* FunctionTypeDeclarationBody */:
@@ -48270,7 +48428,7 @@ var PackageAliasTypeDeclarationEntity = class {
48270
48428
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
48271
48429
  }
48272
48430
  getTags() {
48273
- return this._analyzer.tags.ofTagList(this._node.tagList);
48431
+ return this._analyzer.tags.ofNodeWithTags(this._node);
48274
48432
  }
48275
48433
  getSubstitutionApplicationMode() {
48276
48434
  return 0 /* SubstituteOwnSubstitutions */;
@@ -48336,7 +48494,7 @@ var ConstructorDeclarationEntity = class {
48336
48494
  return (this.modifierFlags & 64 /* Abstract */) !== 0;
48337
48495
  }
48338
48496
  getTags() {
48339
- return this._analyzer.tags.ofTagList(this._node.tagList);
48497
+ return this._analyzer.tags.ofNodeWithTags(this._node);
48340
48498
  }
48341
48499
  };
48342
48500
  ConstructorDeclarationEntity = __decorateClass([
@@ -48604,7 +48762,7 @@ var DestructorDeclarationEntity = class {
48604
48762
  return (this.modifierFlags & 64 /* Abstract */) !== 0;
48605
48763
  }
48606
48764
  getTags() {
48607
- return this._analyzer.tags.ofTagList(this._node.tagList);
48765
+ return this._analyzer.tags.ofNodeWithTags(this._node);
48608
48766
  }
48609
48767
  };
48610
48768
  DestructorDeclarationEntity = __decorateClass([
@@ -48705,7 +48863,7 @@ var PackageFunctionDeclarationEntity = class {
48705
48863
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
48706
48864
  }
48707
48865
  getTags() {
48708
- return this._analyzer.tags.ofTagList(this._node.tagList);
48866
+ return this._analyzer.tags.ofNodeWithTags(this._node);
48709
48867
  }
48710
48868
  getTypeParametersArity() {
48711
48869
  return this.getTypeParameters().length;
@@ -48762,7 +48920,7 @@ var MethodDeclarationEntity = class {
48762
48920
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
48763
48921
  }
48764
48922
  getTags() {
48765
- return this._analyzer.tags.ofTagList(this._node.tagList);
48923
+ return this._analyzer.tags.ofNodeWithTags(this._node);
48766
48924
  }
48767
48925
  getTypeParametersArity() {
48768
48926
  return this.getTypeParameters().length;
@@ -49045,7 +49203,7 @@ var PackageFunctionTypeDeclarationEntity = class {
49045
49203
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
49046
49204
  }
49047
49205
  getTags() {
49048
- return this._analyzer.tags.ofTagList(this._node.tagList);
49206
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49049
49207
  }
49050
49208
  getSubstitutionApplicationMode() {
49051
49209
  return 0 /* SubstituteOwnSubstitutions */;
@@ -49344,7 +49502,7 @@ var PackageVariableGetterDeclarationEntity = class {
49344
49502
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
49345
49503
  }
49346
49504
  getTags() {
49347
- return this._analyzer.tags.ofTagList(this._node.tagList);
49505
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49348
49506
  }
49349
49507
  };
49350
49508
  PackageVariableGetterDeclarationEntity = __decorateClass([
@@ -49379,7 +49537,7 @@ var FieldGetterDeclarationEntity = class {
49379
49537
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49380
49538
  }
49381
49539
  getTags() {
49382
- return this._analyzer.tags.ofTagList(this._node.tagList);
49540
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49383
49541
  }
49384
49542
  };
49385
49543
  FieldGetterDeclarationEntity = __decorateClass([
@@ -49414,7 +49572,7 @@ var IndexedElementGetterDeclarationEntity = class {
49414
49572
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49415
49573
  }
49416
49574
  getTags() {
49417
- return this._analyzer.tags.ofTagList(this._node.tagList);
49575
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49418
49576
  }
49419
49577
  };
49420
49578
  IndexedElementGetterDeclarationEntity = __decorateClass([
@@ -49449,7 +49607,7 @@ var DereferencedVariableGetterDeclarationEntity = class {
49449
49607
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49450
49608
  }
49451
49609
  getTags() {
49452
- return this._analyzer.tags.ofTagList(this._node.tagList);
49610
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49453
49611
  }
49454
49612
  };
49455
49613
  DereferencedVariableGetterDeclarationEntity = __decorateClass([
@@ -49659,7 +49817,7 @@ var OperatorDeclarationEntity = class {
49659
49817
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49660
49818
  }
49661
49819
  getTags() {
49662
- return this._analyzer.tags.ofTagList(this._node.tagList);
49820
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49663
49821
  }
49664
49822
  getOverriddenMembers() {
49665
49823
  return this._analyzer.overriddenMember.getOverriddenAndShadowedOperators(this._node).overriddenMembers;
@@ -49874,7 +50032,7 @@ var PackageVariableSetterDeclarationEntity = class {
49874
50032
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
49875
50033
  }
49876
50034
  getTags() {
49877
- return this._analyzer.tags.ofTagList(this._node.tagList);
50035
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49878
50036
  }
49879
50037
  };
49880
50038
  PackageVariableSetterDeclarationEntity = __decorateClass([
@@ -49906,7 +50064,7 @@ var FieldSetterDeclarationEntity = class {
49906
50064
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49907
50065
  }
49908
50066
  getTags() {
49909
- return this._analyzer.tags.ofTagList(this._node.tagList);
50067
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49910
50068
  }
49911
50069
  };
49912
50070
  FieldSetterDeclarationEntity = __decorateClass([
@@ -49938,7 +50096,7 @@ var IndexedElementSetterDeclarationEntity = class {
49938
50096
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49939
50097
  }
49940
50098
  getTags() {
49941
- return this._analyzer.tags.ofTagList(this._node.tagList);
50099
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49942
50100
  }
49943
50101
  };
49944
50102
  IndexedElementSetterDeclarationEntity = __decorateClass([
@@ -49970,7 +50128,7 @@ var DereferencedVariableSetterDeclarationEntity = class {
49970
50128
  return this._analyzer.createTypeMemberHiding(this._node, this.modifierFlags);
49971
50129
  }
49972
50130
  getTags() {
49973
- return this._analyzer.tags.ofTagList(this._node.tagList);
50131
+ return this._analyzer.tags.ofNodeWithTags(this._node);
49974
50132
  }
49975
50133
  };
49976
50134
  DereferencedVariableSetterDeclarationEntity = __decorateClass([
@@ -50289,7 +50447,7 @@ var SourcePackageStructuredTypeDeclarationData = class {
50289
50447
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
50290
50448
  }
50291
50449
  getTags() {
50292
- return this._analyzer.tags.ofTagList(this._node.tagList);
50450
+ return this._analyzer.tags.ofNodeWithTags(this._node);
50293
50451
  }
50294
50452
  getSubstitutionApplicationMode() {
50295
50453
  return 0 /* SubstituteOwnSubstitutions */;
@@ -50762,7 +50920,7 @@ var SourceTypeExtensionEntity = class {
50762
50920
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
50763
50921
  }
50764
50922
  getTags() {
50765
- return this._analyzer.tags.ofTagList(this._node.tagList);
50923
+ return this._analyzer.tags.ofNodeWithTags(this._node);
50766
50924
  }
50767
50925
  };
50768
50926
  SourceTypeExtensionEntity = __decorateClass([
@@ -51147,7 +51305,7 @@ var PackageVariantTypeDeclarationEntity = class {
51147
51305
  return this._analyzer.createPackageMemberHiding(this._node, this.modifierFlags);
51148
51306
  }
51149
51307
  getTags() {
51150
- return this._analyzer.tags.ofTagList(this._node.tagList);
51308
+ return this._analyzer.tags.ofNodeWithTags(this._node);
51151
51309
  }
51152
51310
  getSubstitutionApplicationMode() {
51153
51311
  return 0 /* SubstituteOwnSubstitutions */;
@@ -61023,26 +61181,26 @@ var IrBuilder = class {
61023
61181
  case 64 /* BinaryExpression */:
61024
61182
  result = this.buildBinaryExpression(expression);
61025
61183
  break;
61026
- case 65 /* FunctionBlockLiteral */:
61184
+ case 66 /* FunctionBlockLiteral */:
61027
61185
  result = this.buildFunctionBlockLiteral(expression);
61028
61186
  break;
61029
- case 67 /* CallExpression */:
61187
+ case 68 /* CallExpression */:
61030
61188
  result = this.buildCallExpression(expression);
61031
61189
  break;
61032
- case 68 /* AutotypeCallExpression */:
61190
+ case 69 /* AutotypeCallExpression */:
61033
61191
  result = this.buildAutotypeCallExpression(expression);
61034
61192
  break;
61035
- case 69 /* IndexedAccessExpression */:
61193
+ case 70 /* IndexedAccessExpression */:
61036
61194
  result = this.buildIndexedAccessExpression(expression);
61037
61195
  break;
61038
- case 70 /* InvalidExpression */:
61196
+ case 71 /* InvalidExpression */:
61039
61197
  Logger.errorAtNode("Unexpected invalid expression.", expression);
61040
61198
  result = new TextLiteral("Unexpected invalid expression.", void 0);
61041
61199
  break;
61042
- case 71 /* IsExpression */:
61200
+ case 72 /* IsExpression */:
61043
61201
  result = this.buildIsExpression(expression);
61044
61202
  break;
61045
- case 72 /* FunctionLiteral */:
61203
+ case 65 /* FunctionLiteral */:
61046
61204
  result = this.buildFunctionLiteral(expression);
61047
61205
  break;
61048
61206
  case 73 /* ParenthesizedExpression */:
@@ -61148,12 +61306,12 @@ var IrBuilder = class {
61148
61306
  case 62 /* AssumptionExpression */:
61149
61307
  case 63 /* AsExpression */:
61150
61308
  case 64 /* BinaryExpression */:
61151
- case 65 /* FunctionBlockLiteral */:
61152
- case 67 /* CallExpression */:
61153
- case 68 /* AutotypeCallExpression */:
61154
- case 69 /* IndexedAccessExpression */:
61155
- case 71 /* IsExpression */:
61156
- case 72 /* FunctionLiteral */:
61309
+ case 66 /* FunctionBlockLiteral */:
61310
+ case 68 /* CallExpression */:
61311
+ case 69 /* AutotypeCallExpression */:
61312
+ case 70 /* IndexedAccessExpression */:
61313
+ case 72 /* IsExpression */:
61314
+ case 65 /* FunctionLiteral */:
61157
61315
  case 74 /* ConditionalExpression */:
61158
61316
  case 75 /* PrefixUnaryExpression */:
61159
61317
  case 76 /* MemberAccessExpression */:
@@ -61167,7 +61325,7 @@ var IrBuilder = class {
61167
61325
  case 83 /* KeywordExpression */:
61168
61326
  return true;
61169
61327
  case 88 /* DefaultMatchExpression */:
61170
- case 70 /* InvalidExpression */:
61328
+ case 71 /* InvalidExpression */:
61171
61329
  case 73 /* ParenthesizedExpression */:
61172
61330
  case 85 /* BaseExpression */:
61173
61331
  return false;
@@ -62156,7 +62314,7 @@ var IrBuilder = class {
62156
62314
  if (parent.kind === 87 /* GenericSpecializationExpression */) {
62157
62315
  parent = getParentSkippingParenthesizedExpressions(parent);
62158
62316
  }
62159
- return parent.kind === 67 /* CallExpression */;
62317
+ return parent.kind === 68 /* CallExpression */;
62160
62318
  }
62161
62319
  generateLoopLabel() {
62162
62320
  return `lb${this._id++}`;
@@ -64811,7 +64969,9 @@ export {
64811
64969
  PackageConfigurationEn_exports,
64812
64970
  ProgramPackage,
64813
64971
  TranslationPackage,
64972
+ TextTranslationPackage,
64814
64973
  TranslationPackageConfiguration,
64974
+ TextTranslationPackageConfiguration,
64815
64975
  ProgramPackageConfiguration,
64816
64976
  PackageName3 as PackageName2,
64817
64977
  RequiredPackageConfig,