@artel/artc 0.6.25246 → 0.6.25247
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 +6 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +71 -62
- package/build/{chunk-CNAUD5P6.js → chunk-3MYTPUJZ.js} +1 -1
- package/build/{chunk-RIWU6SF4.js → chunk-3PVSYUJV.js} +460 -496
- package/build/{chunk-BGCXIMTW.js → chunk-TTNFYVNF.js} +2 -2
- package/build/types/analysis/Analyzer.d.ts +2 -0
- package/build/types/analysis/control-flow/NarrowableReference.d.ts +3 -3
- package/build/types/analysis/semantic-context/SemanticContext.d.ts +2 -1
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +3 -0
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +6 -7
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +1 -1
- package/build/types/analysis/semantic-context/TranslationTextTemplateSemanticContext.d.ts +13 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +11 -13
- package/build/types/entities/VariableEntity.d.ts +35 -3
- package/build/types/tree/NodeKind.d.ts +20 -21
- package/build/types/tree/green/Nodes.d.ts +12 -26
- package/build/types/tree/red/Nodes.d.ts +15 -29
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
Compiler
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-3MYTPUJZ.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-
|
17
|
+
} from "./chunk-3PVSYUJV.js";
|
18
18
|
|
19
19
|
// source/executor/FileSystemUri.ts
|
20
20
|
import { platform } from "os";
|
@@ -435,6 +435,7 @@ declare class Entity {
|
|
435
435
|
private readonly _setterEntities;
|
436
436
|
private readonly _typeExtensionEntities;
|
437
437
|
private readonly _packageAliasEntities;
|
438
|
+
private readonly _translationTextTemplateParameterDeclarationEntities;
|
438
439
|
constructor(_analyzer: Analyzer);
|
439
440
|
ofPackage(pkg: SourcePackage): e.PackageEntity;
|
440
441
|
ofPackageVariableDeclaration(node: tree.PackageVariableDeclaration): e.PackageVariableEntity;
|
@@ -478,6 +479,7 @@ declare class Entity {
|
|
478
479
|
ofTypeExtensionDeclaration(node: tree.TypeExtensionDeclaration): e.TypeExtensionEntity;
|
479
480
|
ofPackageImport(node: tree.PackageImport): e.PackageAliasEntity;
|
480
481
|
ofTypeWithMembersDeclaration(node: TypeWithMembersDeclaration): e.TypeEntityWithMembers;
|
482
|
+
ofTranslationTextTemplateParameterDeclaration(node: tree.TranslationTextTemplateParameterDeclaration): e.TranslationTextTemplateParameterDeclarationEntity;
|
481
483
|
private getContainingPackageLoadedFromDts;
|
482
484
|
private createComputedFieldEntities;
|
483
485
|
private createDereferenceOperatorEntities;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FieldEntity, LocalVariableEntity, PackageVariableEntity, ParameterVariableEntity } from '../../entities/VariableEntity.js';
|
1
|
+
import { FieldEntity, LocalVariableEntity, PackageVariableEntity, ParameterVariableEntity, TextTemplateParameterVariableEntity } from '../../entities/VariableEntity.js';
|
2
2
|
import * as tree from '../../tree/index.js';
|
3
3
|
import { Analyzer } from '../Analyzer.js';
|
4
4
|
import { NarrowableReferenceExpression } from '../control-flow/NarrowableExpression.js';
|
@@ -6,9 +6,9 @@ export type NarrowableReference = NarrowableReference.LocalVariable | Narrowable
|
|
6
6
|
export declare namespace NarrowableReference {
|
7
7
|
export class LocalVariable implements INarrowableReference {
|
8
8
|
private readonly _analyzer;
|
9
|
-
readonly entity: LocalVariableEntity | ParameterVariableEntity;
|
9
|
+
readonly entity: LocalVariableEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity;
|
10
10
|
readonly kind = "local-variable";
|
11
|
-
constructor(_analyzer: Analyzer, entity: LocalVariableEntity | ParameterVariableEntity);
|
11
|
+
constructor(_analyzer: Analyzer, entity: LocalVariableEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity);
|
12
12
|
equals(other: NarrowableReference): boolean;
|
13
13
|
contains(_other: NarrowableReference): boolean;
|
14
14
|
equalsExpression(expression: NarrowableReferenceExpression): boolean;
|
@@ -2,6 +2,7 @@ import { FieldWithInitializerSemanticContext } from './FieldWithInitializerSeman
|
|
2
2
|
import { SourceFileSemanticContext } from './SourceFileSemanticContext.js';
|
3
3
|
import { CatchClauseSemanticContext, ForStatementSemanticContext, FunctionBlockSemanticContext, SpecialLocalDeclarationSemanticContext, StatementBlockSemanticContext, SubprogramParameterSemanticContext, SubprogramTypeParameterSemanticContext } from './SubprogramBodyAndParametersSemanticContext.js';
|
4
4
|
import { OutermostSemanticContextOfSubprogram } from './SubprogramSemanticContext.js';
|
5
|
+
import { TranslationTextTemplateSemanticContext } from './TranslationTextTemplateSemanticContext.js';
|
5
6
|
import { OutermostSemanticContextOfType, ParametersOfFunctionTypeSemanticContext, TypeBodySemanticContext, TypeExtensionBodySemanticContext, TypeParametersOfTypeSemanticContext } from './TypeSemanticContext.js';
|
6
7
|
/**
|
7
8
|
* Позволяет получить информацию, общую для определённой области
|
@@ -10,4 +11,4 @@ import { OutermostSemanticContextOfType, ParametersOfFunctionTypeSemanticContext
|
|
10
11
|
* Чтобы получить семантический контекст, в котором находится определённый узел,
|
11
12
|
* используйте `analyzer.semanticContext.containing(node)`.
|
12
13
|
*/
|
13
|
-
export type SemanticContext = SourceFileSemanticContext | OutermostSemanticContextOfType | TypeParametersOfTypeSemanticContext | TypeBodySemanticContext | TypeExtensionBodySemanticContext | ParametersOfFunctionTypeSemanticContext | OutermostSemanticContextOfSubprogram | SubprogramTypeParameterSemanticContext | SubprogramParameterSemanticContext | SpecialLocalDeclarationSemanticContext | StatementBlockSemanticContext | FunctionBlockSemanticContext | FieldWithInitializerSemanticContext | ForStatementSemanticContext | CatchClauseSemanticContext;
|
14
|
+
export type SemanticContext = SourceFileSemanticContext | OutermostSemanticContextOfType | TypeParametersOfTypeSemanticContext | TypeBodySemanticContext | TypeExtensionBodySemanticContext | ParametersOfFunctionTypeSemanticContext | OutermostSemanticContextOfSubprogram | SubprogramTypeParameterSemanticContext | SubprogramParameterSemanticContext | SpecialLocalDeclarationSemanticContext | StatementBlockSemanticContext | FunctionBlockSemanticContext | FieldWithInitializerSemanticContext | ForStatementSemanticContext | CatchClauseSemanticContext | TranslationTextTemplateSemanticContext;
|
@@ -2,6 +2,7 @@ import * as tree from '../../tree/index.js';
|
|
2
2
|
import { Analyzer } from '../Analyzer.js';
|
3
3
|
import { FunctionDeclaration, IndexedElementAccessorDeclaration, PackageTypeDeclaration, RegularOrBlockFunctionLiteral, SubprogramDeclarationOrLiteral } from '../NodeTypeUtils.js';
|
4
4
|
import { BlockSemanticContext, CatchClauseSemanticContext, ConstructorSemanticContext, DestructorSemanticContext, ForStatementSemanticContext, FunctionBlockSemanticContext, FunctionLiteralSemanticContext, FunctionSemanticContext, IndexedElementAccessorSemanticContext, OperatorSemanticContext, OutermostSemanticContextOfSubprogram, OutermostSemanticContextOfType, PackageConstructorSemanticContext, PackageEntryPointSemanticContext, ParametersOfFunctionTypeSemanticContext, SemanticContext, SemanticContextContainingTypeMember, SourceFileSemanticContext, SpecialLocalDeclarationSemanticContext, StatementBlockSemanticContext, SubprogramParameterSemanticContext, SubprogramTypeParameterSemanticContext, TypeBodySemanticContext, TypeDeclarationCreatingSemanticContext, TypeDeclarationWithMembersBody, TypeExtensionBodySemanticContext, TypeParametersOfTypeSemanticContext, VariableAccessorDeclaration, VariableAccessorSemanticContext } from '../semantic-context/index.js';
|
5
|
+
import { TranslationTextTemplateSemanticContext } from './TranslationTextTemplateSemanticContext.js';
|
5
6
|
export declare class SemanticContextBuilder {
|
6
7
|
private readonly _analyzer;
|
7
8
|
private readonly _sourceFileContexts;
|
@@ -27,6 +28,7 @@ export declare class SemanticContextBuilder {
|
|
27
28
|
private readonly _outermostContextsOfFunctionDeclaration;
|
28
29
|
private readonly _outermostContextsOfTypeDeclaration;
|
29
30
|
private readonly _typeExtensionDeclarationBodyContexts;
|
31
|
+
private readonly _translationTextTemplateContexts;
|
30
32
|
constructor(analyzer: Analyzer);
|
31
33
|
/**
|
32
34
|
* Возвращает контекст, содержащий узел. Если в качестве узла передан исходный файл,
|
@@ -66,6 +68,7 @@ export declare class SemanticContextBuilder {
|
|
66
68
|
ofSubprogram(node: SubprogramDeclarationOrLiteral): OutermostSemanticContextOfSubprogram;
|
67
69
|
containingTypeMember(node: tree.TypeMemberDeclaration): SemanticContextContainingTypeMember;
|
68
70
|
containingPackageMember(node: tree.PackageMemberDeclaration): SourceFileSemanticContext;
|
71
|
+
ofTranslationTextTemplate(node: tree.TranslationTextTemplate): TranslationTextTemplateSemanticContext;
|
69
72
|
private containingInternal;
|
70
73
|
private ofChildOfFunctionDeclaration;
|
71
74
|
private ofChildOfTypeDeclarationWithMemberBlock;
|
@@ -1,13 +1,16 @@
|
|
1
1
|
import { Name } from '../../common/index.js';
|
2
2
|
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
3
3
|
import { IEntityHidingMatcher } from '../../entities/EntityHiding.js';
|
4
|
-
import { LocalVariableEntity, NestedFunctionEntity, ParameterVariableEntity, TypeParameterEntity } from '../../entities/index.js';
|
4
|
+
import { LocalVariableEntity, NestedFunctionEntity, ParameterVariableEntity, TextTemplateParameterVariableEntity, TypeParameterEntity } from '../../entities/index.js';
|
5
5
|
import * as tree from '../../tree/index.js';
|
6
6
|
import { Analyzer } from '../Analyzer.js';
|
7
7
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
8
8
|
import { SemanticContext } from './SemanticContext.js';
|
9
9
|
import { SemanticContextWithParent } from './SemanticContextWithParent.js';
|
10
|
-
export
|
10
|
+
export interface NameConflictsValidator {
|
11
|
+
validateNameConflicts(diagnostics: DiagnosticAcceptor): void;
|
12
|
+
}
|
13
|
+
export declare abstract class SemanticContextValidatingNameConflictsBase extends SemanticContextWithParent implements NameConflictsValidator {
|
11
14
|
abstract readonly outer: SemanticContext;
|
12
15
|
abstract readonly node: tree.Node;
|
13
16
|
protected readonly _analyzer: Analyzer;
|
@@ -35,9 +38,5 @@ export declare abstract class SemanticContextValidatingNameConflictsBase extends
|
|
35
38
|
private createNamedDeclarations;
|
36
39
|
private createTypesOrContainerWithTypes;
|
37
40
|
}
|
38
|
-
|
39
|
-
validateNameConflicts(diagnostics: DiagnosticAcceptor): void;
|
40
|
-
}
|
41
|
-
export type MemberOfSemanticContextValidatingNameConflicts = LocalVariableEntity | ParameterVariableEntity | NestedFunctionEntity | TypeParameterEntity;
|
41
|
+
export type MemberOfSemanticContextValidatingNameConflicts = LocalVariableEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity | NestedFunctionEntity | TypeParameterEntity;
|
42
42
|
export type MemberOfSemanticContextValidatingNameConflictsForTypeLookup = TypeParameterEntity;
|
43
|
-
export {};
|
@@ -13,7 +13,7 @@ export type LastSemanticContextOfSubprogramParent = SemanticContext;
|
|
13
13
|
/**
|
14
14
|
* Завершающий семантический контекст подпрограммы.
|
15
15
|
* Данный контекст располагается после контекста с параметрами (или параметрами типа) и переопределяет метод
|
16
|
-
* {@link
|
16
|
+
* {@link SemanticContext.getContainingSubprogram}.
|
17
17
|
*/
|
18
18
|
export declare abstract class OutermostSemanticContextOfSubprogram extends SemanticContextWithParent {
|
19
19
|
readonly kind = "outermost-of-subprogram";
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as tree from '../../tree/index.js';
|
2
|
+
import { Analyzer } from '../Analyzer.js';
|
3
|
+
import { SemanticContext } from './SemanticContext.js';
|
4
|
+
import { MemberOfSemanticContextValidatingNameConflicts, MemberOfSemanticContextValidatingNameConflictsForTypeLookup, SemanticContextValidatingNameConflictsBase } from './SemanticContextValidatingNameConflicts.js';
|
5
|
+
export declare class TranslationTextTemplateSemanticContext extends SemanticContextValidatingNameConflictsBase {
|
6
|
+
readonly kind = "translation-text-template";
|
7
|
+
readonly node: tree.TranslationTextTemplate;
|
8
|
+
readonly outer: SemanticContext;
|
9
|
+
protected readonly asContext: SemanticContext;
|
10
|
+
constructor(analyzer: Analyzer, node: tree.TranslationTextTemplate, outer: SemanticContext);
|
11
|
+
protected createMemberEntities(): readonly MemberOfSemanticContextValidatingNameConflicts[];
|
12
|
+
protected createMemberEntitiesForTypeLookup(): readonly MemberOfSemanticContextValidatingNameConflictsForTypeLookup[];
|
13
|
+
}
|
@@ -192,19 +192,17 @@ export declare enum DiagnosticCode {
|
|
192
192
|
TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 = 353,
|
193
193
|
EitherIdentifiersOrIntegerIndexesAreAllowedAsParametersOfTextTemplateLiteral = 354,
|
194
194
|
OnlyIndex0IsAllowedHereAsParameterOfTextTemplateLiteral = 355,
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 = 367,
|
207
|
-
ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType = 368,
|
195
|
+
OnlyIdentifierIsAllowedHereAsParameterOfTextTemplateLiteral = 356,
|
196
|
+
UnknownParameterOfTextTemplateTranslation = 357,
|
197
|
+
TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall = 358,
|
198
|
+
ThisCallCausesOwnConstructorCallCycle = 359,
|
199
|
+
OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock = 360,
|
200
|
+
BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock = 361,
|
201
|
+
Field0HasNoInitializerAndMayNotBeAssignedInConstructor = 362,
|
202
|
+
Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 363,
|
203
|
+
Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 364,
|
204
|
+
ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 = 365,
|
205
|
+
ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType = 366,
|
208
206
|
CannotFindTsLibDirectoryBaseSearchPaths0 = 401,
|
209
207
|
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 402,
|
210
208
|
ProgramWithoutMainPackageCannotBeCompiled = 403,
|
@@ -7,7 +7,7 @@ import * as tree from '../tree/index.js';
|
|
7
7
|
import * as types from '../types/index.js';
|
8
8
|
import type { Entity, IndexerEntity, PackageEntity } from './index.js';
|
9
9
|
import { Entity as ActualEntity, ConstructorEntity, DefinitionKind, DestructorEntity, EntityHidingLevel, EntityKind, FunctionEntity, FunctionTypeEntity, GetterEntity, OperatorEntity, SetterEntity, TypeMemberEntityContainer } from './index.js';
|
10
|
-
export type VariableEntity = PackageVariableEntity | FieldEntity | ParameterVariableEntity | LocalVariableEntity;
|
10
|
+
export type VariableEntity = PackageVariableEntity | FieldEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity | LocalVariableEntity;
|
11
11
|
export interface PackageVariableEntity extends IVariableEntity {
|
12
12
|
readonly subkind: 'package';
|
13
13
|
getContainingPackage(): PackageEntity;
|
@@ -34,6 +34,12 @@ export interface ParameterVariableEntity extends IVariableEntity {
|
|
34
34
|
getLocalization(): Localization;
|
35
35
|
getOriginalEntity(): ParameterVariableEntity;
|
36
36
|
}
|
37
|
+
export interface TextTemplateParameterVariableEntity extends IVariableEntity {
|
38
|
+
readonly subkind: 'text-template-parameter';
|
39
|
+
getContainer(): PackageEntity;
|
40
|
+
getLocalization(): Localization;
|
41
|
+
getOriginalEntity(): TextTemplateParameterVariableEntity;
|
42
|
+
}
|
37
43
|
export interface LocalVariableEntity extends IVariableEntity {
|
38
44
|
readonly subkind: 'local';
|
39
45
|
getLocalVariableKind(): LocalVariableKind;
|
@@ -84,13 +90,13 @@ export type VariableEntityDefinition = {
|
|
84
90
|
export type SourceVariableEntityDefinition = SingleSourceVariableEntityDefinition | MultiSourceVariableEntityDefinition;
|
85
91
|
export type SingleSourceVariableEntityDefinition = {
|
86
92
|
kind: 'single';
|
87
|
-
node: tree.PackageVariableDeclaration | tree.FieldDeclaration | tree.LocalVariableDeclaration | tree.EnumerationVariableDeclaration | tree.ErrorVariableDeclaration | tree.ParameterDeclaration | tree.VariantDeclaration;
|
93
|
+
node: tree.PackageVariableDeclaration | tree.FieldDeclaration | tree.LocalVariableDeclaration | tree.EnumerationVariableDeclaration | tree.ErrorVariableDeclaration | tree.ParameterDeclaration | tree.VariantDeclaration | tree.TranslationTextTemplateParameterDeclaration;
|
88
94
|
};
|
89
95
|
export type MultiSourceVariableEntityDefinition = {
|
90
96
|
kind: 'multi';
|
91
97
|
nodes: ReadonlyArray<tree.PackageVariableGetterDeclaration | tree.PackageVariableSetterDeclaration | tree.FieldGetterDeclaration | tree.FieldSetterDeclaration | tree.ParameterDeclaration>;
|
92
98
|
};
|
93
|
-
export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo | ImplicitFunctionBlockParameterSpecialVariableEntityInfo;
|
99
|
+
export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo | ImplicitFunctionBlockParameterSpecialVariableEntityInfo | TextTemplateFunctionTypeParameterSpecialVariableEntityInfo;
|
94
100
|
export declare class ResultSpecialVariableEntityInfo {
|
95
101
|
readonly subprogramNode: SubprogramDeclarationOrLiteral;
|
96
102
|
readonly kind = "result";
|
@@ -112,6 +118,11 @@ export declare class ImplicitFunctionBlockParameterSpecialVariableEntityInfo {
|
|
112
118
|
readonly kind = "implicit-function-block-parameter";
|
113
119
|
constructor(targetTypeParameter: types.ValueParameter, functionBlockLiteral: tree.FunctionBlockLiteral);
|
114
120
|
}
|
121
|
+
export declare class TextTemplateFunctionTypeParameterSpecialVariableEntityInfo {
|
122
|
+
readonly textTemplateParameter: TextTemplateParameterVariableEntity;
|
123
|
+
readonly kind = "text-template-function-type-parameter";
|
124
|
+
constructor(textTemplateParameter: TextTemplateParameterVariableEntity);
|
125
|
+
}
|
115
126
|
export declare class PackageVariableDeclarationEntity implements PackageVariableEntity {
|
116
127
|
private readonly _analyzer;
|
117
128
|
private readonly _node;
|
@@ -497,4 +508,25 @@ export declare class IntrinsicLocalVariableEntity implements LocalVariableEntity
|
|
497
508
|
getLocalization(): Localization;
|
498
509
|
getOriginalEntity(): LocalVariableEntity;
|
499
510
|
}
|
511
|
+
export declare class TranslationTextTemplateParameterDeclarationEntity implements TextTemplateParameterVariableEntity {
|
512
|
+
private readonly _analyzer;
|
513
|
+
private readonly _node;
|
514
|
+
readonly kind = EntityKind.Variable;
|
515
|
+
readonly subkind = "text-template-parameter";
|
516
|
+
constructor(_analyzer: Analyzer, _node: tree.TranslationTextTemplateParameterDeclaration);
|
517
|
+
getName(): Name;
|
518
|
+
getContainer(): PackageEntity;
|
519
|
+
getType(): types.Type;
|
520
|
+
getDefinition(): VariableEntityDefinition;
|
521
|
+
getGetter(): GetterEntity | undefined;
|
522
|
+
getSetter(): SetterEntity | undefined;
|
523
|
+
isConstant(): boolean;
|
524
|
+
isHidden(): EntityHidingLevel | undefined;
|
525
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
526
|
+
getTags(): readonly Tag[];
|
527
|
+
isOptional(): boolean;
|
528
|
+
isVariadic(): boolean;
|
529
|
+
getLocalization(): Localization;
|
530
|
+
getOriginalEntity(): TextTemplateParameterVariableEntity;
|
531
|
+
}
|
500
532
|
export {};
|
@@ -139,25 +139,24 @@ export declare enum NodeKind {
|
|
139
139
|
FieldOrVariantTranslation = 137,
|
140
140
|
TypeMemberTranslationList = 138,
|
141
141
|
TypeTranslation = 139,
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
TypeAnnotation = 160
|
142
|
+
TextTranslation = 140,
|
143
|
+
TranslationTextTemplate = 141,
|
144
|
+
TranslationTextTemplateSpanList = 142,
|
145
|
+
TranslationTextTemplateSpan = 143,
|
146
|
+
TranslationTextTemplateParameterDeclaration = 144,
|
147
|
+
VariantDeclaration = 145,
|
148
|
+
TypeParameterDeclaration = 146,
|
149
|
+
ParameterDeclaration = 147,
|
150
|
+
Argument = 148,
|
151
|
+
TagList = 149,
|
152
|
+
Tag = 150,
|
153
|
+
ModifierList = 151,
|
154
|
+
Modifier = 152,
|
155
|
+
ParameterClause = 153,
|
156
|
+
ParameterList = 154,
|
157
|
+
TypeArgumentClause = 155,
|
158
|
+
TypeArgumentList = 156,
|
159
|
+
TypeParameterClause = 157,
|
160
|
+
TypeParameterList = 158,
|
161
|
+
TypeAnnotation = 159
|
163
162
|
}
|
@@ -1706,7 +1706,7 @@ export declare class TopLevelTranslationList extends BaseNode {
|
|
1706
1706
|
constructor(elements: readonly TopLevelTranslationListElement[]);
|
1707
1707
|
toRed(rangeStart: number, parent: red.TopLevelTranslationListParent): red.TopLevelTranslationList;
|
1708
1708
|
}
|
1709
|
-
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation |
|
1709
|
+
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextTranslation;
|
1710
1710
|
export declare class TranslationParameterList extends BaseNode {
|
1711
1711
|
readonly kind = NodeKind.TranslationParameterList;
|
1712
1712
|
readonly children: readonly IdentifierListElement[];
|
@@ -1956,34 +1956,21 @@ export declare class TypeTranslation extends BaseNode {
|
|
1956
1956
|
toRed(rangeStart: number, parent: red.TypeTranslationParent): red.TypeTranslation;
|
1957
1957
|
}
|
1958
1958
|
export type TypeMemberTranslation = FieldOrVariantTranslation | MethodTranslation | IndexerTranslation | ConstructorTranslation;
|
1959
|
-
export
|
1960
|
-
readonly kind = NodeKind.TextLiteralTranslation;
|
1961
|
-
readonly children: readonly [
|
1962
|
-
TextLiteral,
|
1963
|
-
Token<TokenKind.MinusGreaterThan>,
|
1964
|
-
TextLiteral
|
1965
|
-
];
|
1966
|
-
get sourceText(): TextLiteral;
|
1967
|
-
get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
|
1968
|
-
get translatedText(): TextLiteral;
|
1969
|
-
protected get thisAsNode(): Node;
|
1970
|
-
constructor(sourceText: TextLiteral, minusGreaterThanToken: Token<TokenKind.MinusGreaterThan>, translatedText: TextLiteral);
|
1971
|
-
toRed(rangeStart: number, parent: red.TextLiteralTranslationParent): red.TextLiteralTranslation;
|
1972
|
-
}
|
1959
|
+
export type TranslationSourceText = TextLiteral | TranslationTextTemplate;
|
1973
1960
|
export type TranslatedTextOrTranslationFunction = TextLiteral | TextTemplateLiteral | FunctionLiteral | FunctionBlockLiteral | InvalidExpression;
|
1974
|
-
export declare class
|
1975
|
-
readonly kind = NodeKind.
|
1961
|
+
export declare class TextTranslation extends BaseNode {
|
1962
|
+
readonly kind = NodeKind.TextTranslation;
|
1976
1963
|
readonly children: readonly [
|
1977
|
-
|
1964
|
+
TranslationSourceText,
|
1978
1965
|
Token<TokenKind.MinusGreaterThan>,
|
1979
1966
|
TranslatedTextOrTranslationFunction
|
1980
1967
|
];
|
1981
|
-
get sourceText():
|
1968
|
+
get sourceText(): TranslationSourceText;
|
1982
1969
|
get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
|
1983
1970
|
get translatedTextOrTranslationFunction(): TranslatedTextOrTranslationFunction;
|
1984
1971
|
protected get thisAsNode(): Node;
|
1985
|
-
constructor(sourceText:
|
1986
|
-
toRed(rangeStart: number, parent: red.
|
1972
|
+
constructor(sourceText: TranslationSourceText, minusGreaterThanToken: Token<TokenKind.MinusGreaterThan>, translatedTextOrTranslationFunction: TranslatedTextOrTranslationFunction);
|
1973
|
+
toRed(rangeStart: number, parent: red.TextTranslationParent): red.TextTranslation;
|
1987
1974
|
}
|
1988
1975
|
export declare class TranslationTextTemplate extends BaseNode {
|
1989
1976
|
readonly kind = NodeKind.TranslationTextTemplate;
|
@@ -2005,17 +1992,16 @@ export declare class TranslationTextTemplateSpanList extends BaseNode {
|
|
2005
1992
|
constructor(spans: readonly TranslationTextTemplateSpan[]);
|
2006
1993
|
toRed(rangeStart: number, parent: red.TranslationTextTemplateSpanListParent): red.TranslationTextTemplateSpanList;
|
2007
1994
|
}
|
2008
|
-
export type IntegerLiteral = Token<TokenKind.IntegerLiteral>;
|
2009
1995
|
export declare class TranslationTextTemplateSpan extends BaseNode {
|
2010
1996
|
readonly kind = NodeKind.TranslationTextTemplateSpan;
|
2011
1997
|
readonly children: readonly [
|
2012
|
-
TranslationTextTemplateParameterDeclaration
|
1998
|
+
TranslationTextTemplateParameterDeclaration,
|
2013
1999
|
TextTemplatePart | TextTemplateTail
|
2014
2000
|
];
|
2015
|
-
get parameter(): TranslationTextTemplateParameterDeclaration
|
2001
|
+
get parameter(): TranslationTextTemplateParameterDeclaration;
|
2016
2002
|
get text(): TextTemplatePart | TextTemplateTail;
|
2017
2003
|
protected get thisAsNode(): Node;
|
2018
|
-
constructor(parameter: TranslationTextTemplateParameterDeclaration
|
2004
|
+
constructor(parameter: TranslationTextTemplateParameterDeclaration, text: TextTemplatePart | TextTemplateTail);
|
2019
2005
|
toRed(rangeStart: number, parent: red.TranslationTextTemplateSpanParent): red.TranslationTextTemplateSpan;
|
2020
2006
|
}
|
2021
2007
|
export declare class TranslationTextTemplateParameterDeclaration extends BaseNode {
|
@@ -2234,4 +2220,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2234
2220
|
constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
|
2235
2221
|
toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
|
2236
2222
|
}
|
2237
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation |
|
2223
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextTranslation | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameterDeclaration | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|
@@ -851,7 +851,7 @@ export declare class EnumerationVariableDeclaration extends BaseNode {
|
|
851
851
|
private createChildren;
|
852
852
|
}
|
853
853
|
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | GenericSpecializationExpression | DefaultMatchExpression | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression;
|
854
|
-
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | FieldDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause |
|
854
|
+
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | FieldDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause | TextTranslation | FunctionBlock;
|
855
855
|
export type ExpressionListElement = Expression | Comma;
|
856
856
|
export declare class ArrayLiteral extends BaseNode {
|
857
857
|
readonly kind = NodeKind.ArrayLiteral;
|
@@ -1693,7 +1693,7 @@ export declare class TopLevelTranslationList extends BaseNode {
|
|
1693
1693
|
constructor(green: green.TopLevelTranslationList, rangeStart: number, parent: TopLevelTranslationListParent);
|
1694
1694
|
private createChildren;
|
1695
1695
|
}
|
1696
|
-
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation |
|
1696
|
+
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextTranslation;
|
1697
1697
|
export type TranslationParameterListParent = TranslationParameterClause | IndexParameterTranslationClause;
|
1698
1698
|
export declare class TranslationParameterList extends BaseNode {
|
1699
1699
|
readonly kind = NodeKind.TranslationParameterList;
|
@@ -1939,36 +1939,23 @@ export declare class TypeTranslation extends BaseNode {
|
|
1939
1939
|
}
|
1940
1940
|
export type TypeMemberTranslation = FieldOrVariantTranslation | MethodTranslation | IndexerTranslation | ConstructorTranslation;
|
1941
1941
|
export type TypeMemberTranslationParent = TypeMemberTranslationList;
|
1942
|
-
export type
|
1943
|
-
export
|
1944
|
-
readonly kind = NodeKind.TextLiteralTranslation;
|
1945
|
-
readonly green: green.TextLiteralTranslation;
|
1946
|
-
readonly parent: TextLiteralTranslationParent;
|
1947
|
-
private _children;
|
1948
|
-
get children(): readonly [TextLiteral, Token<green.TokenKind.MinusGreaterThan>, TextLiteral];
|
1949
|
-
get sourceText(): TextLiteral;
|
1950
|
-
get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
|
1951
|
-
get translatedText(): TextLiteral;
|
1952
|
-
protected get thisAsNode(): Node;
|
1953
|
-
constructor(green: green.TextLiteralTranslation, rangeStart: number, parent: TextLiteralTranslationParent);
|
1954
|
-
private createChildren;
|
1955
|
-
}
|
1956
|
-
export type TextTemplateLiteralTranslationParent = TopLevelTranslationList;
|
1942
|
+
export type TextTranslationParent = TopLevelTranslationList;
|
1943
|
+
export type TranslationSourceText = TextLiteral | TranslationTextTemplate;
|
1957
1944
|
export type TranslatedTextOrTranslationFunction = TextLiteral | TextTemplateLiteral | FunctionLiteral | FunctionBlockLiteral | InvalidExpression;
|
1958
|
-
export declare class
|
1959
|
-
readonly kind = NodeKind.
|
1960
|
-
readonly green: green.
|
1961
|
-
readonly parent:
|
1945
|
+
export declare class TextTranslation extends BaseNode {
|
1946
|
+
readonly kind = NodeKind.TextTranslation;
|
1947
|
+
readonly green: green.TextTranslation;
|
1948
|
+
readonly parent: TextTranslationParent;
|
1962
1949
|
private _children;
|
1963
|
-
get children(): readonly [
|
1964
|
-
get sourceText():
|
1950
|
+
get children(): readonly [TranslationSourceText, Token<green.TokenKind.MinusGreaterThan>, TranslatedTextOrTranslationFunction];
|
1951
|
+
get sourceText(): TranslationSourceText;
|
1965
1952
|
get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
|
1966
1953
|
get translatedTextOrTranslationFunction(): TranslatedTextOrTranslationFunction;
|
1967
1954
|
protected get thisAsNode(): Node;
|
1968
|
-
constructor(green: green.
|
1955
|
+
constructor(green: green.TextTranslation, rangeStart: number, parent: TextTranslationParent);
|
1969
1956
|
private createChildren;
|
1970
1957
|
}
|
1971
|
-
export type TranslationTextTemplateParent =
|
1958
|
+
export type TranslationTextTemplateParent = TextTranslation;
|
1972
1959
|
export declare class TranslationTextTemplate extends BaseNode {
|
1973
1960
|
readonly kind = NodeKind.TranslationTextTemplate;
|
1974
1961
|
readonly green: green.TranslationTextTemplate;
|
@@ -1993,15 +1980,14 @@ export declare class TranslationTextTemplateSpanList extends BaseNode {
|
|
1993
1980
|
constructor(green: green.TranslationTextTemplateSpanList, rangeStart: number, parent: TranslationTextTemplateSpanListParent);
|
1994
1981
|
private createChildren;
|
1995
1982
|
}
|
1996
|
-
export type IntegerLiteral = Token<TokenKind.IntegerLiteral>;
|
1997
1983
|
export type TranslationTextTemplateSpanParent = TranslationTextTemplateSpanList;
|
1998
1984
|
export declare class TranslationTextTemplateSpan extends BaseNode {
|
1999
1985
|
readonly kind = NodeKind.TranslationTextTemplateSpan;
|
2000
1986
|
readonly green: green.TranslationTextTemplateSpan;
|
2001
1987
|
readonly parent: TranslationTextTemplateSpanParent;
|
2002
1988
|
private _children;
|
2003
|
-
get children(): readonly [TranslationTextTemplateParameterDeclaration
|
2004
|
-
get parameter(): TranslationTextTemplateParameterDeclaration
|
1989
|
+
get children(): readonly [TranslationTextTemplateParameterDeclaration, TextTemplatePart | TextTemplateTail];
|
1990
|
+
get parameter(): TranslationTextTemplateParameterDeclaration;
|
2005
1991
|
get text(): TextTemplatePart | TextTemplateTail;
|
2006
1992
|
protected get thisAsNode(): Node;
|
2007
1993
|
constructor(green: green.TranslationTextTemplateSpan, rangeStart: number, parent: TranslationTextTemplateSpanParent);
|
@@ -2237,4 +2223,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2237
2223
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
2238
2224
|
private createChildren;
|
2239
2225
|
}
|
2240
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation |
|
2226
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextTranslation | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameterDeclaration | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|