@artel/artc 0.6.25209 → 0.6.25211
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 +3 -3
- package/build/api/Api.js +14 -4
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +318 -333
- package/build/{chunk-GKEW2LBL.js → chunk-5BGDYCRQ.js} +2 -2
- package/build/{chunk-4EDLYSNW.js → chunk-EYLAO2SF.js} +1 -1
- package/build/{chunk-5SWGY25I.js → chunk-Y3KGPV3L.js} +1498 -1616
- package/build/types/analysis/Analyzer.d.ts +1 -2
- package/build/types/common/Debug.d.ts +3 -0
- package/build/types/common/Logger.d.ts +1 -1
- package/build/types/emitter/Transformer.d.ts +1 -1
- package/build/types/emitter/ir/Nodes.d.ts +13 -11
- package/build/types/entities/BinaryOperatorEntity.d.ts +4 -1
- package/build/types/entities/EntityHiding.d.ts +2 -2
- package/build/types/entities/OperatorEntity.d.ts +45 -0
- package/build/types/entities/OperatorKind.d.ts +63 -0
- package/build/types/entities/UnaryOperatorEntity.d.ts +2 -1
- package/build/types/entities/VariableEntity.d.ts +1 -11
- package/build/types/entities/index.d.ts +7 -4
- package/build/types/parser/OperatorDictionary.d.ts +11 -0
- package/build/types/services/DisplayService.d.ts +5 -5
- package/build/types/tree/KeywordKind.d.ts +25 -29
- package/build/types/tree/NodeKind.d.ts +83 -87
- package/build/types/tree/OperatorKind.d.ts +23 -0
- package/build/types/tree/green/Nodes.d.ts +27 -83
- package/build/types/tree/green/Token.d.ts +4 -3
- package/build/types/tree/green/index.d.ts +1 -0
- package/build/types/tree/index.d.ts +0 -3
- package/build/types/tree/red/Nodes.d.ts +22 -74
- package/build/types/tree/red/index.d.ts +4 -0
- package/build/types/ts-interop/Entities.d.ts +0 -4
- package/package.json +4 -4
- package/build/types/emitter/IntrinsicEntities.d.ts +0 -118
- /package/build/types/emitter/{error-boundary.d.ts → ErrorBoundary.d.ts} +0 -0
@@ -299,8 +299,6 @@ export declare class TsPropertyEntity implements TypeVariableEntity {
|
|
299
299
|
isRedefinable(): boolean;
|
300
300
|
isRedefined(): boolean;
|
301
301
|
isAbstract(): boolean;
|
302
|
-
isConsistent(): boolean;
|
303
|
-
isObservable(): boolean;
|
304
302
|
}
|
305
303
|
export declare class TsAccessorEntity implements TypeVariableEntity {
|
306
304
|
private readonly _tsctx;
|
@@ -328,8 +326,6 @@ export declare class TsAccessorEntity implements TypeVariableEntity {
|
|
328
326
|
isRedefinable(): boolean;
|
329
327
|
isRedefined(): boolean;
|
330
328
|
isAbstract(): boolean;
|
331
|
-
isConsistent(): boolean;
|
332
|
-
isObservable(): boolean;
|
333
329
|
}
|
334
330
|
export declare class TsGetAccessorEntity implements GetterEntity {
|
335
331
|
private readonly _tsctx;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@artel/artc",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.25211",
|
4
4
|
"description": "Артель Компилятор | Artel Compiler",
|
5
5
|
"author": "Nezaboodka Team <contact@nezaboodka.com>",
|
6
6
|
"license": "LGPL-3.0-or-later",
|
@@ -60,13 +60,13 @@
|
|
60
60
|
"generate-files": "",
|
61
61
|
"generate-files:force": "",
|
62
62
|
"compile": "npm run generate-files && tsc --build .",
|
63
|
-
"bundle:debug": "npm run compile && node ./scripts/bundle.js --debug
|
64
|
-
"bundle:release": "npm run compile && node ./scripts/bundle.js
|
63
|
+
"bundle:debug": "npm run compile && node ./scripts/bundle.js --debug",
|
64
|
+
"bundle:release": "npm run compile && node ./scripts/bundle.js",
|
65
65
|
"prepare-for-publish": "npm run bundle:release && node ./scripts/copy-compiler-dts.js",
|
66
66
|
"export-l10n-text": "npx @vscode/l10n-dev export -o l10n source",
|
67
67
|
"copy-global-storage": "node ../vscode-extension/scripts/copy-global-storage.js projects/compiler/СистемныеПакеты",
|
68
68
|
"install-global": "npm run prepare-for-publish && npm i -g .",
|
69
|
-
"generate-tree": "npm run bundle:debug && node build/Cli.js build ../tree-generator/ ../tree-generator/build --workspace ../.. --standard-packages ../СтандартныеПакеты && node ../tree-generator/build/launch.mjs ../compiler/source/tree",
|
69
|
+
"generate-tree": "npm run bundle:debug && node build/Cli.js build ../tree-generator/ ../tree-generator/build --workspace ../.. --standard-packages ../СтандартныеПакеты --no-warnings && node ../tree-generator/build/launch.mjs ../compiler/source/tree",
|
70
70
|
"generate-configuration-json-schemas": "node ./scripts/generateConfigurationJsonSchemas.mjs",
|
71
71
|
"create-minimal-required-standard-package-contents-json": "esbuild ./scripts/createMinimalStandardPackageContentsJson.ts --bundle --outfile=../../build/scripts/createMinimalStandardPackageContentsJson.mjs --format=esm --platform=node --packages=external --supported:async-await=false && node ../../build/scripts/createMinimalStandardPackageContentsJson.mjs"
|
72
72
|
}
|
@@ -1,118 +0,0 @@
|
|
1
|
-
import * as tags from '../analysis/Tags.js';
|
2
|
-
import { Tag } from '../analysis/Tags.js';
|
3
|
-
import { Name } from '../common/index.js';
|
4
|
-
import type { EntityOwningGetter, EntityOwningSetter } from '../entities/index.js';
|
5
|
-
import { ConstructorEntity, Entity, EntityHidingLevel, EntityKind, GetterEntity, GetterEntityDefinition, IndexerEntity, LocalVariableEntity, PackageEntity, PackageMethodEntity, ParameterVariableEntity, ParameterVariableEntityContainer, SetterEntity, SetterEntityDefinition, SpecialVariableEntityInfo, TypeEntityWithMembers, TypeMemberEntityContainer, TypeMethodEntity, TypeParameterEntity, TypeVariableEntity, VariableEntityDefinition } from '../entities/index.js';
|
6
|
-
import * as types from '../types/index.js';
|
7
|
-
export declare class EmitterIntrinsicTypeVariableEntity implements TypeVariableEntity {
|
8
|
-
private readonly _name;
|
9
|
-
private readonly _type;
|
10
|
-
private readonly _container;
|
11
|
-
private readonly _isStatic;
|
12
|
-
readonly kind = EntityKind.Variable;
|
13
|
-
readonly subkind = "type";
|
14
|
-
constructor(_name: Name, _type: types.Type, _container: TypeMemberEntityContainer, _isStatic: boolean);
|
15
|
-
getName(): Name;
|
16
|
-
getType(): types.Type;
|
17
|
-
getDefinition(): VariableEntityDefinition;
|
18
|
-
getGetter(): GetterEntity | undefined;
|
19
|
-
getSetter(): SetterEntity | undefined;
|
20
|
-
isConstant(): boolean;
|
21
|
-
isHidden(): EntityHidingLevel | undefined;
|
22
|
-
isSpecial(): SpecialVariableEntityInfo | undefined;
|
23
|
-
getTags(): readonly Tag[];
|
24
|
-
getContainer(): TypeMemberEntityContainer;
|
25
|
-
isStatic(): boolean;
|
26
|
-
isRedefinable(): boolean;
|
27
|
-
isRedefined(): boolean;
|
28
|
-
isAbstract(): boolean;
|
29
|
-
isConsistent(): boolean;
|
30
|
-
isObservable(): boolean;
|
31
|
-
}
|
32
|
-
export declare class EmitterIntrinsicParameterVariableEntity implements ParameterVariableEntity {
|
33
|
-
private readonly _name;
|
34
|
-
private readonly _type;
|
35
|
-
private readonly _container;
|
36
|
-
private readonly _isOptional;
|
37
|
-
private readonly _isVariadic;
|
38
|
-
readonly kind = EntityKind.Variable;
|
39
|
-
readonly subkind = "parameter";
|
40
|
-
constructor(_name: Name, _type: types.Type, _container: ParameterVariableEntityContainer, _isOptional: boolean, _isVariadic: boolean);
|
41
|
-
getName(): Name;
|
42
|
-
getType(): types.Type;
|
43
|
-
getDefinition(): VariableEntityDefinition;
|
44
|
-
getGetter(): GetterEntity | undefined;
|
45
|
-
getSetter(): SetterEntity | undefined;
|
46
|
-
isConstant(): boolean;
|
47
|
-
isHidden(): EntityHidingLevel | undefined;
|
48
|
-
isSpecial(): SpecialVariableEntityInfo | undefined;
|
49
|
-
getTags(): readonly Tag[];
|
50
|
-
getContainer(): ParameterVariableEntityContainer;
|
51
|
-
isOptional(): boolean;
|
52
|
-
isVariadic(): boolean;
|
53
|
-
}
|
54
|
-
export declare class EmitterIntrinsicLocalVariableEntity implements LocalVariableEntity {
|
55
|
-
private readonly _name;
|
56
|
-
private readonly _type;
|
57
|
-
private readonly _isConstant;
|
58
|
-
readonly kind = EntityKind.Variable;
|
59
|
-
readonly subkind = "local";
|
60
|
-
constructor(_name: Name, _type: types.Type, _isConstant: boolean);
|
61
|
-
getName(): Name;
|
62
|
-
getType(): types.Type;
|
63
|
-
getDefinition(): VariableEntityDefinition;
|
64
|
-
getGetter(): GetterEntity | undefined;
|
65
|
-
getSetter(): SetterEntity | undefined;
|
66
|
-
isConstant(): boolean;
|
67
|
-
isHidden(): EntityHidingLevel | undefined;
|
68
|
-
isSpecial(): SpecialVariableEntityInfo | undefined;
|
69
|
-
getTags(): readonly Tag[];
|
70
|
-
getContainingEntity(): Entity;
|
71
|
-
}
|
72
|
-
export declare class UnfinishedEmitterIntrinsicPackageMethodEntity {
|
73
|
-
private readonly _unfinishedValue;
|
74
|
-
get unfinishedValue(): PackageMethodEntity;
|
75
|
-
constructor(name: Name, typeParameters: readonly TypeParameterEntity[], returnType: types.Type, isAsync: boolean, containingPackage: PackageEntity);
|
76
|
-
finish(parameters: readonly ParameterVariableEntity[]): PackageMethodEntity;
|
77
|
-
}
|
78
|
-
export declare class UnfinishedEmitterIntrinsicTypeMethodEntity {
|
79
|
-
private readonly _unfinishedValue;
|
80
|
-
get unfinishedValue(): TypeMethodEntity;
|
81
|
-
constructor(name: Name, typeParameters: readonly TypeParameterEntity[], returnType: types.Type, isAsync: boolean, container: TypeMemberEntityContainer, isStatic: boolean, isModifyingOwningPlainObject: boolean);
|
82
|
-
finish(parameters: readonly ParameterVariableEntity[]): TypeMethodEntity;
|
83
|
-
}
|
84
|
-
export declare class EmitterIntrinsicGetterEntity implements GetterEntity {
|
85
|
-
private readonly _isModifyingOwningPlainObject;
|
86
|
-
private readonly _containingEntity;
|
87
|
-
readonly kind = EntityKind.Getter;
|
88
|
-
constructor(_isModifyingOwningPlainObject: boolean, _containingEntity: EntityOwningGetter);
|
89
|
-
getReturnType(): types.Type;
|
90
|
-
getDefinition(): GetterEntityDefinition;
|
91
|
-
isModifyingOwningPlainObject(): boolean;
|
92
|
-
getOwningEntity(): EntityOwningGetter;
|
93
|
-
getTags(): readonly tags.Tag[];
|
94
|
-
isHidden(): EntityHidingLevel | undefined;
|
95
|
-
}
|
96
|
-
export declare class EmitterIntrinsicSetterEntity implements SetterEntity {
|
97
|
-
private readonly _isModifyingOwningPlainObject;
|
98
|
-
private readonly _containingEntity;
|
99
|
-
readonly kind = EntityKind.Setter;
|
100
|
-
constructor(_isModifyingOwningPlainObject: boolean, _containingEntity: EntityOwningSetter);
|
101
|
-
getDefinition(): SetterEntityDefinition;
|
102
|
-
isModifyingOwningPlainObject(): boolean;
|
103
|
-
getOwningEntity(): EntityOwningSetter;
|
104
|
-
getTags(): readonly tags.Tag[];
|
105
|
-
isHidden(): EntityHidingLevel | undefined;
|
106
|
-
}
|
107
|
-
export declare class UnfinishedEmitterIntrinsicConstructorEntity {
|
108
|
-
private readonly _unfinishedValue;
|
109
|
-
get unfinishedValue(): ConstructorEntity;
|
110
|
-
constructor(containingEntity: TypeEntityWithMembers);
|
111
|
-
finish(parameters: readonly ParameterVariableEntity[]): ConstructorEntity;
|
112
|
-
}
|
113
|
-
export declare class UnfinishedEmitterIntrinsicIndexerEntity {
|
114
|
-
private readonly _unfinishedValue;
|
115
|
-
get unfinishedValue(): IndexerEntity;
|
116
|
-
constructor(type: types.Type, container: TypeMemberEntityContainer, isStatic: boolean, getter: GetterEntity | undefined, setter: SetterEntity | undefined);
|
117
|
-
finish(parameters: readonly ParameterVariableEntity[]): IndexerEntity;
|
118
|
-
}
|
File without changes
|