@artel/artc 0.6.25219 → 0.6.25220

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.
package/build/Cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-QLTGS2V2.js";
5
- import "./chunk-AIY75NR5.js";
4
+ } from "./chunk-ASXPPFGP.js";
5
+ import "./chunk-AUDD2JDS.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-IYSH7MAQ.js";
8
+ } from "./chunk-RHY36EE7.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-AIY75NR5.js";
3
+ } from "../chunk-AUDD2JDS.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedMethodValueParameter,
@@ -328,7 +328,7 @@ import {
328
328
  withoutQuotes,
329
329
  withoutTemplateQuotes,
330
330
  yieldExecution
331
- } from "../chunk-IYSH7MAQ.js";
331
+ } from "../chunk-RHY36EE7.js";
332
332
  export {
333
333
  AccessKind,
334
334
  AccessedMethodValueParameter,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-QLTGS2V2.js";
10
- import "../chunk-AIY75NR5.js";
11
- import "../chunk-IYSH7MAQ.js";
9
+ } from "../chunk-ASXPPFGP.js";
10
+ import "../chunk-AUDD2JDS.js";
11
+ import "../chunk-RHY36EE7.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -180,7 +180,7 @@ import {
180
180
  unwrapParenthesizedExpressions,
181
181
  visitChildren,
182
182
  yieldExecution
183
- } from "../chunk-IYSH7MAQ.js";
183
+ } from "../chunk-RHY36EE7.js";
184
184
 
185
185
  // source/services/CustomCommand.ts
186
186
  import * as ls from "vscode-languageserver";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-AIY75NR5.js";
3
+ } from "./chunk-AUDD2JDS.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-IYSH7MAQ.js";
17
+ } from "./chunk-RHY36EE7.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-IYSH7MAQ.js";
13
+ } from "./chunk-RHY36EE7.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {
@@ -577,7 +577,7 @@ var UniqueWithComparatorQuery = class extends Query {
577
577
  };
578
578
 
579
579
  // source/common/Constants.ts
580
- var ArtelVersion = true ? "0.6.25219" : "";
580
+ var ArtelVersion = true ? "0.6.25220" : "";
581
581
  var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel"];
582
582
  var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
583
583
  var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
@@ -3991,7 +3991,15 @@ var TreeQuery = class {
3991
3991
  return analyzer.entity.ofTypeVariableSetterDeclaration(parent);
3992
3992
  case 48 /* TypeIndexedSetterDeclaration */:
3993
3993
  return analyzer.entity.ofTypeIndexedSetterDeclaration(parent);
3994
+ case 50 /* TypeDereferencedVariableGetterDeclaration */:
3995
+ return analyzer.entity.ofTypeDereferencedVariableGetterDeclaration(parent);
3996
+ case 51 /* TypeDereferencedVariableSetterDeclaration */:
3997
+ return analyzer.entity.ofTypeDereferencedVariableSetterDeclaration(parent);
3998
+ case 53 /* OperatorDeclaration */:
3999
+ return analyzer.entity.ofOperatorDeclaration(parent);
3994
4000
  default:
4001
+ Debug.typeIsAssignableTo();
4002
+ Debug.typeIsAssignableTo();
3995
4003
  parent = parent.parent;
3996
4004
  }
3997
4005
  }
@@ -387,6 +387,9 @@ declare class Entity {
387
387
  private createTypeIndexerEntities;
388
388
  private areTypeIndexedAccessorDeclarationsEqual;
389
389
  }
390
+ type EntityClassMembers = Entity[keyof Entity];
391
+ type GetNodesFromMethodsParameter<T> = T extends (node: infer TNode) => e.Entity ? (TNode extends tree.Node ? TNode : never) : never;
392
+ export type NodeCorrespondingToEntity = GetNodesFromMethodsParameter<EntityClassMembers>;
390
393
  declare class ResultLocalVariableEntity {
391
394
  private readonly _analyzer;
392
395
  private readonly _entities;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.6.25219",
3
+ "version": "0.6.25220",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "LGPL-3.0-or-later",