@artel/artc 0.9.26070-pre-release → 0.9.26071-pre-release

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-IALHCBEP.js";
5
- import "./chunk-YMECMIXH.js";
4
+ } from "./chunk-OMQRGP7A.js";
5
+ import "./chunk-2WHUJJKM.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-KFK63PJX.js";
8
+ } from "./chunk-CALIV63X.js";
9
9
 
10
10
  // source/Cli.ts
11
11
  function main() {
package/build/api/Api.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  ImportEmitKind,
9
9
  NotEmittedPackageInfo,
10
10
  SourceMapMode
11
- } from "../chunk-YMECMIXH.js";
11
+ } from "../chunk-2WHUJJKM.js";
12
12
  import {
13
13
  AccessKind,
14
14
  AccessedFunction_entity,
@@ -328,7 +328,7 @@ import {
328
328
  withoutQuotes,
329
329
  withoutTemplateQuotes,
330
330
  yieldTask
331
- } from "../chunk-KFK63PJX.js";
331
+ } from "../chunk-CALIV63X.js";
332
332
  export {
333
333
  AccessKind,
334
334
  AccessedFunction_entity,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-IALHCBEP.js";
10
- import "../chunk-YMECMIXH.js";
11
- import "../chunk-KFK63PJX.js";
9
+ } from "../chunk-OMQRGP7A.js";
10
+ import "../chunk-2WHUJJKM.js";
11
+ import "../chunk-CALIV63X.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -147,7 +147,7 @@ import {
147
147
  traverseTreeAsync,
148
148
  traverseTreeAsync2,
149
149
  yieldTask
150
- } from "../chunk-KFK63PJX.js";
150
+ } from "../chunk-CALIV63X.js";
151
151
 
152
152
  // source/services/common/Types.ts
153
153
  import * as ls from "vscode-languageserver";
@@ -58,7 +58,7 @@ import {
58
58
  validJavaScriptIdentifierStartRegExp,
59
59
  withoutQuotes,
60
60
  withoutTemplateQuotes
61
- } from "./chunk-KFK63PJX.js";
61
+ } from "./chunk-CALIV63X.js";
62
62
 
63
63
  // source/emitter/ir/AccessedEntities.ts
64
64
  var AccessedVariable = class _AccessedVariable {
@@ -782,7 +782,7 @@ var UniqueWithComparatorQuery = class extends Query {
782
782
  };
783
783
 
784
784
  // source/common/Constants.ts
785
- var ArtelVersion = true ? "0.9.26070-pre-release" : "";
785
+ var ArtelVersion = true ? "0.9.26071-pre-release" : "";
786
786
  var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel", ".\u0430\u0440\u0442\u043C", ".\u0430\u0440\u0442\u0435\u043B\u044C\u043C", ".artm", ".artelm"];
787
787
  var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
788
788
  var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
@@ -19623,7 +19623,7 @@ var SyntaxFactory2 = class {
19623
19623
  );
19624
19624
  }
19625
19625
  static emptyFunctionBlock() {
19626
- const endClause = this.token(1069 /* TildeTilde */);
19626
+ const endClause = this.token(1005 /* AsteriskAsterisk */);
19627
19627
  return new FunctionBlock2(void 0, new StatementList2([], void 0), void 0, endClause, void 0);
19628
19628
  }
19629
19629
  static localStructuredTypeDeclaration(name, baseTypes, members) {
@@ -19716,7 +19716,7 @@ var SyntaxFactory2 = class {
19716
19716
  }
19717
19717
  static typeMemberDeclarationBlock(members) {
19718
19718
  const memberList = members instanceof Array ? new TypeMemberDeclarationList2(members, void 0) : members;
19719
- const endClause = this.token(1069 /* TildeTilde */);
19719
+ const endClause = this.token(1005 /* AsteriskAsterisk */);
19720
19720
  return new TypeMemberDeclarationBlock2(
19721
19721
  void 0,
19722
19722
  memberList,
@@ -19838,7 +19838,7 @@ var SyntaxFactory2 = class {
19838
19838
  if (members !== void 0) {
19839
19839
  memberList = new TypeMemberTranslationList2(members, void 0);
19840
19840
  }
19841
- const endClause = this.token(1069 /* TildeTilde */);
19841
+ const endClause = this.token(1005 /* AsteriskAsterisk */);
19842
19842
  return new TypeTranslationDeclaration2(
19843
19843
  typeKeyword,
19844
19844
  sourceNameIdentifier,
@@ -27302,14 +27302,14 @@ var TextParser2 = class {
27302
27302
  return void 0;
27303
27303
  }
27304
27304
  parseEndClause() {
27305
- if (this.isToken(1069 /* TildeTilde */)) {
27306
- return this.parseExpectedToken(1069 /* TildeTilde */);
27305
+ if (this.isToken(1005 /* AsteriskAsterisk */)) {
27306
+ return this.parseExpectedToken(1005 /* AsteriskAsterisk */);
27307
27307
  }
27308
27308
  return this.parseExpectedKeyword(1012 /* End */);
27309
27309
  }
27310
27310
  isEndClause() {
27311
27311
  const tokenOrKeyword = this.getCurrentTokenOrKeyword();
27312
- return tokenOrKeyword.kind === 1002 /* Keyword */ && tokenOrKeyword.keywordKind === 1012 /* End */ || tokenOrKeyword.kind === 1001 /* Token */ && tokenOrKeyword.tokenKind === 1069 /* TildeTilde */;
27312
+ return tokenOrKeyword.kind === 1002 /* Keyword */ && tokenOrKeyword.keywordKind === 1012 /* End */ || tokenOrKeyword.kind === 1001 /* Token */ && tokenOrKeyword.tokenKind === 1005 /* AsteriskAsterisk */;
27313
27313
  }
27314
27314
  lookAhead(callback) {
27315
27315
  const savedTokenQueueLength = this.tokenQueue.length;
@@ -74406,7 +74406,7 @@ var WellKnownDeclarationsLoader = class {
74406
74406
  nullEntity: this.findPackageType(systemPackageM, new Name("\u041F\u0443\u0441\u0442\u043E"), 0),
74407
74407
  number: this.findPackageType(systemPackageM, new Name("\u0427\u0438\u0441\u043B\u043E"), 0),
74408
74408
  object: this.findPackageType(systemPackageM, new Name("\u041E\u0431\u044A\u0435\u043A\u0442"), 0),
74409
- pointer: this.findPackageType(systemPackageM, new Name("\u0423\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C"), 1),
74409
+ pointer: this.findPackageType(systemPackageM, new Name("\u0423\u043A"), 1),
74410
74410
  primitive: this.findPackageType(systemPackageM, new Name("\u041F\u0440\u0438\u043C\u0438\u0442\u0438\u0432"), 0),
74411
74411
  readonlyArray: this.findPackageType(systemPackageM, new Name("\u041C\u0430\u0441\u0441\u0438\u0432\u0427\u0438\u0442\u0430\u0435\u043C\u044B\u0439"), 1),
74412
74412
  readonlyMap: this.findPackageType(systemPackageM, new Name("\u0421\u043B\u043E\u0432\u0430\u0440\u044C\u0427\u0438\u0442\u0430\u0435\u043C\u044B\u0439"), 2),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Compiler,
3
3
  DiagnosticFormatter
4
- } from "./chunk-YMECMIXH.js";
4
+ } from "./chunk-2WHUJJKM.js";
5
5
  import {
6
6
  ArtelVersion,
7
7
  Cached,
@@ -16,7 +16,7 @@ import {
16
16
  __async,
17
17
  performanceMeasurementStageNames,
18
18
  performanceMeasurementStages
19
- } from "./chunk-KFK63PJX.js";
19
+ } from "./chunk-CALIV63X.js";
20
20
 
21
21
  // source/executor/FileSystemUri.ts
22
22
  import { platform } from "os";
@@ -15,7 +15,7 @@ export type IdentifierParent = NodesWithChild<Identifier>;
15
15
  export type IdentifierListElement = Identifier | Comma;
16
16
  export type BaseKeyword = Keyword<KeywordKind.Base>;
17
17
  export type ObjectKeyword = Keyword<KeywordKind.Object>;
18
- export type EndClause = Keyword<KeywordKind.End> | Token<TokenKind.TildeTilde>;
18
+ export type EndClause = Keyword<KeywordKind.End> | Token<TokenKind.AsteriskAsterisk>;
19
19
  export type EndClauseParent = NodesWithChild<EndClause>;
20
20
  export declare class SourceFile extends BaseNode {
21
21
  readonly kind = NodeKind.SourceFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.9.26070-pre-release",
3
+ "version": "0.9.26071-pre-release",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "Apache-2.0",