@artel/artc 0.6.25228 → 0.6.25229
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 +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +55 -56
- package/build/{chunk-F5OW64UA.js → chunk-2FHW6RUS.js} +1 -1
- package/build/{chunk-FHJJX7JY.js → chunk-4UBNOTKC.js} +2 -2
- package/build/{chunk-5GSDYTF6.js → chunk-6YPLDA76.js} +578 -548
- package/build/types/analysis/Analyzer.d.ts +3 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +1 -1
- package/build/types/analysis/ModifierFlags.d.ts +5 -6
- package/build/types/diagnostic/DiagnosticCode.d.ts +25 -26
- package/build/types/emitter/Entities.d.ts +4 -4
- package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
- package/build/types/entities/FunctionEntity.d.ts +8 -8
- package/build/types/entities/IndexerEntity.d.ts +4 -4
- package/build/types/entities/OperatorEntity.d.ts +4 -4
- package/build/types/entities/VariableEntity.d.ts +12 -12
- package/build/types/project/SourcePackage.d.ts +3 -1
- package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +2 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +2 -0
- package/build/types/tree/KeywordKind.d.ts +21 -22
- package/build/types/tree/green/BaseNode.d.ts +3 -1
- package/build/types/tree/green/Nodes.d.ts +1 -1
- package/build/types/tree/red/BaseNode.d.ts +2 -1
- package/build/types/tree/red/Nodes.d.ts +1 -1
- package/build/types/ts-interop/Entities.d.ts +12 -12
- package/package.json +1 -1
@@ -261,9 +261,9 @@ export declare class Analyzer {
|
|
261
261
|
createDiagnostic(code: DiagnosticCode, location: DiagnosticLocation | undefined, formatArguments?: readonly string[], kind?: DiagnosticKind, flags?: DiagnosticFlags): Diagnostic;
|
262
262
|
createNodeDiagnosticLocation(node: tree.Node): DiagnosticLocation;
|
263
263
|
getDeclaredTypeMemberEntities(node: tree.TypeMemberDeclarationBlock): DeclaredTypeMemberEntities;
|
264
|
-
|
265
|
-
|
266
|
-
|
264
|
+
getBasicMethodOfOriginalTypeForBasicMethodOfAliasType(entity: e.MethodEntity): e.MethodEntity | undefined;
|
265
|
+
checkBodyOfBasicAliasTypeMethod(node: tree.MethodDeclaration, diagnostics?: DiagnosticAcceptor): {
|
266
|
+
basicMethodOfOriginalType: e.MethodEntity;
|
267
267
|
} | undefined;
|
268
268
|
getControlFlowGraph(sourceFile: project.SourceFile): controlFlow.GraphBuildResult;
|
269
269
|
createAmbiguousEntityAccessDiagnostic(entities: readonly WithLocalization<e.Entity>[], lctx: LocalizationContext, node: tree.Node): Diagnostic;
|
@@ -50,7 +50,7 @@ export declare class DiagnosticCollector {
|
|
50
50
|
private getPackageMemberBodyRequirementReason;
|
51
51
|
private checkTypeMemberBodyPresence;
|
52
52
|
private getTypeMemberBodyRequirementReason;
|
53
|
-
private
|
53
|
+
private isBasicEntity;
|
54
54
|
private checkIdentifierExpression;
|
55
55
|
private checkLocalVariableUsedBeforeDeclaration;
|
56
56
|
private checkLocalVariableIsUsedBeforeBeingAssigned;
|
@@ -7,10 +7,9 @@ export declare enum ModifierFlags {
|
|
7
7
|
HiddenInPackage = 16,
|
8
8
|
Basic = 32,
|
9
9
|
Static = 64,
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
NotComputed = 4096
|
10
|
+
Abstract = 128,
|
11
|
+
Redefined = 256,
|
12
|
+
Async = 512,
|
13
|
+
Const = 1024,
|
14
|
+
NotComputed = 2048
|
16
15
|
}
|
@@ -111,39 +111,38 @@ export declare enum DiagnosticCode {
|
|
111
111
|
FunctionIsDeclaredButNotUsed = 273,
|
112
112
|
TypeParameterIsDeclaredButNotUsed = 274,
|
113
113
|
DefaultConstructorArgumentsMustBeNamed = 275,
|
114
|
-
|
114
|
+
IncorrectBodyOfBasicAliasTypeMethod = 276,
|
115
115
|
TheFollowingDeclarationsAreNotTranslated0 = 277,
|
116
116
|
TheFollowingDeclarationAreNotTranslated0And1More = 278,
|
117
117
|
OperatorFunctionMustNotBeStatic = 279,
|
118
118
|
OperatorFunction0MustNotHaveParameters = 280,
|
119
119
|
OperatorFunction0MustHaveOneParameter = 281,
|
120
120
|
OperatorFunction0MustHaveNoMoreThanOneParameter = 282,
|
121
|
-
|
121
|
+
CorrespondingBasicTypeMemberNotFound = 283,
|
122
122
|
ConstructorCannotBeDeclaredAsBasic = 284,
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
WriteFunctionHasNoCorrespondingReadFunction = 308,
|
123
|
+
ConstructorCannotBeDeclaredAsOverridden = 285,
|
124
|
+
AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier = 286,
|
125
|
+
TagNotFound = 287,
|
126
|
+
TypeOrFunctionNameExpected = 288,
|
127
|
+
PackageNameOrAliasExpected = 289,
|
128
|
+
ExpressionCanBeNone = 290,
|
129
|
+
TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator = 291,
|
130
|
+
UnreachableCode = 292,
|
131
|
+
RecursionOccurredWhileCalculatingTheTypeOfTheExpression = 293,
|
132
|
+
RecursionOccurredWhileInferringTheTypeOfTheVariable = 294,
|
133
|
+
ScopeAlreadyContainsDeclarationWithTheSameName = 295,
|
134
|
+
ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 296,
|
135
|
+
ParameterName0ConflictsWithAutomaticallyGeneratedVariableName = 297,
|
136
|
+
PackageAlreadyContainsDeclarationWithTheSameName = 298,
|
137
|
+
PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 299,
|
138
|
+
PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount = 300,
|
139
|
+
PackageAliasWithTheSameNameAlreadyExits = 301,
|
140
|
+
PackageCanHaveOnlyEntryPoint = 302,
|
141
|
+
PackageCanHaveOnlyOneConstructor = 303,
|
142
|
+
VariableIsUsedBeforeItsDeclaration = 304,
|
143
|
+
VariableMayNotHasBeenAssignedBeforeUsage = 305,
|
144
|
+
NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned = 306,
|
145
|
+
WriteFunctionHasNoCorrespondingReadFunction = 307,
|
147
146
|
CannotFindTsLibDirectoryBaseSearchPaths0 = 401,
|
148
147
|
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 402,
|
149
148
|
ProgramWithoutMainPackageCannotBeCompiled = 403,
|
@@ -23,12 +23,12 @@ export declare class FunctionEntityDetails implements TypeMemberEntityDetails {
|
|
23
23
|
isPackageConstructor: boolean;
|
24
24
|
isPackageEntryPoint: boolean;
|
25
25
|
overriddenMembers: readonly FunctionEntity[];
|
26
|
-
|
26
|
+
ifBasicAliasTypeMethodThenRealMethod: FunctionEntity | undefined;
|
27
27
|
isDefaultExport: boolean;
|
28
28
|
isAliasTypeOrExtensionMemberThatRequiresLowering: boolean;
|
29
29
|
isBuiltInOperator: boolean;
|
30
30
|
hasComputedName: ComputedNameInfo | undefined;
|
31
|
-
|
31
|
+
isBasic: boolean;
|
32
32
|
isTypeExtensionMemberAddedToPrototype: boolean;
|
33
33
|
isAbstract: boolean;
|
34
34
|
isStatic: boolean;
|
@@ -65,7 +65,7 @@ export declare class VariableEntityDetails implements TypeMemberEntityDetails {
|
|
65
65
|
isProxiedField: ProxiedFieldInfo | undefined;
|
66
66
|
isDefaultExport: boolean;
|
67
67
|
hasComputedName: ComputedNameInfo | undefined;
|
68
|
-
|
68
|
+
isBasic: boolean;
|
69
69
|
isAbstract: boolean;
|
70
70
|
isTypeExtensionMemberAddedToPrototype: boolean;
|
71
71
|
isStatic: boolean;
|
@@ -78,7 +78,7 @@ export type TypeMemberEntity = FunctionEntity | VariableEntity;
|
|
78
78
|
interface TypeMemberEntityDetails {
|
79
79
|
isStatic: boolean;
|
80
80
|
isAbstract: boolean;
|
81
|
-
|
81
|
+
isBasic: boolean;
|
82
82
|
overriddenMembers: readonly TypeMemberEntity[];
|
83
83
|
hasComputedName: ComputedNameInfo | undefined;
|
84
84
|
isTypeExtensionMemberAddedToPrototype: boolean;
|
@@ -12,8 +12,8 @@ export interface DereferenceOperatorEntity {
|
|
12
12
|
getContainer(): TypeMemberEntityContainer;
|
13
13
|
isStatic(): boolean;
|
14
14
|
isHidden(): EntityHidingLevel | undefined;
|
15
|
-
|
16
|
-
|
15
|
+
isBasic(): boolean;
|
16
|
+
isOverridden(): boolean;
|
17
17
|
isAbstract(): boolean;
|
18
18
|
getTags(): readonly Tag[];
|
19
19
|
getOverriddenMembers(): readonly types.DereferenceOperator[];
|
@@ -41,8 +41,8 @@ export declare class DereferenceOperatorDeclarationEntity implements Dereference
|
|
41
41
|
getContainer(): TypeMemberEntityContainer;
|
42
42
|
isStatic(): boolean;
|
43
43
|
isHidden(): EntityHidingLevel | undefined;
|
44
|
-
|
45
|
-
|
44
|
+
isBasic(): boolean;
|
45
|
+
isOverridden(): boolean;
|
46
46
|
isAbstract(): boolean;
|
47
47
|
getTags(): readonly Tag[];
|
48
48
|
getOverriddenMembers(): readonly types.DereferenceOperator[];
|
@@ -14,8 +14,8 @@ export interface MethodEntity extends IFunctionEntity {
|
|
14
14
|
readonly subkind: 'method';
|
15
15
|
getContainer(): TypeMemberEntityContainer;
|
16
16
|
isStatic(): boolean;
|
17
|
-
|
18
|
-
|
17
|
+
isBasic(): boolean;
|
18
|
+
isOverridden(): boolean;
|
19
19
|
isAbstract(): boolean;
|
20
20
|
isModifyingOwningPlainObject(): boolean;
|
21
21
|
isFunctionTypeInvokeMethod(): boolean;
|
@@ -91,8 +91,8 @@ export declare class MethodDeclarationEntity implements MethodEntity {
|
|
91
91
|
isFunctionTypeInvokeMethod(): boolean;
|
92
92
|
getContainer(): TypeMemberEntityContainer;
|
93
93
|
isStatic(): boolean;
|
94
|
-
|
95
|
-
|
94
|
+
isBasic(): boolean;
|
95
|
+
isOverridden(): boolean;
|
96
96
|
isAbstract(): boolean;
|
97
97
|
isModifyingOwningPlainObject(): boolean;
|
98
98
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
@@ -153,14 +153,14 @@ export declare class IntrinsicMethodEntity implements MethodEntity {
|
|
153
153
|
private readonly _isFunctionTypeInvokeMethod;
|
154
154
|
private readonly _container;
|
155
155
|
private readonly _isStatic;
|
156
|
-
private readonly
|
156
|
+
private readonly _isBasic;
|
157
157
|
private readonly _isRedefined;
|
158
158
|
private readonly _isAbstract;
|
159
159
|
private readonly _isModifyingOwningPlainObject;
|
160
160
|
private readonly _overriddenMembers;
|
161
161
|
readonly kind = EntityKind.Function;
|
162
162
|
readonly subkind = "method";
|
163
|
-
constructor(_name: Name, _typeParameters: readonly TypeParameterEntity[], _valueParameters: readonly ParameterVariableEntity[], _returnType: types.Type, _isAsync: boolean, _isHidden: EntityHidingLevel | undefined, _tags: readonly Tag[], _isFunctionTypeInvokeMethod: boolean, _container: TypeMemberEntityContainer, _isStatic: boolean,
|
163
|
+
constructor(_name: Name, _typeParameters: readonly TypeParameterEntity[], _valueParameters: readonly ParameterVariableEntity[], _returnType: types.Type, _isAsync: boolean, _isHidden: EntityHidingLevel | undefined, _tags: readonly Tag[], _isFunctionTypeInvokeMethod: boolean, _container: TypeMemberEntityContainer, _isStatic: boolean, _isBasic: boolean, _isRedefined: boolean, _isAbstract: boolean, _isModifyingOwningPlainObject: boolean, _overriddenMembers: readonly types.Method[]);
|
164
164
|
getName(): Name;
|
165
165
|
getTypeParameters(): readonly TypeParameterEntity[];
|
166
166
|
getValueParameters(): readonly ParameterVariableEntity[];
|
@@ -173,8 +173,8 @@ export declare class IntrinsicMethodEntity implements MethodEntity {
|
|
173
173
|
isFunctionTypeInvokeMethod(): boolean;
|
174
174
|
getContainer(): TypeMemberEntityContainer;
|
175
175
|
isStatic(): boolean;
|
176
|
-
|
177
|
-
|
176
|
+
isBasic(): boolean;
|
177
|
+
isOverridden(): boolean;
|
178
178
|
isAbstract(): boolean;
|
179
179
|
isModifyingOwningPlainObject(): boolean;
|
180
180
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
@@ -13,8 +13,8 @@ export interface IndexerEntity {
|
|
13
13
|
getContainer(): TypeMemberEntityContainer;
|
14
14
|
isStatic(): boolean;
|
15
15
|
isHidden(): EntityHidingLevel | undefined;
|
16
|
-
|
17
|
-
|
16
|
+
isBasic(): boolean;
|
17
|
+
isOverridden(): boolean;
|
18
18
|
isAbstract(): boolean;
|
19
19
|
getTags(): readonly Tag[];
|
20
20
|
getOverriddenMembers(): readonly types.Indexer[];
|
@@ -51,8 +51,8 @@ export declare class IndexerDeclarationEntity implements SourceIndexerEntity {
|
|
51
51
|
getContainer(): TypeMemberEntityContainer;
|
52
52
|
isStatic(): boolean;
|
53
53
|
isHidden(): EntityHidingLevel | undefined;
|
54
|
-
|
55
|
-
|
54
|
+
isBasic(): boolean;
|
55
|
+
isOverridden(): boolean;
|
56
56
|
isAbstract(): boolean;
|
57
57
|
getTags(): readonly Tag[];
|
58
58
|
getOverriddenMembers(): readonly types.Indexer[];
|
@@ -11,8 +11,8 @@ export interface OperatorEntity {
|
|
11
11
|
getDefinition(): OperatorDefinition;
|
12
12
|
getContainer(): TypeMemberEntityContainer;
|
13
13
|
isStatic(): boolean;
|
14
|
-
|
15
|
-
|
14
|
+
isBasic(): boolean;
|
15
|
+
isOverridden(): boolean;
|
16
16
|
isAbstract(): boolean;
|
17
17
|
isHidden(): EntityHidingLevel | undefined;
|
18
18
|
getTags(): readonly Tag[];
|
@@ -38,8 +38,8 @@ export declare class OperatorDeclarationEntity implements OperatorEntity {
|
|
38
38
|
getDefinition(): OperatorDefinition;
|
39
39
|
getContainer(): TypeMemberEntityContainer;
|
40
40
|
isStatic(): boolean;
|
41
|
-
|
42
|
-
|
41
|
+
isBasic(): boolean;
|
42
|
+
isOverridden(): boolean;
|
43
43
|
isAbstract(): boolean;
|
44
44
|
isHidden(): EntityHidingLevel | undefined;
|
45
45
|
getTags(): readonly Tag[];
|
@@ -15,8 +15,8 @@ export interface FieldEntity extends IVariableEntity {
|
|
15
15
|
readonly subkind: 'field';
|
16
16
|
getContainer(): TypeMemberEntityContainer;
|
17
17
|
isStatic(): boolean;
|
18
|
-
|
19
|
-
|
18
|
+
isBasic(): boolean;
|
19
|
+
isOverridden(): boolean;
|
20
20
|
isAbstract(): boolean;
|
21
21
|
getOverriddenMembers(): readonly types.Variable[];
|
22
22
|
isVariant(): boolean;
|
@@ -168,8 +168,8 @@ export declare class FieldDeclarationEntity implements FieldEntity {
|
|
168
168
|
getTags(): readonly Tag[];
|
169
169
|
getContainer(): TypeMemberEntityContainer;
|
170
170
|
isStatic(): boolean;
|
171
|
-
|
172
|
-
|
171
|
+
isBasic(): boolean;
|
172
|
+
isOverridden(): boolean;
|
173
173
|
isAbstract(): boolean;
|
174
174
|
getOverriddenMembers(): readonly types.Variable[];
|
175
175
|
isVariant(): boolean;
|
@@ -192,8 +192,8 @@ export declare class ComputedFieldDeclarationEntity implements FieldEntity {
|
|
192
192
|
isHidden(): EntityHidingLevel | undefined;
|
193
193
|
isConstant(): boolean;
|
194
194
|
isStatic(): boolean;
|
195
|
-
|
196
|
-
|
195
|
+
isBasic(): boolean;
|
196
|
+
isOverridden(): boolean;
|
197
197
|
isAbstract(): boolean;
|
198
198
|
getDefinition(): VariableEntityDefinition;
|
199
199
|
getGetter(): GetterEntity | undefined;
|
@@ -222,8 +222,8 @@ export declare class VariantDeclarationEntity implements FieldEntity {
|
|
222
222
|
getTags(): readonly Tag[];
|
223
223
|
getContainer(): TypeMemberEntityContainer;
|
224
224
|
isStatic(): boolean;
|
225
|
-
|
226
|
-
|
225
|
+
isBasic(): boolean;
|
226
|
+
isOverridden(): boolean;
|
227
227
|
isAbstract(): boolean;
|
228
228
|
getOverriddenMembers(): readonly types.Variable[];
|
229
229
|
isVariant(): boolean;
|
@@ -383,7 +383,7 @@ export declare class IntrinsicFieldEntity implements FieldEntity {
|
|
383
383
|
private readonly _type;
|
384
384
|
private readonly _container;
|
385
385
|
private readonly _isStatic;
|
386
|
-
private readonly
|
386
|
+
private readonly _isBasic;
|
387
387
|
private readonly _isRedefined;
|
388
388
|
private readonly _isAbstract;
|
389
389
|
private readonly _isSpecial;
|
@@ -393,7 +393,7 @@ export declare class IntrinsicFieldEntity implements FieldEntity {
|
|
393
393
|
private readonly _overriddenMembers;
|
394
394
|
readonly kind = EntityKind.Variable;
|
395
395
|
readonly subkind = "field";
|
396
|
-
constructor(_name: Name, _type: types.Type, _container: TypeMemberEntityContainer, _isStatic: boolean,
|
396
|
+
constructor(_name: Name, _type: types.Type, _container: TypeMemberEntityContainer, _isStatic: boolean, _isBasic: boolean, _isRedefined: boolean, _isAbstract: boolean, _isSpecial: SpecialVariableEntityInfo | undefined, _isHidden: EntityHidingLevel | undefined, _getter: GetterEntity | undefined, _setter: SetterEntity | undefined, _overriddenMembers: readonly types.Variable[]);
|
397
397
|
getName(): Name;
|
398
398
|
getType(): types.Type;
|
399
399
|
getDefinition(): VariableEntityDefinition;
|
@@ -405,8 +405,8 @@ export declare class IntrinsicFieldEntity implements FieldEntity {
|
|
405
405
|
getTags(): readonly Tag[];
|
406
406
|
getContainer(): TypeMemberEntityContainer;
|
407
407
|
isStatic(): boolean;
|
408
|
-
|
409
|
-
|
408
|
+
isBasic(): boolean;
|
409
|
+
isOverridden(): boolean;
|
410
410
|
isAbstract(): boolean;
|
411
411
|
getOverriddenMembers(): readonly types.Variable[];
|
412
412
|
isVariant(): boolean;
|
@@ -38,8 +38,10 @@ export declare class TranslationPackageConfiguration {
|
|
38
38
|
readonly targetPackageName: PackageName;
|
39
39
|
readonly translatedName: PackageName;
|
40
40
|
readonly translationLocale: PackageLocale;
|
41
|
+
readonly locale: PackageLocale;
|
42
|
+
readonly dialect?: PackageDialect | undefined;
|
41
43
|
get name(): PackageName;
|
42
|
-
constructor(targetPackageName: PackageName, translatedName: PackageName, translationLocale: PackageLocale);
|
44
|
+
constructor(targetPackageName: PackageName, translatedName: PackageName, translationLocale: PackageLocale, locale: PackageLocale, dialect?: PackageDialect | undefined);
|
43
45
|
}
|
44
46
|
export declare class ProgramPackageConfiguration {
|
45
47
|
readonly name: PackageName;
|
@@ -8,7 +8,7 @@ export declare class ConfigurationConverter {
|
|
8
8
|
static convert(configurations: readonly origin.Configuration[], packageOrGroupUri?: Uri, defaultLocale?: PackageLocale, defaultDialect?: PackageDialect): ConvertedConfiguration;
|
9
9
|
static convertPackageConfiguration(configuration: origin.Package, packageOrGroupUri?: Uri, defaultLocale?: PackageLocale, defaultDialect?: PackageDialect): ProgramPackageConfiguration;
|
10
10
|
static convertPackageGroupConfiguration(configuration: origin.PackageGroup): PackageGroupConfiguration;
|
11
|
-
static convertTranslationsConfiguration(configuration: origin.Translations): TranslationPackageConfiguration;
|
11
|
+
static convertTranslationsConfiguration(configuration: origin.Translations, defaultLocale?: PackageLocale, defaultDialect?: PackageDialect): TranslationPackageConfiguration;
|
12
12
|
private static convertJavaScriptImplementation;
|
13
13
|
private static convertLanguage;
|
14
14
|
private static convertDialect;
|
@@ -38,26 +38,25 @@ export declare enum KeywordKind {
|
|
38
38
|
Const = 36,
|
39
39
|
Hidden = 37,
|
40
40
|
Abstract = 38,
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
Set = 60
|
41
|
+
Redefined = 39,
|
42
|
+
Async = 40,
|
43
|
+
Static = 41,
|
44
|
+
As = 42,
|
45
|
+
Not = 43,
|
46
|
+
Switch = 44,
|
47
|
+
Case = 45,
|
48
|
+
Dispose = 46,
|
49
|
+
Destruction = 47,
|
50
|
+
InHierarchy = 48,
|
51
|
+
InFile = 49,
|
52
|
+
InPackage = 50,
|
53
|
+
InType = 51,
|
54
|
+
Yes = 52,
|
55
|
+
No = 53,
|
56
|
+
Reference = 54,
|
57
|
+
Translations = 55,
|
58
|
+
Base = 56,
|
59
|
+
None = 57,
|
60
|
+
Get = 58,
|
61
|
+
Set = 59
|
63
62
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Node } from './index.js';
|
1
|
+
import { Node, Token } from './index.js';
|
2
2
|
export declare abstract class BaseNode {
|
3
3
|
protected _rangeLength: number;
|
4
4
|
protected abstract thisAsNode: Node;
|
@@ -9,4 +9,6 @@ export declare abstract class BaseNode {
|
|
9
9
|
* Информация для оценки размера дерева при отладке.
|
10
10
|
*/
|
11
11
|
get descendantCount(): number;
|
12
|
+
findLeftmostToken(): Token | undefined;
|
13
|
+
private countDescendants;
|
12
14
|
}
|
@@ -2104,7 +2104,7 @@ export declare class Modifier extends BaseNode {
|
|
2104
2104
|
toRed(rangeStart: number, parent: red.ModifierParent): red.Modifier;
|
2105
2105
|
}
|
2106
2106
|
export type ModifierKeyword = Keyword<ModifierKeywordKind>;
|
2107
|
-
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.
|
2107
|
+
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.Abstract | KeywordKind.Redefined | KeywordKind.Async | KeywordKind.Const;
|
2108
2108
|
export type ModifierLevelKeyword = Keyword<KeywordKind.InType> | Keyword<KeywordKind.InHierarchy> | Keyword<KeywordKind.InFile> | Keyword<KeywordKind.InPackage>;
|
2109
2109
|
export declare class ParameterClause extends BaseNode {
|
2110
2110
|
readonly kind = NodeKind.ParameterClause;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Range } from '../../common/index.js';
|
2
2
|
import * as green from '../green/index.js';
|
3
|
-
import { Node } from './index.js';
|
3
|
+
import { Node, Token } from './index.js';
|
4
4
|
export declare abstract class BaseNode {
|
5
5
|
readonly green: green.Node;
|
6
6
|
readonly rangeStart: number;
|
@@ -12,4 +12,5 @@ export declare abstract class BaseNode {
|
|
12
12
|
get debuggerDisplay(): string;
|
13
13
|
get descendantCount(): number;
|
14
14
|
constructor(green: green.Node, rangeStart: number, parent: Node | undefined);
|
15
|
+
findLeftmostToken(): Token | undefined;
|
15
16
|
}
|
@@ -2085,7 +2085,7 @@ export declare class Modifier extends BaseNode {
|
|
2085
2085
|
private createChildren;
|
2086
2086
|
}
|
2087
2087
|
export type ModifierKeyword = Keyword<ModifierKeywordKind>;
|
2088
|
-
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.
|
2088
|
+
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.Abstract | KeywordKind.Redefined | KeywordKind.Async | KeywordKind.Const;
|
2089
2089
|
export type ModifierLevelKeyword = Keyword<KeywordKind.InType> | Keyword<KeywordKind.InHierarchy> | Keyword<KeywordKind.InFile> | Keyword<KeywordKind.InPackage>;
|
2090
2090
|
export type ParameterClauseParent = PackageFunctionDeclaration | NestedFunctionDeclaration | FunctionLiteral | ConstructorDeclaration | DestructorDeclaration | MethodDeclaration | OperatorDeclaration | FunctionTypeDeclarationBody;
|
2091
2091
|
export declare class ParameterClause extends BaseNode {
|
@@ -310,8 +310,8 @@ export declare class TsPropertyEntity implements FieldEntity {
|
|
310
310
|
getTags(): readonly Tag[];
|
311
311
|
getContainer(): TypeMemberEntityContainer;
|
312
312
|
isStatic(): boolean;
|
313
|
-
|
314
|
-
|
313
|
+
isBasic(): boolean;
|
314
|
+
isOverridden(): boolean;
|
315
315
|
isAbstract(): boolean;
|
316
316
|
getOverriddenMembers(): readonly types.Variable[];
|
317
317
|
isVariant(): boolean;
|
@@ -340,8 +340,8 @@ export declare class TsAccessorEntity implements FieldEntity {
|
|
340
340
|
getTags(): readonly Tag[];
|
341
341
|
getContainer(): TypeMemberEntityContainer;
|
342
342
|
isStatic(): boolean;
|
343
|
-
|
344
|
-
|
343
|
+
isBasic(): boolean;
|
344
|
+
isOverridden(): boolean;
|
345
345
|
isAbstract(): boolean;
|
346
346
|
getOverriddenMembers(): readonly types.Variable[];
|
347
347
|
isVariant(): boolean;
|
@@ -395,8 +395,8 @@ export declare class TsFunctionEntity implements MethodEntity {
|
|
395
395
|
getDefinition(): FunctionEntityDefinition;
|
396
396
|
getContainer(): TypeMemberEntityContainer;
|
397
397
|
isStatic(): boolean;
|
398
|
-
|
399
|
-
|
398
|
+
isBasic(): boolean;
|
399
|
+
isOverridden(): boolean;
|
400
400
|
isAbstract(): boolean;
|
401
401
|
isModifyingOwningPlainObject(): boolean;
|
402
402
|
isAsync(): boolean;
|
@@ -423,8 +423,8 @@ export declare class TsIteratorFunctionEntity implements MethodEntity {
|
|
423
423
|
getDefinition(): FunctionEntityDefinition;
|
424
424
|
getContainer(): TypeMemberEntityContainer;
|
425
425
|
isStatic(): boolean;
|
426
|
-
|
427
|
-
|
426
|
+
isBasic(): boolean;
|
427
|
+
isOverridden(): boolean;
|
428
428
|
isAbstract(): boolean;
|
429
429
|
isModifyingOwningPlainObject(): boolean;
|
430
430
|
isAsync(): boolean;
|
@@ -499,8 +499,8 @@ export declare class TsIndexSignatureEntity implements IndexerEntity {
|
|
499
499
|
getContainer(): TypeMemberEntityContainer;
|
500
500
|
isStatic(): boolean;
|
501
501
|
isHidden(): EntityHidingLevel | undefined;
|
502
|
-
|
503
|
-
|
502
|
+
isBasic(): boolean;
|
503
|
+
isOverridden(): boolean;
|
504
504
|
isAbstract(): boolean;
|
505
505
|
getTags(): readonly Tag[];
|
506
506
|
getOverriddenMembers(): readonly types.Indexer[];
|
@@ -571,8 +571,8 @@ export declare class TsEnumMemberEntity implements FieldEntity {
|
|
571
571
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _variantTypeEntity: VariantTypeEntity);
|
572
572
|
getContainer(): TypeMemberEntityContainer;
|
573
573
|
isStatic(): boolean;
|
574
|
-
|
575
|
-
|
574
|
+
isBasic(): boolean;
|
575
|
+
isOverridden(): boolean;
|
576
576
|
isAbstract(): boolean;
|
577
577
|
getOverriddenMembers(): readonly types.Variable[];
|
578
578
|
isVariant(): boolean;
|