1
1
import {
2
+ __String ,
2
3
AccessExpression ,
4
+ addRelatedInfo ,
5
+ append ,
6
+ appendIfUnique ,
3
7
ArrayBindingElement ,
4
8
ArrayLiteralExpression ,
5
9
ArrowFunction ,
@@ -19,129 +23,57 @@ import {
19
23
CallExpression ,
20
24
CaseBlock ,
21
25
CaseClause ,
26
+ cast ,
22
27
CatchClause ,
23
28
ClassLikeDeclaration ,
24
29
ClassStaticBlockDeclaration ,
25
30
CompilerOptions ,
31
+ concatenate ,
26
32
ConditionalExpression ,
27
33
ConditionalTypeNode ,
34
+ contains ,
35
+ createBinaryExpressionTrampoline ,
36
+ createDiagnosticForNodeInSourceFile ,
37
+ createFileDiagnostic ,
38
+ createQueue ,
39
+ createSymbolTable ,
28
40
Debug ,
29
41
Declaration ,
42
+ declarationNameToString ,
30
43
DeleteExpression ,
31
44
DestructuringAssignment ,
32
45
DiagnosticCategory ,
33
46
DiagnosticMessage ,
34
47
DiagnosticRelatedInformation ,
35
- DiagnosticWithLocation ,
36
48
Diagnostics ,
49
+ DiagnosticWithLocation ,
37
50
DoStatement ,
38
51
DynamicNamedDeclaration ,
39
52
ElementAccessChain ,
40
53
ElementAccessExpression ,
41
54
EntityNameExpression ,
42
55
EnumDeclaration ,
56
+ escapeLeadingUnderscores ,
57
+ every ,
43
58
ExportAssignment ,
59
+ exportAssignmentIsAlias ,
44
60
ExportDeclaration ,
45
61
ExportSpecifier ,
46
62
Expression ,
47
63
ExpressionStatement ,
64
+ findAncestor ,
48
65
FlowFlags ,
49
66
FlowLabel ,
50
67
FlowNode ,
51
68
FlowReduceLabel ,
69
+ forEach ,
70
+ forEachChild ,
52
71
ForInOrOfStatement ,
53
72
ForStatement ,
54
73
FunctionDeclaration ,
55
74
FunctionExpression ,
56
75
FunctionLikeDeclaration ,
57
76
GetAccessorDeclaration ,
58
- Identifier ,
59
- IfStatement ,
60
- ImportClause ,
61
- InternalSymbolName ,
62
- JSDocCallbackTag ,
63
- JSDocClassTag ,
64
- JSDocEnumTag ,
65
- JSDocFunctionType ,
66
- JSDocParameterTag ,
67
- JSDocPropertyLikeTag ,
68
- JSDocSignature ,
69
- JSDocTypeLiteral ,
70
- JSDocTypedefTag ,
71
- JsxAttribute ,
72
- JsxAttributes ,
73
- LabeledStatement ,
74
- LiteralLikeElementAccessExpression ,
75
- MappedTypeNode ,
76
- MethodDeclaration ,
77
- ModifierFlags ,
78
- ModuleBlock ,
79
- ModuleDeclaration ,
80
- Mutable ,
81
- NamespaceExportDeclaration ,
82
- Node ,
83
- NodeArray ,
84
- NodeFlags ,
85
- NonNullChain ,
86
- NonNullExpression ,
87
- NumericLiteral ,
88
- ObjectLiteralExpression ,
89
- OptionalChain ,
90
- ParameterDeclaration ,
91
- ParenthesizedExpression ,
92
- Pattern ,
93
- PatternAmbientModule ,
94
- PostfixUnaryExpression ,
95
- PrefixUnaryExpression ,
96
- PrivateIdentifier ,
97
- PropertyAccessChain ,
98
- PropertyAccessExpression ,
99
- PropertyDeclaration ,
100
- PropertySignature ,
101
- ReturnStatement ,
102
- ScriptTarget ,
103
- SetAccessorDeclaration ,
104
- ShorthandPropertyAssignment ,
105
- SignatureDeclaration ,
106
- SourceFile ,
107
- SpreadElement ,
108
- Statement ,
109
- StringLiteral ,
110
- SwitchStatement ,
111
- Symbol ,
112
- SymbolFlags ,
113
- SymbolTable ,
114
- SyntaxKind ,
115
- TextRange ,
116
- ThrowStatement ,
117
- TokenFlags ,
118
- TracingNode ,
119
- TryStatement ,
120
- TypeLiteralNode ,
121
- TypeOfExpression ,
122
- TypeParameterDeclaration ,
123
- VariableDeclaration ,
124
- WhileStatement ,
125
- WithStatement ,
126
- __String ,
127
- addRelatedInfo ,
128
- append ,
129
- appendIfUnique ,
130
- cast ,
131
- concatenate ,
132
- contains ,
133
- createBinaryExpressionTrampoline ,
134
- createDiagnosticForNodeInSourceFile ,
135
- createFileDiagnostic ,
136
- createQueue ,
137
- createSymbolTable ,
138
- declarationNameToString ,
139
- escapeLeadingUnderscores ,
140
- every ,
141
- exportAssignmentIsAlias ,
142
- findAncestor ,
143
- forEach ,
144
- forEachChild ,
145
77
getAssignedExpandoInitializer ,
146
78
getAssignmentDeclarationKind ,
147
79
getAssignmentDeclarationPropertyAccessKind ,
@@ -175,7 +107,11 @@ import {
175
107
hasDynamicName ,
176
108
hasJSDocNodes ,
177
109
hasSyntacticModifier ,
110
+ Identifier ,
178
111
idText ,
112
+ IfStatement ,
113
+ ImportClause ,
114
+ InternalSymbolName ,
179
115
isAliasableExpression ,
180
116
isAmbientModule ,
181
117
isAssignmentExpression ,
@@ -204,8 +140,8 @@ import {
204
140
isEnumDeclaration ,
205
141
isExportAssignment ,
206
142
isExportDeclaration ,
207
- isExportSpecifier ,
208
143
isExportsIdentifier ,
144
+ isExportSpecifier ,
209
145
isExpression ,
210
146
isExpressionOfOptionalChainRoot ,
211
147
isExternalModule ,
@@ -272,28 +208,92 @@ import {
272
208
isVariableDeclaration ,
273
209
isVariableDeclarationInitializedToBareOrAccessedRequire ,
274
210
isVariableStatement ,
211
+ JSDocCallbackTag ,
212
+ JSDocClassTag ,
213
+ JSDocEnumTag ,
214
+ JSDocFunctionType ,
215
+ JSDocParameterTag ,
216
+ JSDocPropertyLikeTag ,
217
+ JSDocSignature ,
218
+ JSDocTypedefTag ,
219
+ JSDocTypeLiteral ,
220
+ JsxAttribute ,
221
+ JsxAttributes ,
222
+ LabeledStatement ,
275
223
length ,
224
+ LiteralLikeElementAccessExpression ,
225
+ MappedTypeNode ,
226
+ MethodDeclaration ,
227
+ ModifierFlags ,
228
+ ModuleBlock ,
229
+ ModuleDeclaration ,
230
+ Mutable ,
231
+ NamespaceExportDeclaration ,
232
+ Node ,
233
+ NodeArray ,
234
+ NodeFlags ,
276
235
nodeHasName ,
277
236
nodeIsMissing ,
278
237
nodeIsPresent ,
238
+ NonNullChain ,
239
+ NonNullExpression ,
240
+ NumericLiteral ,
279
241
objectAllocator ,
242
+ ObjectLiteralExpression ,
243
+ OptionalChain ,
244
+ ParameterDeclaration ,
245
+ ParenthesizedExpression ,
246
+ Pattern ,
247
+ PatternAmbientModule ,
280
248
perfLogger ,
249
+ PostfixUnaryExpression ,
250
+ PrefixUnaryExpression ,
251
+ PrivateIdentifier ,
252
+ PropertyAccessChain ,
253
+ PropertyAccessExpression ,
254
+ PropertyDeclaration ,
255
+ PropertySignature ,
281
256
removeFileExtension ,
257
+ ReturnStatement ,
258
+ ScriptTarget ,
259
+ SetAccessorDeclaration ,
282
260
setParent ,
283
261
setParentRecursive ,
284
262
setValueDeclaration ,
263
+ ShorthandPropertyAssignment ,
285
264
shouldPreserveConstEnums ,
265
+ SignatureDeclaration ,
286
266
skipParentheses ,
287
267
sliceAfter ,
288
268
some ,
269
+ SourceFile ,
270
+ SpreadElement ,
271
+ Statement ,
272
+ StringLiteral ,
273
+ SwitchStatement ,
274
+ Symbol ,
275
+ SymbolFlags ,
289
276
symbolName ,
277
+ SymbolTable ,
278
+ SyntaxKind ,
279
+ TextRange ,
280
+ ThrowStatement ,
281
+ TokenFlags ,
290
282
tokenToString ,
291
283
tracing ,
284
+ TracingNode ,
292
285
tryCast ,
293
286
tryParsePattern ,
287
+ TryStatement ,
288
+ TypeLiteralNode ,
289
+ TypeOfExpression ,
290
+ TypeParameterDeclaration ,
294
291
unescapeLeadingUnderscores ,
295
292
unreachableCodeIsError ,
296
293
unusedLabelIsError ,
294
+ VariableDeclaration ,
295
+ WhileStatement ,
296
+ WithStatement ,
297
297
} from "./_namespaces/ts" ;
298
298
import * as performance from "./_namespaces/ts.performance" ;
299
299
0 commit comments