@artel/artc 0.6.25215 → 0.6.25217
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 +23 -9
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +381 -339
- package/build/{chunk-TT3Q66WU.js → chunk-CMPXXHBQ.js} +3 -3
- package/build/{chunk-GEFYL4SZ.js → chunk-HN3XZZQX.js} +3 -3
- package/build/{chunk-DZ66PBHU.js → chunk-TXAEJ2GI.js} +3397 -2484
- package/build/types/analysis/Analyzer.d.ts +163 -159
- package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +3 -4
- package/build/types/analysis/DiagnosticCollector.d.ts +1 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +12 -7
- package/build/types/analysis/SourceFileMembers.d.ts +11 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +107 -103
- package/build/types/emitter/EmitterContext.d.ts +9 -0
- package/build/types/emitter/Entities.d.ts +8 -2
- package/build/types/emitter/IrToJs.d.ts +0 -1
- package/build/types/emitter/Transformer.d.ts +2 -3
- package/build/types/emitter/ir/LoweringOptions.d.ts +3 -1
- package/build/types/emitter/ir/LoweringState.d.ts +24 -0
- package/build/types/emitter/ir/Nodes.d.ts +74 -85
- package/build/types/emitter/ir/types.d.ts +3 -2
- package/build/types/entities/AliasTypeEntity.d.ts +1 -1
- package/build/types/entities/DereferenceOperatorEntity.d.ts +7 -0
- package/build/types/entities/IndexerEntity.d.ts +7 -0
- package/build/types/entities/MethodTypeEntity.d.ts +9 -1
- package/build/types/entities/StructuredTypeEntity.d.ts +11 -3
- package/build/types/entities/TypeParameterEntity.d.ts +1 -1
- package/build/types/entities/VariantTypeEntity.d.ts +9 -1
- package/build/types/parser/Scanner.d.ts +0 -6
- package/build/types/parser/UnescapeText.d.ts +1 -1
- package/build/types/services/DisplayService.d.ts +201 -162
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +1 -3
- package/build/types/services/workspace/CompilationController.d.ts +23 -1
- package/build/types/services/workspace/Workspace.d.ts +1 -0
- package/build/types/tree/NodeKind.d.ts +85 -86
- package/build/types/tree/green/Nodes.d.ts +4 -13
- package/build/types/tree/red/Nodes.d.ts +5 -19
- package/build/types/ts-interop/Entities.d.ts +28 -8
- package/build/types/types/MethodType.d.ts +2 -2
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +1 -1
package/build/Cli.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import {
|
3
3
|
CommandLineCompiler
|
4
|
-
} from "./chunk-
|
5
|
-
import "./chunk-
|
4
|
+
} from "./chunk-CMPXXHBQ.js";
|
5
|
+
import "./chunk-HN3XZZQX.js";
|
6
6
|
import {
|
7
7
|
__async
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-TXAEJ2GI.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-
|
3
|
+
} from "../chunk-HN3XZZQX.js";
|
4
4
|
import {
|
5
5
|
AccessKind,
|
6
6
|
AccessedMethodValueParameter,
|
@@ -89,7 +89,6 @@ import {
|
|
89
89
|
ImportedPackage,
|
90
90
|
ImportedPackageNameTree,
|
91
91
|
InMemoryPackageScheme,
|
92
|
-
IndexedAccess_exports,
|
93
92
|
IndexerSemanticContext,
|
94
93
|
InterfacePackageEntityInfo,
|
95
94
|
Interner,
|
@@ -141,8 +140,6 @@ import {
|
|
141
140
|
NestedMethodDeclarationEntity,
|
142
141
|
NodeModulesDirectoryName,
|
143
142
|
NodeTypeUtils,
|
144
|
-
NonHiddenEntityHidingMatcher,
|
145
|
-
Notation,
|
146
143
|
OnErrorClauseSemanticContext,
|
147
144
|
OperatorDeclarationEntity,
|
148
145
|
OperatorKind,
|
@@ -273,6 +270,7 @@ import {
|
|
273
270
|
WellKnownDeclarationsLoadError,
|
274
271
|
WithDiagnostics_error,
|
275
272
|
WithDiagnostics_ok,
|
273
|
+
__export,
|
276
274
|
camelCaseToKebabCasePreservingKeyEquality,
|
277
275
|
collectRequiredJsLibraryConfigs,
|
278
276
|
createDefaultPackageConfiguration,
|
@@ -344,9 +342,27 @@ import {
|
|
344
342
|
visitChildren,
|
345
343
|
visitChildrenRecursively,
|
346
344
|
withoutQuotes,
|
347
|
-
|
345
|
+
withoutTemplateQuotes,
|
348
346
|
yieldExecution
|
349
|
-
} from "../chunk-
|
347
|
+
} from "../chunk-TXAEJ2GI.js";
|
348
|
+
|
349
|
+
// source/analysis/IndexedAccess.ts
|
350
|
+
var IndexedAccess_exports = {};
|
351
|
+
__export(IndexedAccess_exports, {
|
352
|
+
create: () => create
|
353
|
+
});
|
354
|
+
function create(indexerEntity, accessKind) {
|
355
|
+
switch (accessKind) {
|
356
|
+
case 0 /* Get */:
|
357
|
+
return { kind: accessKind, getAccessor: indexerEntity.getGetter() };
|
358
|
+
case 1 /* Set */:
|
359
|
+
return { kind: accessKind, setAccessor: indexerEntity.getSetter() };
|
360
|
+
case 2 /* GetSet */:
|
361
|
+
return { kind: accessKind, getAccessor: indexerEntity.getGetter(), setAccessor: indexerEntity.getSetter() };
|
362
|
+
default:
|
363
|
+
Debug.never(accessKind);
|
364
|
+
}
|
365
|
+
}
|
350
366
|
export {
|
351
367
|
AccessKind,
|
352
368
|
AccessedMethodValueParameter,
|
@@ -485,8 +501,6 @@ export {
|
|
485
501
|
NestedMethodDeclarationEntity,
|
486
502
|
NodeModulesDirectoryName,
|
487
503
|
NodeTypeUtils,
|
488
|
-
NonHiddenEntityHidingMatcher,
|
489
|
-
Notation,
|
490
504
|
OnErrorClauseSemanticContext,
|
491
505
|
OperatorDeclarationEntity,
|
492
506
|
OperatorKind,
|
@@ -691,6 +705,6 @@ export {
|
|
691
705
|
visitChildren,
|
692
706
|
visitChildrenRecursively,
|
693
707
|
withoutQuotes,
|
694
|
-
|
708
|
+
withoutTemplateQuotes,
|
695
709
|
yieldExecution
|
696
710
|
};
|
package/build/api/ApiNodeJS.js
CHANGED
@@ -6,9 +6,9 @@ import {
|
|
6
6
|
PhysicalFileSystem,
|
7
7
|
PhysicalTypeScriptLibrariesProvider,
|
8
8
|
PrintingDiagnosticAcceptor
|
9
|
-
} from "../chunk-
|
10
|
-
import "../chunk-
|
11
|
-
import "../chunk-
|
9
|
+
} from "../chunk-CMPXXHBQ.js";
|
10
|
+
import "../chunk-HN3XZZQX.js";
|
11
|
+
import "../chunk-TXAEJ2GI.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|