@artel/artc 0.6.25283 → 0.6.25285
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 +26 -14
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +828 -700
- package/build/{chunk-2Q4QKW7T.js → chunk-IQ4WP3GU.js} +20378 -18371
- package/build/{chunk-MJ2ZVHII.js → chunk-NYUW7OAM.js} +1 -1
- package/build/{chunk-7RAZAZE6.js → chunk-YQATIDSS.js} +2 -2
- package/build/types/analysis/AccessibilityCheck.d.ts +20 -0
- package/build/types/analysis/Analyzer.d.ts +16 -8
- package/build/types/analysis/BaseMemberConflictsValidator.d.ts +2 -4
- package/build/types/analysis/ConstructorCallResolver.d.ts +3 -4
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +2 -1
- package/build/types/analysis/ModifierValidator.d.ts +17 -15
- package/build/types/analysis/NodeTypeUtils.d.ts +3 -3
- package/build/types/analysis/PackageMemberLookup.d.ts +11 -4
- package/build/types/analysis/ReachabilityChecker.d.ts +27 -0
- package/build/types/analysis/ReductionSourceMemberFinder.d.ts +20 -0
- package/build/types/analysis/ReservedNameDictionary.d.ts +14 -0
- package/build/types/analysis/SourceFileAnalyzer.d.ts +3 -0
- package/build/types/analysis/TypeArgumentInferrer.d.ts +1 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +36 -22
- package/build/types/analysis/Utils.d.ts +2 -0
- package/build/types/analysis/WellKnownDeclarations.d.ts +11 -7
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +4 -1
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +4 -2
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +6 -5
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +2 -2
- package/build/types/analysis/semantic-context/SemanticContextWithParent.d.ts +2 -0
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +9 -4
- package/build/types/analysis/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +5 -5
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +2 -2
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +14 -11
- package/build/types/api/Api.d.ts +1 -1
- package/build/types/common/LocalizationHelper.d.ts +2 -2
- package/build/types/common/index.d.ts +0 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +154 -141
- package/build/types/emitter/Entities.d.ts +5 -4
- package/build/types/emitter/EntityMap.d.ts +4 -0
- package/build/types/emitter/IrBuilder.d.ts +1 -0
- package/build/types/entities/Entity.d.ts +9 -6
- package/build/types/entities/EntityHiding.d.ts +1 -4
- package/build/types/entities/EntityLocalizationContext.d.ts +3 -2
- package/build/types/entities/TypeEntity.d.ts +4 -3
- package/build/types/entities/index.d.ts +0 -2
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +2 -2
- package/build/types/entities/interfaces/ConstructorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +2 -1
- package/build/types/entities/interfaces/DestructorEntity.d.ts +4 -1
- package/build/types/entities/interfaces/FunctionEntity.d.ts +3 -1
- package/build/types/entities/interfaces/IndexerEntity.d.ts +2 -1
- package/build/types/entities/interfaces/OperatorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/ReducedTypeEntity.d.ts +99 -0
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +2 -2
- package/build/types/entities/interfaces/VariableEntity.d.ts +2 -1
- package/build/types/entities/interfaces/index.d.ts +1 -0
- package/build/types/entities/intrinsic/IntrinsicConstructorEntity.d.ts +3 -1
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +2 -1
- package/build/types/entities/intrinsic/IntrinsicVariableEntity.d.ts +2 -1
- package/build/types/entities/source/SourceConstructorEntity.d.ts +6 -2
- package/build/types/entities/source/SourceDereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/source/SourceDestructorEntity.d.ts +6 -1
- package/build/types/entities/source/SourceFunctionEntity.d.ts +5 -1
- package/build/types/entities/source/SourceIndexerEntity.d.ts +3 -1
- package/build/types/entities/source/SourceOperatorEntity.d.ts +5 -1
- package/build/types/entities/source/SourceReducedTypeEntity.d.ts +44 -0
- package/build/types/entities/source/SourceVariableEntity.d.ts +7 -1
- package/build/types/entities/source/index.d.ts +1 -0
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +9 -4
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +4 -1
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedReducedTypeEntity.d.ts +59 -0
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +3 -1
- package/build/types/entities/translated/index.d.ts +1 -0
- package/build/types/project/SourceFile.d.ts +3 -1
- package/build/types/services/CompletionService.d.ts +5 -4
- package/build/types/services/DisplayService.d.ts +70 -3
- package/build/types/services/TranslationService.d.ts +1 -1
- package/build/types/services/source-generation/EntityToSyntax.d.ts +4 -0
- package/build/types/tree/KeywordKind.d.ts +57 -56
- package/build/types/tree/NodeKind.d.ts +142 -140
- package/build/types/tree/Nodes.d.ts +51 -11
- package/build/types/tree/SyntaxFactory.d.ts +2 -0
- package/build/types/tree/SyntaxToCode.d.ts +1 -0
- package/build/types/ts-interop/Entities.d.ts +10 -1
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -1
- package/build/types/types/ReducedType.d.ts +24 -0
- package/build/types/types/Type.d.ts +2 -1
- package/build/types/types/TypeFactory.d.ts +3 -2
- package/build/types/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +0 -14
- package/build/types/entities/BaseEntityHidingMatcher.d.ts +0 -11
- package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +0 -10
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +0 -11
|
@@ -5,60 +5,61 @@ export declare enum KeywordKind {
|
|
|
5
5
|
Aspect = 3,
|
|
6
6
|
Object = 4,
|
|
7
7
|
PlainObject = 5,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
8
|
+
ReducedObject = 6,
|
|
9
|
+
Variant = 7,
|
|
10
|
+
Run = 8,
|
|
11
|
+
Try = 9,
|
|
12
|
+
From = 10,
|
|
13
|
+
Else = 11,
|
|
14
|
+
ElseIf = 12,
|
|
15
|
+
Function = 13,
|
|
16
|
+
If = 14,
|
|
17
|
+
Is = 15,
|
|
18
|
+
Return = 16,
|
|
19
|
+
Type = 17,
|
|
20
|
+
Basic = 18,
|
|
21
|
+
Import = 19,
|
|
22
|
+
Important = 20,
|
|
23
|
+
Error = 21,
|
|
24
|
+
Finally = 22,
|
|
25
|
+
And = 23,
|
|
26
|
+
Or = 24,
|
|
27
|
+
Xor = 25,
|
|
28
|
+
While = 26,
|
|
29
|
+
Loop = 27,
|
|
30
|
+
RepeatWhile = 28,
|
|
31
|
+
Yield = 29,
|
|
32
|
+
When = 30,
|
|
33
|
+
Cond = 31,
|
|
34
|
+
Creation = 32,
|
|
35
|
+
Catch = 33,
|
|
36
|
+
BreakLoop = 34,
|
|
37
|
+
ContinueLoop = 35,
|
|
38
|
+
For = 36,
|
|
39
|
+
Const = 37,
|
|
40
|
+
Hidden = 38,
|
|
41
|
+
Abstract = 39,
|
|
42
|
+
Override = 40,
|
|
43
|
+
Async = 41,
|
|
44
|
+
Static = 42,
|
|
45
|
+
As = 43,
|
|
46
|
+
Not = 44,
|
|
47
|
+
Switch = 45,
|
|
48
|
+
Case = 46,
|
|
49
|
+
Dispose = 47,
|
|
50
|
+
Destruction = 48,
|
|
51
|
+
InHierarchy = 49,
|
|
52
|
+
InFile = 50,
|
|
53
|
+
InPackage = 51,
|
|
54
|
+
InType = 52,
|
|
55
|
+
Yes = 53,
|
|
56
|
+
No = 54,
|
|
57
|
+
Reference = 55,
|
|
58
|
+
Translations = 56,
|
|
59
|
+
Base = 57,
|
|
60
|
+
Null = 58,
|
|
61
|
+
Get = 59,
|
|
62
|
+
Set = 60,
|
|
63
|
+
LoopWhile = 61,
|
|
64
|
+
Over = 62
|
|
64
65
|
}
|
|
@@ -21,144 +21,146 @@ export declare enum NodeKind {
|
|
|
21
21
|
AnonymousVariantTypeDeclaration = 19,
|
|
22
22
|
PackageAliasTypeDeclaration = 20,
|
|
23
23
|
AliasTypeDeclarationBody = 21,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
24
|
+
PackageReducedTypeDeclaration = 22,
|
|
25
|
+
ReducedTypeDeclarationBody = 23,
|
|
26
|
+
PackageMemberGroupDeclaration = 24,
|
|
27
|
+
PackageConstructorDeclaration = 25,
|
|
28
|
+
PackageEntryPointDeclaration = 26,
|
|
29
|
+
PackageFunctionDeclaration = 27,
|
|
30
|
+
PackageFunctionTypeDeclaration = 28,
|
|
31
|
+
FunctionTypeDeclarationBody = 29,
|
|
32
|
+
BaseTypeList = 30,
|
|
33
|
+
TypeMemberDeclarationList = 31,
|
|
34
|
+
TypeMemberDeclarationBlock = 32,
|
|
35
|
+
PackageStructuredTypeDeclaration = 33,
|
|
36
|
+
StructuredTypeDeclarationBody = 34,
|
|
37
|
+
PackageVariableDeclaration = 35,
|
|
38
|
+
PackageVariableGetterDeclaration = 36,
|
|
39
|
+
PackageVariableSetterDeclaration = 37,
|
|
40
|
+
PackageVariantTypeDeclaration = 38,
|
|
41
|
+
VariantTypeDeclarationBody = 39,
|
|
42
|
+
TypeExtensionDeclaration = 40,
|
|
43
|
+
ExtendedTypeClauseCommaList = 41,
|
|
44
|
+
ExtendedTypeClause = 42,
|
|
45
|
+
MissingPackageMemberDeclaration = 43,
|
|
46
|
+
TypeMemberGroupDeclaration = 44,
|
|
47
|
+
ConstructorDeclaration = 45,
|
|
48
|
+
DestructorDeclaration = 46,
|
|
49
|
+
IndexedElementGetterDeclaration = 47,
|
|
50
|
+
IndexedElementSetterDeclaration = 48,
|
|
51
|
+
IndexParameterClause = 49,
|
|
52
|
+
DereferencedVariableGetterDeclaration = 50,
|
|
53
|
+
DereferencedVariableSetterDeclaration = 51,
|
|
54
|
+
MethodDeclaration = 52,
|
|
55
|
+
OperatorDeclaration = 53,
|
|
56
|
+
FieldDeclaration = 54,
|
|
57
|
+
FieldGetterDeclaration = 55,
|
|
58
|
+
FieldSetterDeclaration = 56,
|
|
59
|
+
MissingTypeMemberDeclaration = 57,
|
|
60
|
+
NestedFunctionDeclaration = 58,
|
|
61
|
+
LocalVariableDeclaration = 59,
|
|
62
|
+
ForStatementVariableDeclaration = 60,
|
|
63
|
+
ArrayLiteral = 61,
|
|
64
|
+
ArrayLiteralElementList = 62,
|
|
65
|
+
AssertionExpression = 63,
|
|
66
|
+
AssumptionExpression = 64,
|
|
67
|
+
AsExpression = 65,
|
|
68
|
+
BinaryExpression = 66,
|
|
69
|
+
FunctionLiteral = 67,
|
|
70
|
+
FunctionBlockLiteral = 68,
|
|
71
|
+
ArgumentList = 69,
|
|
72
|
+
CallExpression = 70,
|
|
73
|
+
AutotypeCallExpression = 71,
|
|
74
|
+
IndexedAccessExpression = 72,
|
|
75
|
+
MissingExpression = 73,
|
|
76
|
+
IsExpression = 74,
|
|
77
|
+
ParenthesizedExpression = 75,
|
|
78
|
+
ConditionalExpression = 76,
|
|
79
|
+
PrefixUnaryExpression = 77,
|
|
80
|
+
MemberAccessExpression = 78,
|
|
81
|
+
ReferenceExpression = 79,
|
|
82
|
+
DereferenceExpression = 80,
|
|
83
|
+
TextTemplateLiteral = 81,
|
|
84
|
+
LocalizableTextTemplateLiteral = 82,
|
|
85
|
+
TextTemplateSpanList = 83,
|
|
86
|
+
TextTemplateSpan = 84,
|
|
87
|
+
TokenExpression = 85,
|
|
88
|
+
TextLiteral = 86,
|
|
89
|
+
LocalizableTextLiteral = 87,
|
|
90
|
+
KeywordExpression = 88,
|
|
91
|
+
ObjectExpression = 89,
|
|
92
|
+
BaseExpression = 90,
|
|
93
|
+
IdentifierExpression = 91,
|
|
94
|
+
GenericSpecializationExpression = 92,
|
|
95
|
+
DefaultMatchExpression = 93,
|
|
96
|
+
AssignmentStatement = 94,
|
|
97
|
+
StatementList = 95,
|
|
98
|
+
StatementBlock = 96,
|
|
99
|
+
FunctionBlock = 97,
|
|
100
|
+
BreakLoopStatement = 98,
|
|
101
|
+
ContinueLoopStatement = 99,
|
|
102
|
+
DisposeStatement = 100,
|
|
103
|
+
RunStatement = 101,
|
|
104
|
+
TryStatement = 102,
|
|
105
|
+
CatchClause = 103,
|
|
106
|
+
ErrorVariableDeclaration = 104,
|
|
107
|
+
FinallyClause = 105,
|
|
108
|
+
ErrorStatement = 106,
|
|
109
|
+
ImportantStatement = 107,
|
|
110
|
+
ExpressionStatement = 108,
|
|
111
|
+
ForStatement = 109,
|
|
112
|
+
IfStatement = 110,
|
|
113
|
+
ElseIfClauseList = 111,
|
|
114
|
+
ElseIfClause = 112,
|
|
115
|
+
ElseClause = 113,
|
|
116
|
+
MissingStatement = 114,
|
|
117
|
+
NestedFunctionDeclarationStatement = 115,
|
|
118
|
+
LocalVariableDeclarationStatement = 116,
|
|
119
|
+
LoopStatement = 117,
|
|
120
|
+
ReturnStatement = 118,
|
|
121
|
+
CaseClauseList = 119,
|
|
122
|
+
SwitchStatement = 120,
|
|
123
|
+
MatchExpressionList = 121,
|
|
124
|
+
CaseClause = 122,
|
|
125
|
+
WhileStatement = 123,
|
|
126
|
+
YieldStatement = 124,
|
|
127
|
+
TranslationsDeclaration = 125,
|
|
128
|
+
TopLevelTranslationList = 126,
|
|
129
|
+
TranslationParameterList = 127,
|
|
130
|
+
TranslationParameterClause = 128,
|
|
131
|
+
ConstructorTranslation = 129,
|
|
132
|
+
IndexParameterTranslationClause = 130,
|
|
133
|
+
IndexerTranslation = 131,
|
|
134
|
+
TranslationTypeParameterList = 132,
|
|
135
|
+
TranslationTypeParameterClause = 133,
|
|
136
|
+
PackageFunctionTranslationDeclaration = 134,
|
|
137
|
+
MethodTranslation = 135,
|
|
138
|
+
FunctionTypeTranslationDeclaration = 136,
|
|
139
|
+
QualifiedName = 137,
|
|
140
|
+
PackageVariableTranslationDeclaration = 138,
|
|
141
|
+
FieldOrVariantTranslation = 139,
|
|
142
|
+
TypeMemberTranslationList = 140,
|
|
143
|
+
TypeTranslationDeclaration = 141,
|
|
144
|
+
TextTranslationDeclaration = 142,
|
|
145
|
+
TextTranslationFunctionDeclaration = 143,
|
|
146
|
+
TranslationTextLiteral = 144,
|
|
147
|
+
TranslationTextTemplate = 145,
|
|
148
|
+
TranslationTextTemplateSpanList = 146,
|
|
149
|
+
TranslationTextTemplateSpan = 147,
|
|
150
|
+
TranslationTextTemplateParameter = 148,
|
|
151
|
+
VariantValueDeclaration = 149,
|
|
152
|
+
TypeParameterDeclaration = 150,
|
|
153
|
+
ParameterDeclaration = 151,
|
|
154
|
+
Argument = 152,
|
|
155
|
+
TagList = 153,
|
|
156
|
+
Tag = 154,
|
|
157
|
+
ModifierList = 155,
|
|
158
|
+
Modifier = 156,
|
|
159
|
+
ParameterClause = 157,
|
|
160
|
+
ParameterList = 158,
|
|
161
|
+
TypeArgumentClause = 159,
|
|
162
|
+
TypeArgumentList = 160,
|
|
163
|
+
TypeParameterClause = 161,
|
|
164
|
+
TypeParameterList = 162,
|
|
165
|
+
TypeAnnotation = 163
|
|
164
166
|
}
|
|
@@ -117,7 +117,7 @@ export declare class PackageName extends BaseNode {
|
|
|
117
117
|
constructor(parts: readonly PackageNamePart[], rangeWithTrivia: Range | undefined);
|
|
118
118
|
}
|
|
119
119
|
export type TypeSpecifier = NamedTypeSpecifier | AnonymousTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | MissingTypeSpecifier;
|
|
120
|
-
export type NamedTypeSpecifierParent = BaseTypeList | NonNamedTypeSpecifierParent;
|
|
120
|
+
export type NamedTypeSpecifierParent = BaseTypeList | ReducedTypeDeclarationBody | NonNamedTypeSpecifierParent;
|
|
121
121
|
export type NonNamedTypeSpecifierParent = AliasTypeDeclarationBody | AsExpression | IsExpression | TypeParameterDeclaration | TypeArgumentList | TypeAnnotation | ParenthesizedTypeSpecifier | NullableTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier;
|
|
122
122
|
export declare class NamedTypeSpecifier extends BaseNode {
|
|
123
123
|
readonly kind = NodeKind.NamedTypeSpecifier;
|
|
@@ -225,7 +225,7 @@ export declare class AnonymousVariantTypeDeclaration extends BaseNode {
|
|
|
225
225
|
protected get thisAsNode(): Node;
|
|
226
226
|
constructor(body: VariantTypeDeclarationBody, rangeWithTrivia: Range | undefined);
|
|
227
227
|
}
|
|
228
|
-
export type PackageMemberDeclaration = PackageAliasTypeDeclaration | PackageMemberGroupDeclaration | TypeExtensionDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | PackageStructuredTypeDeclaration | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | MissingPackageMemberDeclaration | TranslationsDeclaration;
|
|
228
|
+
export type PackageMemberDeclaration = PackageAliasTypeDeclaration | PackageReducedTypeDeclaration | PackageMemberGroupDeclaration | TypeExtensionDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | PackageStructuredTypeDeclaration | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | MissingPackageMemberDeclaration | TranslationsDeclaration;
|
|
229
229
|
export declare class PackageAliasTypeDeclaration extends BaseNode {
|
|
230
230
|
readonly kind = NodeKind.PackageAliasTypeDeclaration;
|
|
231
231
|
readonly children: readonly [
|
|
@@ -260,6 +260,46 @@ export declare class AliasTypeDeclarationBody extends BaseNode {
|
|
|
260
260
|
protected get thisAsNode(): Node;
|
|
261
261
|
constructor(aliasedTypeSpecifier: TypeSpecifier, memberBlock: TypeMemberDeclarationBlock | undefined, rangeWithTrivia: Range | undefined);
|
|
262
262
|
}
|
|
263
|
+
export declare class PackageReducedTypeDeclaration extends BaseNode {
|
|
264
|
+
readonly kind = NodeKind.PackageReducedTypeDeclaration;
|
|
265
|
+
readonly children: readonly [
|
|
266
|
+
TagList,
|
|
267
|
+
ModifierList,
|
|
268
|
+
Keyword<KeywordKind.Type>,
|
|
269
|
+
Identifier,
|
|
270
|
+
TypeParameterClause | undefined,
|
|
271
|
+
Token<TokenKind.Equals>,
|
|
272
|
+
ReducedTypeDeclarationBody
|
|
273
|
+
];
|
|
274
|
+
get parent(): PackageMemberDeclarationList;
|
|
275
|
+
get tagList(): TagList;
|
|
276
|
+
get modifierList(): ModifierList;
|
|
277
|
+
get typeKeyword(): Keyword<KeywordKind.Type>;
|
|
278
|
+
get name(): Identifier;
|
|
279
|
+
get typeParameterClause(): TypeParameterClause | undefined;
|
|
280
|
+
get equalsToken(): Token<TokenKind.Equals>;
|
|
281
|
+
get body(): ReducedTypeDeclarationBody;
|
|
282
|
+
protected get thisAsNode(): Node;
|
|
283
|
+
constructor(tagList: TagList, modifierList: ModifierList, typeKeyword: Keyword<KeywordKind.Type>, name: Identifier, typeParameterClause: TypeParameterClause | undefined, equalsToken: Token<TokenKind.Equals>, body: ReducedTypeDeclarationBody, rangeWithTrivia: Range | undefined);
|
|
284
|
+
}
|
|
285
|
+
export declare class ReducedTypeDeclarationBody extends BaseNode {
|
|
286
|
+
readonly kind = NodeKind.ReducedTypeDeclarationBody;
|
|
287
|
+
readonly children: readonly [
|
|
288
|
+
Keyword<KeywordKind.ReducedObject>,
|
|
289
|
+
NamedTypeSpecifier,
|
|
290
|
+
Comma | undefined,
|
|
291
|
+
BaseTypeList | undefined,
|
|
292
|
+
TypeMemberDeclarationBlock
|
|
293
|
+
];
|
|
294
|
+
get parent(): PackageReducedTypeDeclaration;
|
|
295
|
+
get reducedObjectKeyword(): Keyword<KeywordKind.ReducedObject>;
|
|
296
|
+
get reductionSourceSpecifier(): NamedTypeSpecifier;
|
|
297
|
+
get commaToken(): Comma | undefined;
|
|
298
|
+
get preservedTypeList(): BaseTypeList | undefined;
|
|
299
|
+
get memberBlock(): TypeMemberDeclarationBlock;
|
|
300
|
+
protected get thisAsNode(): Node;
|
|
301
|
+
constructor(reducedObjectKeyword: Keyword<KeywordKind.ReducedObject>, reductionSourceSpecifier: NamedTypeSpecifier, commaToken: Comma | undefined, preservedTypeList: BaseTypeList | undefined, memberBlock: TypeMemberDeclarationBlock, rangeWithTrivia: Range | undefined);
|
|
302
|
+
}
|
|
263
303
|
export declare class PackageMemberGroupDeclaration extends BaseNode {
|
|
264
304
|
readonly kind = NodeKind.PackageMemberGroupDeclaration;
|
|
265
305
|
readonly children: readonly [
|
|
@@ -374,7 +414,7 @@ export declare class FunctionTypeDeclarationBody extends BaseNode {
|
|
|
374
414
|
constructor(asyncKeyword: Keyword<KeywordKind.Async> | undefined, functionKeyword: Keyword<KeywordKind.Function>, parameterClause: ParameterClause, returnTypeAnnotation: TypeAnnotation | undefined, rangeWithTrivia: Range | undefined);
|
|
375
415
|
}
|
|
376
416
|
export type BaseTypeListElement = NamedTypeSpecifier | Comma;
|
|
377
|
-
export type BaseTypeListParent = VariantTypeDeclarationBody | StructuredTypeDeclarationBody;
|
|
417
|
+
export type BaseTypeListParent = VariantTypeDeclarationBody | StructuredTypeDeclarationBody | ReducedTypeDeclarationBody;
|
|
378
418
|
export declare class BaseTypeList extends BaseNode {
|
|
379
419
|
readonly kind = NodeKind.BaseTypeList;
|
|
380
420
|
readonly children: readonly BaseTypeListElement[];
|
|
@@ -394,7 +434,7 @@ export declare class TypeMemberDeclarationList extends BaseNode {
|
|
|
394
434
|
protected get thisAsNode(): Node;
|
|
395
435
|
constructor(elements: readonly TypeMemberDeclarationListElement[], rangeWithTrivia: Range | undefined);
|
|
396
436
|
}
|
|
397
|
-
export type TypeMemberDeclarationBlockParent = StructuredTypeDeclarationBody | VariantTypeDeclarationBody | AliasTypeDeclarationBody | TypeExtensionDeclaration | TypeMemberGroupDeclaration;
|
|
437
|
+
export type TypeMemberDeclarationBlockParent = StructuredTypeDeclarationBody | VariantTypeDeclarationBody | AliasTypeDeclarationBody | ReducedTypeDeclarationBody | TypeExtensionDeclaration | TypeMemberGroupDeclaration;
|
|
398
438
|
export declare class TypeMemberDeclarationBlock extends BaseNode {
|
|
399
439
|
readonly kind = NodeKind.TypeMemberDeclarationBlock;
|
|
400
440
|
readonly children: readonly [
|
|
@@ -1124,13 +1164,13 @@ export declare class ConditionalExpression extends BaseNode {
|
|
|
1124
1164
|
get condKeyword(): Keyword<KeywordKind.Cond>;
|
|
1125
1165
|
get openParenthesisToken(): Token<TokenKind.OpenParenthesis>;
|
|
1126
1166
|
get condition(): Expression;
|
|
1127
|
-
get
|
|
1167
|
+
get firstCommaToken(): Comma;
|
|
1128
1168
|
get firstExpression(): Expression;
|
|
1129
|
-
get
|
|
1169
|
+
get secondCommaToken(): Comma | undefined;
|
|
1130
1170
|
get secondExpression(): Expression | undefined;
|
|
1131
1171
|
get closeParenthesisToken(): Token<TokenKind.CloseParenthesis>;
|
|
1132
1172
|
protected get thisAsNode(): Node;
|
|
1133
|
-
constructor(condKeyword: Keyword<KeywordKind.Cond>, openParenthesisToken: Token<TokenKind.OpenParenthesis>, condition: Expression,
|
|
1173
|
+
constructor(condKeyword: Keyword<KeywordKind.Cond>, openParenthesisToken: Token<TokenKind.OpenParenthesis>, condition: Expression, firstCommaToken: Comma, firstExpression: Expression, secondCommaToken: Comma | undefined, secondExpression: Expression | undefined, closeParenthesisToken: Token<TokenKind.CloseParenthesis>, rangeWithTrivia: Range | undefined);
|
|
1134
1174
|
}
|
|
1135
1175
|
export declare class PrefixUnaryExpression extends BaseNode {
|
|
1136
1176
|
readonly kind = NodeKind.PrefixUnaryExpression;
|
|
@@ -1537,13 +1577,13 @@ export declare class ForStatement extends BaseNode {
|
|
|
1537
1577
|
get parent(): StatementList;
|
|
1538
1578
|
get forKeyword(): Keyword<KeywordKind.For>;
|
|
1539
1579
|
get elementVariableDeclaration(): ForStatementVariableDeclaration;
|
|
1540
|
-
get
|
|
1580
|
+
get commaToken(): Comma | undefined;
|
|
1541
1581
|
get indexVariableDeclaration(): ForStatementVariableDeclaration | undefined;
|
|
1542
1582
|
get fromKeyword(): Keyword<KeywordKind.From>;
|
|
1543
1583
|
get enumeratedExpression(): Expression;
|
|
1544
1584
|
get block(): StatementBlock;
|
|
1545
1585
|
protected get thisAsNode(): Node;
|
|
1546
|
-
constructor(forKeyword: Keyword<KeywordKind.For>, elementVariableDeclaration: ForStatementVariableDeclaration,
|
|
1586
|
+
constructor(forKeyword: Keyword<KeywordKind.For>, elementVariableDeclaration: ForStatementVariableDeclaration, commaToken: Comma | undefined, indexVariableDeclaration: ForStatementVariableDeclaration | undefined, fromKeyword: Keyword<KeywordKind.From>, enumeratedExpression: Expression, block: StatementBlock, rangeWithTrivia: Range | undefined);
|
|
1547
1587
|
}
|
|
1548
1588
|
export declare class IfStatement extends BaseNode {
|
|
1549
1589
|
readonly kind = NodeKind.IfStatement;
|
|
@@ -2260,7 +2300,7 @@ export declare class TypeArgumentList extends BaseNode {
|
|
|
2260
2300
|
protected get thisAsNode(): Node;
|
|
2261
2301
|
constructor(elements: readonly TypeArgumentListElement[], rangeWithTrivia: Range | undefined);
|
|
2262
2302
|
}
|
|
2263
|
-
export type TypeParameterClauseParent = PackageStructuredTypeDeclaration | PackageVariantTypeDeclaration | PackageFunctionTypeDeclaration | PackageAliasTypeDeclaration | PackageFunctionDeclaration | MethodDeclaration | NestedFunctionDeclaration;
|
|
2303
|
+
export type TypeParameterClauseParent = PackageStructuredTypeDeclaration | PackageVariantTypeDeclaration | PackageFunctionTypeDeclaration | PackageAliasTypeDeclaration | PackageReducedTypeDeclaration | PackageFunctionDeclaration | MethodDeclaration | NestedFunctionDeclaration;
|
|
2264
2304
|
export declare class TypeParameterClause extends BaseNode {
|
|
2265
2305
|
readonly kind = NodeKind.TypeParameterClause;
|
|
2266
2306
|
readonly children: readonly [
|
|
@@ -2298,4 +2338,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
|
2298
2338
|
protected get thisAsNode(): Node;
|
|
2299
2339
|
constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier, rangeWithTrivia: Range | undefined);
|
|
2300
2340
|
}
|
|
2301
|
-
export type Node = Token | Keyword | SourceFile | PackageMemberDeclarationList | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | MissingTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | MissingPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | MissingTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | ForStatementVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | MissingExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | LocalizableTextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | TextLiteral | LocalizableTextLiteral | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | MissingStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslationDeclaration | MethodTranslation | FunctionTypeTranslationDeclaration | QualifiedName | PackageVariableTranslationDeclaration | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslationDeclaration | TextTranslationDeclaration | TextTranslationFunctionDeclaration | TranslationTextLiteral | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameter | VariantValueDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation;
|
|
2341
|
+
export type Node = Token | Keyword | SourceFile | PackageMemberDeclarationList | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | MissingTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageReducedTypeDeclaration | ReducedTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | MissingPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | MissingTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | ForStatementVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | MissingExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | LocalizableTextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | TextLiteral | LocalizableTextLiteral | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | MissingStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslationDeclaration | MethodTranslation | FunctionTypeTranslationDeclaration | QualifiedName | PackageVariableTranslationDeclaration | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslationDeclaration | TextTranslationDeclaration | TextTranslationFunctionDeclaration | TranslationTextLiteral | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameter | VariantValueDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation;
|
|
@@ -5,6 +5,8 @@ export declare class SyntaxFactory {
|
|
|
5
5
|
static packageName(segments: readonly (tree.Identifier | string)[]): tree.PackageName;
|
|
6
6
|
static packageAliasTypeDeclaration(tags: readonly tree.Tag[], modifiers: readonly tree.Modifier[], name: tree.Identifier | string, typeParameters: readonly tree.TypeParameterDeclaration[] | undefined, body: tree.AliasTypeDeclarationBody): tree.PackageAliasTypeDeclaration;
|
|
7
7
|
static aliasTypeDeclarationBody(aliasedTypeSpecifier: tree.TypeSpecifier, members: readonly tree.TypeMemberDeclaration[] | undefined): tree.AliasTypeDeclarationBody;
|
|
8
|
+
static packageReducedTypeDeclaration(tags: readonly tree.Tag[], modifiers: readonly tree.Modifier[], name: tree.Identifier | string, typeParameters: readonly tree.TypeParameterDeclaration[] | undefined, body: tree.ReducedTypeDeclarationBody): tree.PackageReducedTypeDeclaration;
|
|
9
|
+
static reducedTypeDeclarationBody(reductionSourceSpecifier: tree.NamedTypeSpecifier, preservedTypes: readonly tree.NamedTypeSpecifier[] | undefined, members: readonly tree.TypeMemberDeclaration[]): tree.ReducedTypeDeclarationBody;
|
|
8
10
|
static packageMemberGroupDeclaration(tags: readonly tree.Tag[], modifiers: readonly tree.Modifier[], declarations: readonly tree.PackageMemberDeclaration[]): tree.PackageMemberGroupDeclaration;
|
|
9
11
|
static packageFunctionDeclaration(tags: readonly tree.Tag[], modifiers: readonly tree.Modifier[], name: tree.Identifier | string, typeParameters: readonly tree.TypeParameterDeclaration[] | undefined, parameters: readonly tree.ParameterDeclaration[], returnTypeSpecifier: tree.TypeSpecifier | undefined, body: tree.FunctionBlock | undefined): tree.PackageFunctionDeclaration;
|
|
10
12
|
static packageFunctionTypeDeclaration(tags: readonly tree.Tag[], modifiers: readonly tree.Modifier[], name: tree.Identifier | string, typeParameters: readonly tree.TypeParameterDeclaration[] | undefined, body: tree.FunctionTypeDeclarationBody): tree.PackageFunctionTypeDeclaration;
|
|
@@ -28,6 +28,7 @@ export declare class SyntaxToCode {
|
|
|
28
28
|
private writePackageFunctionDeclaration;
|
|
29
29
|
private writePackageStructuredTypeDeclaration;
|
|
30
30
|
private writePackageAliasTypeDeclaration;
|
|
31
|
+
private writePackageReducedTypeDeclaration;
|
|
31
32
|
private writePackageVariantTypeDeclaration;
|
|
32
33
|
private writePackageFunctionTypeDeclaration;
|
|
33
34
|
private writePackageMemberGroupDeclaration;
|
|
@@ -3,7 +3,7 @@ import { Tag } from '../analysis/Tag.js';
|
|
|
3
3
|
import { Translation } from '../analysis/Translation.js';
|
|
4
4
|
import { Lazy, Name, PackageDialect, PackageLocale } from '../common/index.js';
|
|
5
5
|
import { TypeEntityMembers } from '../entities/TypeEntityMembers.js';
|
|
6
|
-
import type { EntityContainingParameter, EntityContainingTypeParameter, EntityOwningGetter, PackageEntity, TextTranslationPackageEntityInfo, TypeEntityWithMembers, VariantTypeEntity } from '../entities/index.js';
|
|
6
|
+
import type { EntityContainingParameter, EntityContainingTypeParameter, EntityOwningGetter, PackageEntity, PreservedReducedTypeEntityMemberInfo, ReducedTypeEntity, TextTranslationPackageEntityInfo, TypeEntityWithMembers, VariantTypeEntity } from '../entities/index.js';
|
|
7
7
|
import { AliasTypeEntity, AliasTypeEntityDefinition, AliasedType, AnonymousFunctionTypeEntity, AnonymousStructuredTypeEntity, BaseAspectTypes, BaseObjectType, ConstructorEntity, ConstructorEntityDefinition, DefaultConstructorEntityInfo, EntityHidingLevel, EntityKind, EntityNaming, EntityOwningSetter, FieldEntity, FunctionEntityDefinition, FunctionTypeEntityDefinition, GetterEntity, GetterEntityDefinition, IndexerEntity, IndexerEntityDefinition, InterfacePackageEntityInfo, MethodEntity, PackageEntityDefinition, PackageEntityMembers, PackageFunctionEntity, PackageFunctionTypeEntity, PackageStructuredTypeEntity, PackageVariableEntity, PackageVariantTypeEntity, ParameterEntity, SetterEntity, SetterEntityDefinition, SpecialVariableEntityInfo, StructuredTypeEntityDefinition, StructuredTypeKind, SubstitutionApplicationMode, TypeEntityKind, TypeParameterConstraint, TypeParameterEntity, TypeParameterEntityDefinition, TypeWithMembersOrExtensionEntity, VariableEntityDefinition, VariantTypeEntityDefinition } from '../entities/index.js';
|
|
8
8
|
import { JavaScriptImplementationConfig, PackageName, PlatformKind, ProgramPackage } from '../project/index.js';
|
|
9
9
|
import * as tree from '../tree/index.js';
|
|
@@ -46,6 +46,7 @@ export declare class SourcePackageLoadedFromDtsEntity implements PackageEntity {
|
|
|
46
46
|
getImplementedInterfacePackage(): PackageEntity | undefined;
|
|
47
47
|
getSupportedPlatforms(): readonly PlatformKind[];
|
|
48
48
|
getPackageAliasTypeDeclarationEntity(node: tree.PackageAliasTypeDeclaration): AliasTypeEntity;
|
|
49
|
+
getPackageReducedTypeDeclarationEntity(node: tree.PackageReducedTypeDeclaration): ReducedTypeEntity;
|
|
49
50
|
getPackageFunctionDeclarationEntity(node: tree.PackageFunctionDeclaration): PackageFunctionEntity;
|
|
50
51
|
getPackageFunctionTypeDeclarationEntity(node: tree.PackageFunctionTypeDeclaration): PackageFunctionTypeEntity;
|
|
51
52
|
getPackageStructuredTypeDeclarationEntity(node: tree.PackageStructuredTypeDeclaration): PackageStructuredTypeEntity;
|
|
@@ -354,6 +355,7 @@ export declare class TsPropertyEntity implements FieldEntity {
|
|
|
354
355
|
isOverride(): boolean;
|
|
355
356
|
markedAbstract(): boolean;
|
|
356
357
|
getOverriddenMembers(): readonly types.Field[];
|
|
358
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
357
359
|
isVariant(): boolean;
|
|
358
360
|
getTranslation(): Translation | undefined;
|
|
359
361
|
getLocale(): PackageLocale;
|
|
@@ -390,6 +392,7 @@ export declare class TsAccessorEntity implements FieldEntity {
|
|
|
390
392
|
isOverride(): boolean;
|
|
391
393
|
markedAbstract(): boolean;
|
|
392
394
|
getOverriddenMembers(): readonly types.Field[];
|
|
395
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
393
396
|
isVariant(): boolean;
|
|
394
397
|
getTranslation(): Translation | undefined;
|
|
395
398
|
getLocale(): PackageLocale;
|
|
@@ -472,6 +475,7 @@ export declare class TsMethodEntity implements MethodEntity {
|
|
|
472
475
|
isFunctionTypeInvokeMethod(): boolean;
|
|
473
476
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
474
477
|
getOverriddenMembers(): readonly types.Method[];
|
|
478
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Method> | undefined;
|
|
475
479
|
getTranslation(): Translation | undefined;
|
|
476
480
|
getLocale(): PackageLocale;
|
|
477
481
|
getDialect(): PackageDialect;
|
|
@@ -506,6 +510,7 @@ export declare class TsIteratorFunctionEntity implements MethodEntity {
|
|
|
506
510
|
isFunctionTypeInvokeMethod(): boolean;
|
|
507
511
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
508
512
|
getOverriddenMembers(): readonly types.Method[];
|
|
513
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Method> | undefined;
|
|
509
514
|
getTranslation(): Translation | undefined;
|
|
510
515
|
getLocale(): PackageLocale;
|
|
511
516
|
getDialect(): PackageDialect;
|
|
@@ -594,6 +599,7 @@ export declare class TsIndexSignatureEntity implements IndexerEntity {
|
|
|
594
599
|
markedAbstract(): boolean;
|
|
595
600
|
getTags(): readonly Tag[];
|
|
596
601
|
getOverriddenMembers(): readonly types.Indexer[];
|
|
602
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Indexer> | undefined;
|
|
597
603
|
getTranslation(): Translation | undefined;
|
|
598
604
|
getLocale(): PackageLocale;
|
|
599
605
|
getDialect(): PackageDialect;
|
|
@@ -616,6 +622,7 @@ export declare class TsConstructorEntity implements ConstructorEntity {
|
|
|
616
622
|
isHidden(): EntityHidingLevel | undefined;
|
|
617
623
|
markedAbstract(): boolean;
|
|
618
624
|
getTags(): readonly Tag[];
|
|
625
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Constructor> | undefined;
|
|
619
626
|
getTranslation(): Translation | undefined;
|
|
620
627
|
getLocale(): PackageLocale;
|
|
621
628
|
getDialect(): PackageDialect;
|
|
@@ -636,6 +643,7 @@ export declare class TsSignatureBasedDefaultConstructorEntity implements Constru
|
|
|
636
643
|
isHidden(): EntityHidingLevel | undefined;
|
|
637
644
|
markedAbstract(): boolean;
|
|
638
645
|
getTags(): readonly Tag[];
|
|
646
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Constructor> | undefined;
|
|
639
647
|
getTranslation(): Translation | undefined;
|
|
640
648
|
getLocale(): PackageLocale;
|
|
641
649
|
getDialect(): PackageDialect;
|
|
@@ -687,6 +695,7 @@ export declare class TsEnumMemberEntity implements FieldEntity {
|
|
|
687
695
|
isOverride(): boolean;
|
|
688
696
|
markedAbstract(): boolean;
|
|
689
697
|
getOverriddenMembers(): readonly types.Field[];
|
|
698
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
690
699
|
isVariant(): boolean;
|
|
691
700
|
getType(): types.Type;
|
|
692
701
|
getGetter(): GetterEntity | undefined;
|