typescript 7.1.0-dev.20260813.1 → 7.1.0-dev.20260815.1
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/dist/api/async/api.d.ts +39 -9
- package/dist/api/async/api.d.ts.map +1 -1
- package/dist/api/async/api.js +105 -44
- package/dist/api/async/api.js.map +1 -1
- package/dist/api/async/types.d.ts +7 -30
- package/dist/api/async/types.d.ts.map +1 -1
- package/dist/api/compilerOptions.d.ts +1 -0
- package/dist/api/compilerOptions.d.ts.map +1 -1
- package/dist/api/proto.d.ts +32 -0
- package/dist/api/proto.d.ts.map +1 -1
- package/dist/api/proto.js.map +1 -1
- package/dist/api/sync/api.d.ts +39 -9
- package/dist/api/sync/api.d.ts.map +1 -1
- package/dist/api/sync/api.js +102 -41
- package/dist/api/sync/api.js.map +1 -1
- package/dist/api/sync/types.d.ts +7 -30
- package/dist/api/sync/types.d.ts.map +1 -1
- package/dist/ast/ast.generated.d.ts +1 -1
- package/dist/ast/factory.generated.d.ts +2 -2
- package/dist/ast/is.generated.d.ts +887 -0
- package/dist/ast/is.generated.d.ts.map +1 -1
- package/dist/ast/is.generated.js +293 -0
- package/dist/ast/is.generated.js.map +1 -1
- package/dist/ast/visitor.generated.js +1 -1
- package/package.json +9 -9
package/dist/ast/is.generated.js
CHANGED
|
@@ -3,108 +3,143 @@ import { SyntaxKind } from "#enums/syntaxKind";
|
|
|
3
3
|
export function isToken(node) {
|
|
4
4
|
return isTokenKind(node.kind);
|
|
5
5
|
}
|
|
6
|
+
isToken.Handle = isToken;
|
|
6
7
|
export function isIdentifier(node) {
|
|
7
8
|
return node.kind === SyntaxKind.Identifier;
|
|
8
9
|
}
|
|
10
|
+
isIdentifier.Handle = isIdentifier;
|
|
9
11
|
export function isPrivateIdentifier(node) {
|
|
10
12
|
return node.kind === SyntaxKind.PrivateIdentifier;
|
|
11
13
|
}
|
|
14
|
+
isPrivateIdentifier.Handle = isPrivateIdentifier;
|
|
12
15
|
export function isQualifiedName(node) {
|
|
13
16
|
return node.kind === SyntaxKind.QualifiedName;
|
|
14
17
|
}
|
|
18
|
+
isQualifiedName.Handle = isQualifiedName;
|
|
15
19
|
export function isComputedPropertyName(node) {
|
|
16
20
|
return node.kind === SyntaxKind.ComputedPropertyName;
|
|
17
21
|
}
|
|
22
|
+
isComputedPropertyName.Handle = isComputedPropertyName;
|
|
18
23
|
export function isDecorator(node) {
|
|
19
24
|
return node.kind === SyntaxKind.Decorator;
|
|
20
25
|
}
|
|
26
|
+
isDecorator.Handle = isDecorator;
|
|
21
27
|
export function isEmptyStatement(node) {
|
|
22
28
|
return node.kind === SyntaxKind.EmptyStatement;
|
|
23
29
|
}
|
|
30
|
+
isEmptyStatement.Handle = isEmptyStatement;
|
|
24
31
|
export function isIfStatement(node) {
|
|
25
32
|
return node.kind === SyntaxKind.IfStatement;
|
|
26
33
|
}
|
|
34
|
+
isIfStatement.Handle = isIfStatement;
|
|
27
35
|
export function isDoStatement(node) {
|
|
28
36
|
return node.kind === SyntaxKind.DoStatement;
|
|
29
37
|
}
|
|
38
|
+
isDoStatement.Handle = isDoStatement;
|
|
30
39
|
export function isWhileStatement(node) {
|
|
31
40
|
return node.kind === SyntaxKind.WhileStatement;
|
|
32
41
|
}
|
|
42
|
+
isWhileStatement.Handle = isWhileStatement;
|
|
33
43
|
export function isForStatement(node) {
|
|
34
44
|
return node.kind === SyntaxKind.ForStatement;
|
|
35
45
|
}
|
|
46
|
+
isForStatement.Handle = isForStatement;
|
|
36
47
|
export function isBreakStatement(node) {
|
|
37
48
|
return node.kind === SyntaxKind.BreakStatement;
|
|
38
49
|
}
|
|
50
|
+
isBreakStatement.Handle = isBreakStatement;
|
|
39
51
|
export function isContinueStatement(node) {
|
|
40
52
|
return node.kind === SyntaxKind.ContinueStatement;
|
|
41
53
|
}
|
|
54
|
+
isContinueStatement.Handle = isContinueStatement;
|
|
42
55
|
export function isReturnStatement(node) {
|
|
43
56
|
return node.kind === SyntaxKind.ReturnStatement;
|
|
44
57
|
}
|
|
58
|
+
isReturnStatement.Handle = isReturnStatement;
|
|
45
59
|
export function isWithStatement(node) {
|
|
46
60
|
return node.kind === SyntaxKind.WithStatement;
|
|
47
61
|
}
|
|
62
|
+
isWithStatement.Handle = isWithStatement;
|
|
48
63
|
export function isSwitchStatement(node) {
|
|
49
64
|
return node.kind === SyntaxKind.SwitchStatement;
|
|
50
65
|
}
|
|
66
|
+
isSwitchStatement.Handle = isSwitchStatement;
|
|
51
67
|
export function isCaseBlock(node) {
|
|
52
68
|
return node.kind === SyntaxKind.CaseBlock;
|
|
53
69
|
}
|
|
70
|
+
isCaseBlock.Handle = isCaseBlock;
|
|
54
71
|
export function isThrowStatement(node) {
|
|
55
72
|
return node.kind === SyntaxKind.ThrowStatement;
|
|
56
73
|
}
|
|
74
|
+
isThrowStatement.Handle = isThrowStatement;
|
|
57
75
|
export function isTryStatement(node) {
|
|
58
76
|
return node.kind === SyntaxKind.TryStatement;
|
|
59
77
|
}
|
|
78
|
+
isTryStatement.Handle = isTryStatement;
|
|
60
79
|
export function isCatchClause(node) {
|
|
61
80
|
return node.kind === SyntaxKind.CatchClause;
|
|
62
81
|
}
|
|
82
|
+
isCatchClause.Handle = isCatchClause;
|
|
63
83
|
export function isDebuggerStatement(node) {
|
|
64
84
|
return node.kind === SyntaxKind.DebuggerStatement;
|
|
65
85
|
}
|
|
86
|
+
isDebuggerStatement.Handle = isDebuggerStatement;
|
|
66
87
|
export function isLabeledStatement(node) {
|
|
67
88
|
return node.kind === SyntaxKind.LabeledStatement;
|
|
68
89
|
}
|
|
90
|
+
isLabeledStatement.Handle = isLabeledStatement;
|
|
69
91
|
export function isExpressionStatement(node) {
|
|
70
92
|
return node.kind === SyntaxKind.ExpressionStatement;
|
|
71
93
|
}
|
|
94
|
+
isExpressionStatement.Handle = isExpressionStatement;
|
|
72
95
|
export function isBlock(node) {
|
|
73
96
|
return node.kind === SyntaxKind.Block;
|
|
74
97
|
}
|
|
98
|
+
isBlock.Handle = isBlock;
|
|
75
99
|
export function isVariableStatement(node) {
|
|
76
100
|
return node.kind === SyntaxKind.VariableStatement;
|
|
77
101
|
}
|
|
102
|
+
isVariableStatement.Handle = isVariableStatement;
|
|
78
103
|
export function isVariableDeclaration(node) {
|
|
79
104
|
return node.kind === SyntaxKind.VariableDeclaration;
|
|
80
105
|
}
|
|
106
|
+
isVariableDeclaration.Handle = isVariableDeclaration;
|
|
81
107
|
export function isVariableDeclarationList(node) {
|
|
82
108
|
return node.kind === SyntaxKind.VariableDeclarationList;
|
|
83
109
|
}
|
|
110
|
+
isVariableDeclarationList.Handle = isVariableDeclarationList;
|
|
84
111
|
export function isParameterDeclaration(node) {
|
|
85
112
|
return node.kind === SyntaxKind.Parameter;
|
|
86
113
|
}
|
|
114
|
+
isParameterDeclaration.Handle = isParameterDeclaration;
|
|
87
115
|
export function isBindingElement(node) {
|
|
88
116
|
return node.kind === SyntaxKind.BindingElement;
|
|
89
117
|
}
|
|
118
|
+
isBindingElement.Handle = isBindingElement;
|
|
90
119
|
export function isMissingDeclaration(node) {
|
|
91
120
|
return node.kind === SyntaxKind.MissingDeclaration;
|
|
92
121
|
}
|
|
122
|
+
isMissingDeclaration.Handle = isMissingDeclaration;
|
|
93
123
|
export function isFunctionDeclaration(node) {
|
|
94
124
|
return node.kind === SyntaxKind.FunctionDeclaration;
|
|
95
125
|
}
|
|
126
|
+
isFunctionDeclaration.Handle = isFunctionDeclaration;
|
|
96
127
|
export function isClassDeclaration(node) {
|
|
97
128
|
return node.kind === SyntaxKind.ClassDeclaration;
|
|
98
129
|
}
|
|
130
|
+
isClassDeclaration.Handle = isClassDeclaration;
|
|
99
131
|
export function isClassExpression(node) {
|
|
100
132
|
return node.kind === SyntaxKind.ClassExpression;
|
|
101
133
|
}
|
|
134
|
+
isClassExpression.Handle = isClassExpression;
|
|
102
135
|
export function isHeritageClause(node) {
|
|
103
136
|
return node.kind === SyntaxKind.HeritageClause;
|
|
104
137
|
}
|
|
138
|
+
isHeritageClause.Handle = isHeritageClause;
|
|
105
139
|
export function isInterfaceDeclaration(node) {
|
|
106
140
|
return node.kind === SyntaxKind.InterfaceDeclaration;
|
|
107
141
|
}
|
|
142
|
+
isInterfaceDeclaration.Handle = isInterfaceDeclaration;
|
|
108
143
|
export function isTypeAliasDeclaration(node) {
|
|
109
144
|
switch (node.kind) {
|
|
110
145
|
case SyntaxKind.TypeAliasDeclaration:
|
|
@@ -114,21 +149,27 @@ export function isTypeAliasDeclaration(node) {
|
|
|
114
149
|
return false;
|
|
115
150
|
}
|
|
116
151
|
}
|
|
152
|
+
isTypeAliasDeclaration.Handle = isTypeAliasDeclaration;
|
|
117
153
|
export function isEnumMember(node) {
|
|
118
154
|
return node.kind === SyntaxKind.EnumMember;
|
|
119
155
|
}
|
|
156
|
+
isEnumMember.Handle = isEnumMember;
|
|
120
157
|
export function isEnumDeclaration(node) {
|
|
121
158
|
return node.kind === SyntaxKind.EnumDeclaration;
|
|
122
159
|
}
|
|
160
|
+
isEnumDeclaration.Handle = isEnumDeclaration;
|
|
123
161
|
export function isModuleBlock(node) {
|
|
124
162
|
return node.kind === SyntaxKind.ModuleBlock;
|
|
125
163
|
}
|
|
164
|
+
isModuleBlock.Handle = isModuleBlock;
|
|
126
165
|
export function isNotEmittedStatement(node) {
|
|
127
166
|
return node.kind === SyntaxKind.NotEmittedStatement;
|
|
128
167
|
}
|
|
168
|
+
isNotEmittedStatement.Handle = isNotEmittedStatement;
|
|
129
169
|
export function isNotEmittedTypeElement(node) {
|
|
130
170
|
return node.kind === SyntaxKind.NotEmittedTypeElement;
|
|
131
171
|
}
|
|
172
|
+
isNotEmittedTypeElement.Handle = isNotEmittedTypeElement;
|
|
132
173
|
export function isImportDeclaration(node) {
|
|
133
174
|
switch (node.kind) {
|
|
134
175
|
case SyntaxKind.ImportDeclaration:
|
|
@@ -138,660 +179,873 @@ export function isImportDeclaration(node) {
|
|
|
138
179
|
return false;
|
|
139
180
|
}
|
|
140
181
|
}
|
|
182
|
+
isImportDeclaration.Handle = isImportDeclaration;
|
|
141
183
|
export function isExternalModuleReference(node) {
|
|
142
184
|
return node.kind === SyntaxKind.ExternalModuleReference;
|
|
143
185
|
}
|
|
186
|
+
isExternalModuleReference.Handle = isExternalModuleReference;
|
|
144
187
|
export function isNamespaceImport(node) {
|
|
145
188
|
return node.kind === SyntaxKind.NamespaceImport;
|
|
146
189
|
}
|
|
190
|
+
isNamespaceImport.Handle = isNamespaceImport;
|
|
147
191
|
export function isNamedImports(node) {
|
|
148
192
|
return node.kind === SyntaxKind.NamedImports;
|
|
149
193
|
}
|
|
194
|
+
isNamedImports.Handle = isNamedImports;
|
|
150
195
|
export function isExportAssignment(node) {
|
|
151
196
|
return node.kind === SyntaxKind.ExportAssignment;
|
|
152
197
|
}
|
|
198
|
+
isExportAssignment.Handle = isExportAssignment;
|
|
153
199
|
export function isNamespaceExportDeclaration(node) {
|
|
154
200
|
return node.kind === SyntaxKind.NamespaceExportDeclaration;
|
|
155
201
|
}
|
|
202
|
+
isNamespaceExportDeclaration.Handle = isNamespaceExportDeclaration;
|
|
156
203
|
export function isNamespaceExport(node) {
|
|
157
204
|
return node.kind === SyntaxKind.NamespaceExport;
|
|
158
205
|
}
|
|
206
|
+
isNamespaceExport.Handle = isNamespaceExport;
|
|
159
207
|
export function isNamedExports(node) {
|
|
160
208
|
return node.kind === SyntaxKind.NamedExports;
|
|
161
209
|
}
|
|
210
|
+
isNamedExports.Handle = isNamedExports;
|
|
162
211
|
export function isExportSpecifier(node) {
|
|
163
212
|
return node.kind === SyntaxKind.ExportSpecifier;
|
|
164
213
|
}
|
|
214
|
+
isExportSpecifier.Handle = isExportSpecifier;
|
|
165
215
|
export function isCallSignatureDeclaration(node) {
|
|
166
216
|
return node.kind === SyntaxKind.CallSignature;
|
|
167
217
|
}
|
|
218
|
+
isCallSignatureDeclaration.Handle = isCallSignatureDeclaration;
|
|
168
219
|
export function isConstructSignatureDeclaration(node) {
|
|
169
220
|
return node.kind === SyntaxKind.ConstructSignature;
|
|
170
221
|
}
|
|
222
|
+
isConstructSignatureDeclaration.Handle = isConstructSignatureDeclaration;
|
|
171
223
|
export function isConstructorDeclaration(node) {
|
|
172
224
|
return node.kind === SyntaxKind.Constructor;
|
|
173
225
|
}
|
|
226
|
+
isConstructorDeclaration.Handle = isConstructorDeclaration;
|
|
174
227
|
export function isGetAccessorDeclaration(node) {
|
|
175
228
|
return node.kind === SyntaxKind.GetAccessor;
|
|
176
229
|
}
|
|
230
|
+
isGetAccessorDeclaration.Handle = isGetAccessorDeclaration;
|
|
177
231
|
export function isSetAccessorDeclaration(node) {
|
|
178
232
|
return node.kind === SyntaxKind.SetAccessor;
|
|
179
233
|
}
|
|
234
|
+
isSetAccessorDeclaration.Handle = isSetAccessorDeclaration;
|
|
180
235
|
export function isIndexSignatureDeclaration(node) {
|
|
181
236
|
return node.kind === SyntaxKind.IndexSignature;
|
|
182
237
|
}
|
|
238
|
+
isIndexSignatureDeclaration.Handle = isIndexSignatureDeclaration;
|
|
183
239
|
export function isMethodSignatureDeclaration(node) {
|
|
184
240
|
return node.kind === SyntaxKind.MethodSignature;
|
|
185
241
|
}
|
|
242
|
+
isMethodSignatureDeclaration.Handle = isMethodSignatureDeclaration;
|
|
186
243
|
export function isMethodDeclaration(node) {
|
|
187
244
|
return node.kind === SyntaxKind.MethodDeclaration;
|
|
188
245
|
}
|
|
246
|
+
isMethodDeclaration.Handle = isMethodDeclaration;
|
|
189
247
|
export function isPropertySignatureDeclaration(node) {
|
|
190
248
|
return node.kind === SyntaxKind.PropertySignature;
|
|
191
249
|
}
|
|
250
|
+
isPropertySignatureDeclaration.Handle = isPropertySignatureDeclaration;
|
|
192
251
|
export function isPropertyDeclaration(node) {
|
|
193
252
|
return node.kind === SyntaxKind.PropertyDeclaration;
|
|
194
253
|
}
|
|
254
|
+
isPropertyDeclaration.Handle = isPropertyDeclaration;
|
|
195
255
|
export function isSemicolonClassElement(node) {
|
|
196
256
|
return node.kind === SyntaxKind.SemicolonClassElement;
|
|
197
257
|
}
|
|
258
|
+
isSemicolonClassElement.Handle = isSemicolonClassElement;
|
|
198
259
|
export function isClassStaticBlockDeclaration(node) {
|
|
199
260
|
return node.kind === SyntaxKind.ClassStaticBlockDeclaration;
|
|
200
261
|
}
|
|
262
|
+
isClassStaticBlockDeclaration.Handle = isClassStaticBlockDeclaration;
|
|
201
263
|
export function isOmittedExpression(node) {
|
|
202
264
|
return node.kind === SyntaxKind.OmittedExpression;
|
|
203
265
|
}
|
|
266
|
+
isOmittedExpression.Handle = isOmittedExpression;
|
|
204
267
|
export function isKeywordExpression(node) {
|
|
205
268
|
return isKeywordExpressionKind(node.kind);
|
|
206
269
|
}
|
|
270
|
+
isKeywordExpression.Handle = isKeywordExpression;
|
|
207
271
|
export function isStringLiteral(node) {
|
|
208
272
|
return node.kind === SyntaxKind.StringLiteral;
|
|
209
273
|
}
|
|
274
|
+
isStringLiteral.Handle = isStringLiteral;
|
|
210
275
|
export function isNumericLiteral(node) {
|
|
211
276
|
return node.kind === SyntaxKind.NumericLiteral;
|
|
212
277
|
}
|
|
278
|
+
isNumericLiteral.Handle = isNumericLiteral;
|
|
213
279
|
export function isBigIntLiteral(node) {
|
|
214
280
|
return node.kind === SyntaxKind.BigIntLiteral;
|
|
215
281
|
}
|
|
282
|
+
isBigIntLiteral.Handle = isBigIntLiteral;
|
|
216
283
|
export function isRegularExpressionLiteral(node) {
|
|
217
284
|
return node.kind === SyntaxKind.RegularExpressionLiteral;
|
|
218
285
|
}
|
|
286
|
+
isRegularExpressionLiteral.Handle = isRegularExpressionLiteral;
|
|
219
287
|
export function isNoSubstitutionTemplateLiteral(node) {
|
|
220
288
|
return node.kind === SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
221
289
|
}
|
|
290
|
+
isNoSubstitutionTemplateLiteral.Handle = isNoSubstitutionTemplateLiteral;
|
|
222
291
|
export function isBinaryExpression(node) {
|
|
223
292
|
return node.kind === SyntaxKind.BinaryExpression;
|
|
224
293
|
}
|
|
294
|
+
isBinaryExpression.Handle = isBinaryExpression;
|
|
225
295
|
export function isPrefixUnaryExpression(node) {
|
|
226
296
|
return node.kind === SyntaxKind.PrefixUnaryExpression;
|
|
227
297
|
}
|
|
298
|
+
isPrefixUnaryExpression.Handle = isPrefixUnaryExpression;
|
|
228
299
|
export function isPostfixUnaryExpression(node) {
|
|
229
300
|
return node.kind === SyntaxKind.PostfixUnaryExpression;
|
|
230
301
|
}
|
|
302
|
+
isPostfixUnaryExpression.Handle = isPostfixUnaryExpression;
|
|
231
303
|
export function isYieldExpression(node) {
|
|
232
304
|
return node.kind === SyntaxKind.YieldExpression;
|
|
233
305
|
}
|
|
306
|
+
isYieldExpression.Handle = isYieldExpression;
|
|
234
307
|
export function isArrowFunction(node) {
|
|
235
308
|
return node.kind === SyntaxKind.ArrowFunction;
|
|
236
309
|
}
|
|
310
|
+
isArrowFunction.Handle = isArrowFunction;
|
|
237
311
|
export function isFunctionExpression(node) {
|
|
238
312
|
return node.kind === SyntaxKind.FunctionExpression;
|
|
239
313
|
}
|
|
314
|
+
isFunctionExpression.Handle = isFunctionExpression;
|
|
240
315
|
export function isAsExpression(node) {
|
|
241
316
|
return node.kind === SyntaxKind.AsExpression;
|
|
242
317
|
}
|
|
318
|
+
isAsExpression.Handle = isAsExpression;
|
|
243
319
|
export function isSatisfiesExpression(node) {
|
|
244
320
|
return node.kind === SyntaxKind.SatisfiesExpression;
|
|
245
321
|
}
|
|
322
|
+
isSatisfiesExpression.Handle = isSatisfiesExpression;
|
|
246
323
|
export function isConditionalExpression(node) {
|
|
247
324
|
return node.kind === SyntaxKind.ConditionalExpression;
|
|
248
325
|
}
|
|
326
|
+
isConditionalExpression.Handle = isConditionalExpression;
|
|
249
327
|
export function isPropertyAccessExpression(node) {
|
|
250
328
|
return node.kind === SyntaxKind.PropertyAccessExpression;
|
|
251
329
|
}
|
|
330
|
+
isPropertyAccessExpression.Handle = isPropertyAccessExpression;
|
|
252
331
|
export function isElementAccessExpression(node) {
|
|
253
332
|
return node.kind === SyntaxKind.ElementAccessExpression;
|
|
254
333
|
}
|
|
334
|
+
isElementAccessExpression.Handle = isElementAccessExpression;
|
|
255
335
|
export function isCallExpression(node) {
|
|
256
336
|
return node.kind === SyntaxKind.CallExpression;
|
|
257
337
|
}
|
|
338
|
+
isCallExpression.Handle = isCallExpression;
|
|
258
339
|
export function isNewExpression(node) {
|
|
259
340
|
return node.kind === SyntaxKind.NewExpression;
|
|
260
341
|
}
|
|
342
|
+
isNewExpression.Handle = isNewExpression;
|
|
261
343
|
export function isMetaProperty(node) {
|
|
262
344
|
return node.kind === SyntaxKind.MetaProperty;
|
|
263
345
|
}
|
|
346
|
+
isMetaProperty.Handle = isMetaProperty;
|
|
264
347
|
export function isNonNullExpression(node) {
|
|
265
348
|
return node.kind === SyntaxKind.NonNullExpression;
|
|
266
349
|
}
|
|
350
|
+
isNonNullExpression.Handle = isNonNullExpression;
|
|
267
351
|
export function isSpreadElement(node) {
|
|
268
352
|
return node.kind === SyntaxKind.SpreadElement;
|
|
269
353
|
}
|
|
354
|
+
isSpreadElement.Handle = isSpreadElement;
|
|
270
355
|
export function isTemplateExpression(node) {
|
|
271
356
|
return node.kind === SyntaxKind.TemplateExpression;
|
|
272
357
|
}
|
|
358
|
+
isTemplateExpression.Handle = isTemplateExpression;
|
|
273
359
|
export function isTemplateSpan(node) {
|
|
274
360
|
return node.kind === SyntaxKind.TemplateSpan;
|
|
275
361
|
}
|
|
362
|
+
isTemplateSpan.Handle = isTemplateSpan;
|
|
276
363
|
export function isTaggedTemplateExpression(node) {
|
|
277
364
|
return node.kind === SyntaxKind.TaggedTemplateExpression;
|
|
278
365
|
}
|
|
366
|
+
isTaggedTemplateExpression.Handle = isTaggedTemplateExpression;
|
|
279
367
|
export function isParenthesizedExpression(node) {
|
|
280
368
|
return node.kind === SyntaxKind.ParenthesizedExpression;
|
|
281
369
|
}
|
|
370
|
+
isParenthesizedExpression.Handle = isParenthesizedExpression;
|
|
282
371
|
export function isArrayLiteralExpression(node) {
|
|
283
372
|
return node.kind === SyntaxKind.ArrayLiteralExpression;
|
|
284
373
|
}
|
|
374
|
+
isArrayLiteralExpression.Handle = isArrayLiteralExpression;
|
|
285
375
|
export function isObjectLiteralExpression(node) {
|
|
286
376
|
return node.kind === SyntaxKind.ObjectLiteralExpression;
|
|
287
377
|
}
|
|
378
|
+
isObjectLiteralExpression.Handle = isObjectLiteralExpression;
|
|
288
379
|
export function isSpreadAssignment(node) {
|
|
289
380
|
return node.kind === SyntaxKind.SpreadAssignment;
|
|
290
381
|
}
|
|
382
|
+
isSpreadAssignment.Handle = isSpreadAssignment;
|
|
291
383
|
export function isPropertyAssignment(node) {
|
|
292
384
|
return node.kind === SyntaxKind.PropertyAssignment;
|
|
293
385
|
}
|
|
386
|
+
isPropertyAssignment.Handle = isPropertyAssignment;
|
|
294
387
|
export function isShorthandPropertyAssignment(node) {
|
|
295
388
|
return node.kind === SyntaxKind.ShorthandPropertyAssignment;
|
|
296
389
|
}
|
|
390
|
+
isShorthandPropertyAssignment.Handle = isShorthandPropertyAssignment;
|
|
297
391
|
export function isDeleteExpression(node) {
|
|
298
392
|
return node.kind === SyntaxKind.DeleteExpression;
|
|
299
393
|
}
|
|
394
|
+
isDeleteExpression.Handle = isDeleteExpression;
|
|
300
395
|
export function isTypeOfExpression(node) {
|
|
301
396
|
return node.kind === SyntaxKind.TypeOfExpression;
|
|
302
397
|
}
|
|
398
|
+
isTypeOfExpression.Handle = isTypeOfExpression;
|
|
303
399
|
export function isVoidExpression(node) {
|
|
304
400
|
return node.kind === SyntaxKind.VoidExpression;
|
|
305
401
|
}
|
|
402
|
+
isVoidExpression.Handle = isVoidExpression;
|
|
306
403
|
export function isAwaitExpression(node) {
|
|
307
404
|
return node.kind === SyntaxKind.AwaitExpression;
|
|
308
405
|
}
|
|
406
|
+
isAwaitExpression.Handle = isAwaitExpression;
|
|
309
407
|
export function isTypeAssertion(node) {
|
|
310
408
|
return node.kind === SyntaxKind.TypeAssertionExpression;
|
|
311
409
|
}
|
|
410
|
+
isTypeAssertion.Handle = isTypeAssertion;
|
|
312
411
|
export function isKeywordTypeNode(node) {
|
|
313
412
|
return isKeywordTypeKind(node.kind);
|
|
314
413
|
}
|
|
414
|
+
isKeywordTypeNode.Handle = isKeywordTypeNode;
|
|
315
415
|
export function isUnionTypeNode(node) {
|
|
316
416
|
return node.kind === SyntaxKind.UnionType;
|
|
317
417
|
}
|
|
418
|
+
isUnionTypeNode.Handle = isUnionTypeNode;
|
|
318
419
|
export function isIntersectionTypeNode(node) {
|
|
319
420
|
return node.kind === SyntaxKind.IntersectionType;
|
|
320
421
|
}
|
|
422
|
+
isIntersectionTypeNode.Handle = isIntersectionTypeNode;
|
|
321
423
|
export function isConditionalTypeNode(node) {
|
|
322
424
|
return node.kind === SyntaxKind.ConditionalType;
|
|
323
425
|
}
|
|
426
|
+
isConditionalTypeNode.Handle = isConditionalTypeNode;
|
|
324
427
|
export function isTypeOperatorNode(node) {
|
|
325
428
|
return node.kind === SyntaxKind.TypeOperator;
|
|
326
429
|
}
|
|
430
|
+
isTypeOperatorNode.Handle = isTypeOperatorNode;
|
|
327
431
|
export function isInferTypeNode(node) {
|
|
328
432
|
return node.kind === SyntaxKind.InferType;
|
|
329
433
|
}
|
|
434
|
+
isInferTypeNode.Handle = isInferTypeNode;
|
|
330
435
|
export function isArrayTypeNode(node) {
|
|
331
436
|
return node.kind === SyntaxKind.ArrayType;
|
|
332
437
|
}
|
|
438
|
+
isArrayTypeNode.Handle = isArrayTypeNode;
|
|
333
439
|
export function isIndexedAccessTypeNode(node) {
|
|
334
440
|
return node.kind === SyntaxKind.IndexedAccessType;
|
|
335
441
|
}
|
|
442
|
+
isIndexedAccessTypeNode.Handle = isIndexedAccessTypeNode;
|
|
336
443
|
export function isTypeReferenceNode(node) {
|
|
337
444
|
return node.kind === SyntaxKind.TypeReference;
|
|
338
445
|
}
|
|
446
|
+
isTypeReferenceNode.Handle = isTypeReferenceNode;
|
|
339
447
|
export function isExpressionWithTypeArguments(node) {
|
|
340
448
|
return node.kind === SyntaxKind.ExpressionWithTypeArguments;
|
|
341
449
|
}
|
|
450
|
+
isExpressionWithTypeArguments.Handle = isExpressionWithTypeArguments;
|
|
342
451
|
export function isLiteralTypeNode(node) {
|
|
343
452
|
return node.kind === SyntaxKind.LiteralType;
|
|
344
453
|
}
|
|
454
|
+
isLiteralTypeNode.Handle = isLiteralTypeNode;
|
|
345
455
|
export function isThisTypeNode(node) {
|
|
346
456
|
return node.kind === SyntaxKind.ThisType;
|
|
347
457
|
}
|
|
458
|
+
isThisTypeNode.Handle = isThisTypeNode;
|
|
348
459
|
export function isTypePredicateNode(node) {
|
|
349
460
|
return node.kind === SyntaxKind.TypePredicate;
|
|
350
461
|
}
|
|
462
|
+
isTypePredicateNode.Handle = isTypePredicateNode;
|
|
351
463
|
export function isImportAttribute(node) {
|
|
352
464
|
return node.kind === SyntaxKind.ImportAttribute;
|
|
353
465
|
}
|
|
466
|
+
isImportAttribute.Handle = isImportAttribute;
|
|
354
467
|
export function isImportAttributes(node) {
|
|
355
468
|
return node.kind === SyntaxKind.ImportAttributes;
|
|
356
469
|
}
|
|
470
|
+
isImportAttributes.Handle = isImportAttributes;
|
|
357
471
|
export function isTypeQueryNode(node) {
|
|
358
472
|
return node.kind === SyntaxKind.TypeQuery;
|
|
359
473
|
}
|
|
474
|
+
isTypeQueryNode.Handle = isTypeQueryNode;
|
|
360
475
|
export function isMappedTypeNode(node) {
|
|
361
476
|
return node.kind === SyntaxKind.MappedType;
|
|
362
477
|
}
|
|
478
|
+
isMappedTypeNode.Handle = isMappedTypeNode;
|
|
363
479
|
export function isTypeLiteralNode(node) {
|
|
364
480
|
return node.kind === SyntaxKind.TypeLiteral;
|
|
365
481
|
}
|
|
482
|
+
isTypeLiteralNode.Handle = isTypeLiteralNode;
|
|
366
483
|
export function isTupleTypeNode(node) {
|
|
367
484
|
return node.kind === SyntaxKind.TupleType;
|
|
368
485
|
}
|
|
486
|
+
isTupleTypeNode.Handle = isTupleTypeNode;
|
|
369
487
|
export function isNamedTupleMember(node) {
|
|
370
488
|
return node.kind === SyntaxKind.NamedTupleMember;
|
|
371
489
|
}
|
|
490
|
+
isNamedTupleMember.Handle = isNamedTupleMember;
|
|
372
491
|
export function isOptionalTypeNode(node) {
|
|
373
492
|
return node.kind === SyntaxKind.OptionalType;
|
|
374
493
|
}
|
|
494
|
+
isOptionalTypeNode.Handle = isOptionalTypeNode;
|
|
375
495
|
export function isRestTypeNode(node) {
|
|
376
496
|
return node.kind === SyntaxKind.RestType;
|
|
377
497
|
}
|
|
498
|
+
isRestTypeNode.Handle = isRestTypeNode;
|
|
378
499
|
export function isParenthesizedTypeNode(node) {
|
|
379
500
|
return node.kind === SyntaxKind.ParenthesizedType;
|
|
380
501
|
}
|
|
502
|
+
isParenthesizedTypeNode.Handle = isParenthesizedTypeNode;
|
|
381
503
|
export function isFunctionTypeNode(node) {
|
|
382
504
|
return node.kind === SyntaxKind.FunctionType;
|
|
383
505
|
}
|
|
506
|
+
isFunctionTypeNode.Handle = isFunctionTypeNode;
|
|
384
507
|
export function isConstructorTypeNode(node) {
|
|
385
508
|
return node.kind === SyntaxKind.ConstructorType;
|
|
386
509
|
}
|
|
510
|
+
isConstructorTypeNode.Handle = isConstructorTypeNode;
|
|
387
511
|
export function isTemplateHead(node) {
|
|
388
512
|
return node.kind === SyntaxKind.TemplateHead;
|
|
389
513
|
}
|
|
514
|
+
isTemplateHead.Handle = isTemplateHead;
|
|
390
515
|
export function isTemplateMiddle(node) {
|
|
391
516
|
return node.kind === SyntaxKind.TemplateMiddle;
|
|
392
517
|
}
|
|
518
|
+
isTemplateMiddle.Handle = isTemplateMiddle;
|
|
393
519
|
export function isTemplateTail(node) {
|
|
394
520
|
return node.kind === SyntaxKind.TemplateTail;
|
|
395
521
|
}
|
|
522
|
+
isTemplateTail.Handle = isTemplateTail;
|
|
396
523
|
export function isTemplateLiteralTypeNode(node) {
|
|
397
524
|
return node.kind === SyntaxKind.TemplateLiteralType;
|
|
398
525
|
}
|
|
526
|
+
isTemplateLiteralTypeNode.Handle = isTemplateLiteralTypeNode;
|
|
399
527
|
export function isTemplateLiteralTypeSpan(node) {
|
|
400
528
|
return node.kind === SyntaxKind.TemplateLiteralTypeSpan;
|
|
401
529
|
}
|
|
530
|
+
isTemplateLiteralTypeSpan.Handle = isTemplateLiteralTypeSpan;
|
|
402
531
|
export function isSyntheticExpression(node) {
|
|
403
532
|
return node.kind === SyntaxKind.SyntheticExpression;
|
|
404
533
|
}
|
|
534
|
+
isSyntheticExpression.Handle = isSyntheticExpression;
|
|
405
535
|
export function isPartiallyEmittedExpression(node) {
|
|
406
536
|
return node.kind === SyntaxKind.PartiallyEmittedExpression;
|
|
407
537
|
}
|
|
538
|
+
isPartiallyEmittedExpression.Handle = isPartiallyEmittedExpression;
|
|
408
539
|
export function isJsxElement(node) {
|
|
409
540
|
return node.kind === SyntaxKind.JsxElement;
|
|
410
541
|
}
|
|
542
|
+
isJsxElement.Handle = isJsxElement;
|
|
411
543
|
export function isJsxAttributes(node) {
|
|
412
544
|
return node.kind === SyntaxKind.JsxAttributes;
|
|
413
545
|
}
|
|
546
|
+
isJsxAttributes.Handle = isJsxAttributes;
|
|
414
547
|
export function isJsxNamespacedName(node) {
|
|
415
548
|
return node.kind === SyntaxKind.JsxNamespacedName;
|
|
416
549
|
}
|
|
550
|
+
isJsxNamespacedName.Handle = isJsxNamespacedName;
|
|
417
551
|
export function isJsxOpeningElement(node) {
|
|
418
552
|
return node.kind === SyntaxKind.JsxOpeningElement;
|
|
419
553
|
}
|
|
554
|
+
isJsxOpeningElement.Handle = isJsxOpeningElement;
|
|
420
555
|
export function isJsxSelfClosingElement(node) {
|
|
421
556
|
return node.kind === SyntaxKind.JsxSelfClosingElement;
|
|
422
557
|
}
|
|
558
|
+
isJsxSelfClosingElement.Handle = isJsxSelfClosingElement;
|
|
423
559
|
export function isJsxFragment(node) {
|
|
424
560
|
return node.kind === SyntaxKind.JsxFragment;
|
|
425
561
|
}
|
|
562
|
+
isJsxFragment.Handle = isJsxFragment;
|
|
426
563
|
export function isJsxOpeningFragment(node) {
|
|
427
564
|
return node.kind === SyntaxKind.JsxOpeningFragment;
|
|
428
565
|
}
|
|
566
|
+
isJsxOpeningFragment.Handle = isJsxOpeningFragment;
|
|
429
567
|
export function isJsxClosingFragment(node) {
|
|
430
568
|
return node.kind === SyntaxKind.JsxClosingFragment;
|
|
431
569
|
}
|
|
570
|
+
isJsxClosingFragment.Handle = isJsxClosingFragment;
|
|
432
571
|
export function isJsxAttribute(node) {
|
|
433
572
|
return node.kind === SyntaxKind.JsxAttribute;
|
|
434
573
|
}
|
|
574
|
+
isJsxAttribute.Handle = isJsxAttribute;
|
|
435
575
|
export function isJsxSpreadAttribute(node) {
|
|
436
576
|
return node.kind === SyntaxKind.JsxSpreadAttribute;
|
|
437
577
|
}
|
|
578
|
+
isJsxSpreadAttribute.Handle = isJsxSpreadAttribute;
|
|
438
579
|
export function isJsxClosingElement(node) {
|
|
439
580
|
return node.kind === SyntaxKind.JsxClosingElement;
|
|
440
581
|
}
|
|
582
|
+
isJsxClosingElement.Handle = isJsxClosingElement;
|
|
441
583
|
export function isJsxExpression(node) {
|
|
442
584
|
return node.kind === SyntaxKind.JsxExpression;
|
|
443
585
|
}
|
|
586
|
+
isJsxExpression.Handle = isJsxExpression;
|
|
444
587
|
export function isJsxText(node) {
|
|
445
588
|
return node.kind === SyntaxKind.JsxText;
|
|
446
589
|
}
|
|
590
|
+
isJsxText.Handle = isJsxText;
|
|
447
591
|
export function isSyntaxList(node) {
|
|
448
592
|
return node.kind === SyntaxKind.SyntaxList;
|
|
449
593
|
}
|
|
594
|
+
isSyntaxList.Handle = isSyntaxList;
|
|
450
595
|
export function isJSDoc(node) {
|
|
451
596
|
return node.kind === SyntaxKind.JSDoc;
|
|
452
597
|
}
|
|
598
|
+
isJSDoc.Handle = isJSDoc;
|
|
453
599
|
export function isJSDocTypeExpression(node) {
|
|
454
600
|
return node.kind === SyntaxKind.JSDocTypeExpression;
|
|
455
601
|
}
|
|
602
|
+
isJSDocTypeExpression.Handle = isJSDocTypeExpression;
|
|
456
603
|
export function isJSDocNonNullableType(node) {
|
|
457
604
|
return node.kind === SyntaxKind.JSDocNonNullableType;
|
|
458
605
|
}
|
|
606
|
+
isJSDocNonNullableType.Handle = isJSDocNonNullableType;
|
|
459
607
|
export function isJSDocNullableType(node) {
|
|
460
608
|
return node.kind === SyntaxKind.JSDocNullableType;
|
|
461
609
|
}
|
|
610
|
+
isJSDocNullableType.Handle = isJSDocNullableType;
|
|
462
611
|
export function isJSDocAllType(node) {
|
|
463
612
|
return node.kind === SyntaxKind.JSDocAllType;
|
|
464
613
|
}
|
|
614
|
+
isJSDocAllType.Handle = isJSDocAllType;
|
|
465
615
|
export function isJSDocVariadicType(node) {
|
|
466
616
|
return node.kind === SyntaxKind.JSDocVariadicType;
|
|
467
617
|
}
|
|
618
|
+
isJSDocVariadicType.Handle = isJSDocVariadicType;
|
|
468
619
|
export function isJSDocOptionalType(node) {
|
|
469
620
|
return node.kind === SyntaxKind.JSDocOptionalType;
|
|
470
621
|
}
|
|
622
|
+
isJSDocOptionalType.Handle = isJSDocOptionalType;
|
|
471
623
|
export function isJSDocTypeTag(node) {
|
|
472
624
|
return node.kind === SyntaxKind.JSDocTypeTag;
|
|
473
625
|
}
|
|
626
|
+
isJSDocTypeTag.Handle = isJSDocTypeTag;
|
|
474
627
|
export function isJSDocUnknownTag(node) {
|
|
475
628
|
return node.kind === SyntaxKind.JSDocUnknownTag;
|
|
476
629
|
}
|
|
630
|
+
isJSDocUnknownTag.Handle = isJSDocUnknownTag;
|
|
477
631
|
export function isJSDocTemplateTag(node) {
|
|
478
632
|
return node.kind === SyntaxKind.JSDocTemplateTag;
|
|
479
633
|
}
|
|
634
|
+
isJSDocTemplateTag.Handle = isJSDocTemplateTag;
|
|
480
635
|
export function isJSDocReturnTag(node) {
|
|
481
636
|
return node.kind === SyntaxKind.JSDocReturnTag;
|
|
482
637
|
}
|
|
638
|
+
isJSDocReturnTag.Handle = isJSDocReturnTag;
|
|
483
639
|
export function isJSDocPublicTag(node) {
|
|
484
640
|
return node.kind === SyntaxKind.JSDocPublicTag;
|
|
485
641
|
}
|
|
642
|
+
isJSDocPublicTag.Handle = isJSDocPublicTag;
|
|
486
643
|
export function isJSDocPrivateTag(node) {
|
|
487
644
|
return node.kind === SyntaxKind.JSDocPrivateTag;
|
|
488
645
|
}
|
|
646
|
+
isJSDocPrivateTag.Handle = isJSDocPrivateTag;
|
|
489
647
|
export function isJSDocProtectedTag(node) {
|
|
490
648
|
return node.kind === SyntaxKind.JSDocProtectedTag;
|
|
491
649
|
}
|
|
650
|
+
isJSDocProtectedTag.Handle = isJSDocProtectedTag;
|
|
492
651
|
export function isJSDocReadonlyTag(node) {
|
|
493
652
|
return node.kind === SyntaxKind.JSDocReadonlyTag;
|
|
494
653
|
}
|
|
654
|
+
isJSDocReadonlyTag.Handle = isJSDocReadonlyTag;
|
|
495
655
|
export function isJSDocOverrideTag(node) {
|
|
496
656
|
return node.kind === SyntaxKind.JSDocOverrideTag;
|
|
497
657
|
}
|
|
658
|
+
isJSDocOverrideTag.Handle = isJSDocOverrideTag;
|
|
498
659
|
export function isJSDocDeprecatedTag(node) {
|
|
499
660
|
return node.kind === SyntaxKind.JSDocDeprecatedTag;
|
|
500
661
|
}
|
|
662
|
+
isJSDocDeprecatedTag.Handle = isJSDocDeprecatedTag;
|
|
501
663
|
export function isJSDocSeeTag(node) {
|
|
502
664
|
return node.kind === SyntaxKind.JSDocSeeTag;
|
|
503
665
|
}
|
|
666
|
+
isJSDocSeeTag.Handle = isJSDocSeeTag;
|
|
504
667
|
export function isJSDocImplementsTag(node) {
|
|
505
668
|
return node.kind === SyntaxKind.JSDocImplementsTag;
|
|
506
669
|
}
|
|
670
|
+
isJSDocImplementsTag.Handle = isJSDocImplementsTag;
|
|
507
671
|
export function isJSDocAugmentsTag(node) {
|
|
508
672
|
return node.kind === SyntaxKind.JSDocAugmentsTag;
|
|
509
673
|
}
|
|
674
|
+
isJSDocAugmentsTag.Handle = isJSDocAugmentsTag;
|
|
510
675
|
export function isJSDocSatisfiesTag(node) {
|
|
511
676
|
return node.kind === SyntaxKind.JSDocSatisfiesTag;
|
|
512
677
|
}
|
|
678
|
+
isJSDocSatisfiesTag.Handle = isJSDocSatisfiesTag;
|
|
513
679
|
export function isJSDocThrowsTag(node) {
|
|
514
680
|
return node.kind === SyntaxKind.JSDocThrowsTag;
|
|
515
681
|
}
|
|
682
|
+
isJSDocThrowsTag.Handle = isJSDocThrowsTag;
|
|
516
683
|
export function isJSDocThisTag(node) {
|
|
517
684
|
return node.kind === SyntaxKind.JSDocThisTag;
|
|
518
685
|
}
|
|
686
|
+
isJSDocThisTag.Handle = isJSDocThisTag;
|
|
519
687
|
export function isJSDocImportTag(node) {
|
|
520
688
|
return node.kind === SyntaxKind.JSDocImportTag;
|
|
521
689
|
}
|
|
690
|
+
isJSDocImportTag.Handle = isJSDocImportTag;
|
|
522
691
|
export function isJSDocCallbackTag(node) {
|
|
523
692
|
return node.kind === SyntaxKind.JSDocCallbackTag;
|
|
524
693
|
}
|
|
694
|
+
isJSDocCallbackTag.Handle = isJSDocCallbackTag;
|
|
525
695
|
export function isJSDocOverloadTag(node) {
|
|
526
696
|
return node.kind === SyntaxKind.JSDocOverloadTag;
|
|
527
697
|
}
|
|
698
|
+
isJSDocOverloadTag.Handle = isJSDocOverloadTag;
|
|
528
699
|
export function isJSDocTypedefTag(node) {
|
|
529
700
|
return node.kind === SyntaxKind.JSDocTypedefTag;
|
|
530
701
|
}
|
|
702
|
+
isJSDocTypedefTag.Handle = isJSDocTypedefTag;
|
|
531
703
|
export function isJSDocSignature(node) {
|
|
532
704
|
return node.kind === SyntaxKind.JSDocSignature;
|
|
533
705
|
}
|
|
706
|
+
isJSDocSignature.Handle = isJSDocSignature;
|
|
534
707
|
export function isJSDocNameReference(node) {
|
|
535
708
|
return node.kind === SyntaxKind.JSDocNameReference;
|
|
536
709
|
}
|
|
710
|
+
isJSDocNameReference.Handle = isJSDocNameReference;
|
|
537
711
|
export function isSourceFile(node) {
|
|
538
712
|
return node.kind === SyntaxKind.SourceFile;
|
|
539
713
|
}
|
|
714
|
+
isSourceFile.Handle = isSourceFile;
|
|
540
715
|
export function isModuleDeclaration(node) {
|
|
541
716
|
return node.kind === SyntaxKind.ModuleDeclaration;
|
|
542
717
|
}
|
|
718
|
+
isModuleDeclaration.Handle = isModuleDeclaration;
|
|
543
719
|
export function isImportEqualsDeclaration(node) {
|
|
544
720
|
return node.kind === SyntaxKind.ImportEqualsDeclaration;
|
|
545
721
|
}
|
|
722
|
+
isImportEqualsDeclaration.Handle = isImportEqualsDeclaration;
|
|
546
723
|
export function isExportDeclaration(node) {
|
|
547
724
|
return node.kind === SyntaxKind.ExportDeclaration;
|
|
548
725
|
}
|
|
726
|
+
isExportDeclaration.Handle = isExportDeclaration;
|
|
549
727
|
export function isImportTypeNode(node) {
|
|
550
728
|
return node.kind === SyntaxKind.ImportType;
|
|
551
729
|
}
|
|
730
|
+
isImportTypeNode.Handle = isImportTypeNode;
|
|
552
731
|
export function isImportClause(node) {
|
|
553
732
|
return node.kind === SyntaxKind.ImportClause;
|
|
554
733
|
}
|
|
734
|
+
isImportClause.Handle = isImportClause;
|
|
555
735
|
export function isImportSpecifier(node) {
|
|
556
736
|
return node.kind === SyntaxKind.ImportSpecifier;
|
|
557
737
|
}
|
|
738
|
+
isImportSpecifier.Handle = isImportSpecifier;
|
|
558
739
|
export function isJSDocText(node) {
|
|
559
740
|
return node.kind === SyntaxKind.JSDocText;
|
|
560
741
|
}
|
|
742
|
+
isJSDocText.Handle = isJSDocText;
|
|
561
743
|
export function isJSDocLink(node) {
|
|
562
744
|
return node.kind === SyntaxKind.JSDocLink;
|
|
563
745
|
}
|
|
746
|
+
isJSDocLink.Handle = isJSDocLink;
|
|
564
747
|
export function isJSDocLinkPlain(node) {
|
|
565
748
|
return node.kind === SyntaxKind.JSDocLinkPlain;
|
|
566
749
|
}
|
|
750
|
+
isJSDocLinkPlain.Handle = isJSDocLinkPlain;
|
|
567
751
|
export function isJSDocLinkCode(node) {
|
|
568
752
|
return node.kind === SyntaxKind.JSDocLinkCode;
|
|
569
753
|
}
|
|
754
|
+
isJSDocLinkCode.Handle = isJSDocLinkCode;
|
|
570
755
|
export function isTypeParameterDeclaration(node) {
|
|
571
756
|
return node.kind === SyntaxKind.TypeParameter;
|
|
572
757
|
}
|
|
758
|
+
isTypeParameterDeclaration.Handle = isTypeParameterDeclaration;
|
|
573
759
|
export function isSyntheticReferenceExpression(node) {
|
|
574
760
|
return node.kind === SyntaxKind.SyntheticReferenceExpression;
|
|
575
761
|
}
|
|
762
|
+
isSyntheticReferenceExpression.Handle = isSyntheticReferenceExpression;
|
|
576
763
|
export function isJSDocTypeLiteral(node) {
|
|
577
764
|
return node.kind === SyntaxKind.JSDocTypeLiteral;
|
|
578
765
|
}
|
|
766
|
+
isJSDocTypeLiteral.Handle = isJSDocTypeLiteral;
|
|
579
767
|
export function isForInStatement(node) {
|
|
580
768
|
return node.kind === SyntaxKind.ForInStatement;
|
|
581
769
|
}
|
|
770
|
+
isForInStatement.Handle = isForInStatement;
|
|
582
771
|
export function isForOfStatement(node) {
|
|
583
772
|
return node.kind === SyntaxKind.ForOfStatement;
|
|
584
773
|
}
|
|
774
|
+
isForOfStatement.Handle = isForOfStatement;
|
|
585
775
|
export function isCaseClause(node) {
|
|
586
776
|
return node.kind === SyntaxKind.CaseClause;
|
|
587
777
|
}
|
|
778
|
+
isCaseClause.Handle = isCaseClause;
|
|
588
779
|
export function isDefaultClause(node) {
|
|
589
780
|
return node.kind === SyntaxKind.DefaultClause;
|
|
590
781
|
}
|
|
782
|
+
isDefaultClause.Handle = isDefaultClause;
|
|
591
783
|
export function isObjectBindingPattern(node) {
|
|
592
784
|
return node.kind === SyntaxKind.ObjectBindingPattern;
|
|
593
785
|
}
|
|
786
|
+
isObjectBindingPattern.Handle = isObjectBindingPattern;
|
|
594
787
|
export function isArrayBindingPattern(node) {
|
|
595
788
|
return node.kind === SyntaxKind.ArrayBindingPattern;
|
|
596
789
|
}
|
|
790
|
+
isArrayBindingPattern.Handle = isArrayBindingPattern;
|
|
597
791
|
export function isJSDocParameterTag(node) {
|
|
598
792
|
return node.kind === SyntaxKind.JSDocParameterTag;
|
|
599
793
|
}
|
|
794
|
+
isJSDocParameterTag.Handle = isJSDocParameterTag;
|
|
600
795
|
export function isJSDocPropertyTag(node) {
|
|
601
796
|
return node.kind === SyntaxKind.JSDocPropertyTag;
|
|
602
797
|
}
|
|
798
|
+
isJSDocPropertyTag.Handle = isJSDocPropertyTag;
|
|
603
799
|
export function isHeritageClauseElement(node) {
|
|
604
800
|
return node.kind === SyntaxKind.ExpressionWithTypeArguments || node.kind === SyntaxKind.TypeReference;
|
|
605
801
|
}
|
|
802
|
+
isHeritageClauseElement.Handle = isHeritageClauseElement;
|
|
606
803
|
export function isAccessExpression(node) {
|
|
607
804
|
return node.kind === SyntaxKind.PropertyAccessExpression || node.kind === SyntaxKind.ElementAccessExpression;
|
|
608
805
|
}
|
|
806
|
+
isAccessExpression.Handle = isAccessExpression;
|
|
609
807
|
export function isDeclarationName(node) {
|
|
610
808
|
const kind = node.kind;
|
|
611
809
|
return kind === SyntaxKind.Identifier || kind === SyntaxKind.PrivateIdentifier || kind === SyntaxKind.StringLiteral || kind === SyntaxKind.NumericLiteral || kind === SyntaxKind.BigIntLiteral || kind === SyntaxKind.NoSubstitutionTemplateLiteral || kind === SyntaxKind.ComputedPropertyName || kind === SyntaxKind.ObjectBindingPattern || kind === SyntaxKind.ArrayBindingPattern || kind === SyntaxKind.ElementAccessExpression;
|
|
612
810
|
}
|
|
811
|
+
isDeclarationName.Handle = isDeclarationName;
|
|
613
812
|
export function isModuleName(node) {
|
|
614
813
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.StringLiteral;
|
|
615
814
|
}
|
|
815
|
+
isModuleName.Handle = isModuleName;
|
|
616
816
|
export function isModuleExportName(node) {
|
|
617
817
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.StringLiteral;
|
|
618
818
|
}
|
|
819
|
+
isModuleExportName.Handle = isModuleExportName;
|
|
619
820
|
export function isPropertyName(node) {
|
|
620
821
|
const kind = node.kind;
|
|
621
822
|
return kind === SyntaxKind.Identifier || kind === SyntaxKind.StringLiteral || kind === SyntaxKind.NoSubstitutionTemplateLiteral || kind === SyntaxKind.NumericLiteral || kind === SyntaxKind.ComputedPropertyName || kind === SyntaxKind.PrivateIdentifier || kind === SyntaxKind.BigIntLiteral;
|
|
622
823
|
}
|
|
824
|
+
isPropertyName.Handle = isPropertyName;
|
|
623
825
|
export function isModuleBody(node) {
|
|
624
826
|
return node.kind === SyntaxKind.ModuleBlock || node.kind === SyntaxKind.ModuleDeclaration;
|
|
625
827
|
}
|
|
828
|
+
isModuleBody.Handle = isModuleBody;
|
|
626
829
|
export function isJSDocFullName(node) {
|
|
627
830
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.ModuleDeclaration;
|
|
628
831
|
}
|
|
832
|
+
isJSDocFullName.Handle = isJSDocFullName;
|
|
629
833
|
export function isModuleReference(node) {
|
|
630
834
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.QualifiedName || node.kind === SyntaxKind.ExternalModuleReference;
|
|
631
835
|
}
|
|
836
|
+
isModuleReference.Handle = isModuleReference;
|
|
632
837
|
export function isNamedImportBindings(node) {
|
|
633
838
|
return node.kind === SyntaxKind.NamespaceImport || node.kind === SyntaxKind.NamedImports;
|
|
634
839
|
}
|
|
840
|
+
isNamedImportBindings.Handle = isNamedImportBindings;
|
|
635
841
|
export function isNamedExportBindings(node) {
|
|
636
842
|
return node.kind === SyntaxKind.NamespaceExport || node.kind === SyntaxKind.NamedExports;
|
|
637
843
|
}
|
|
844
|
+
isNamedExportBindings.Handle = isNamedExportBindings;
|
|
638
845
|
export function isMemberName(node) {
|
|
639
846
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.PrivateIdentifier;
|
|
640
847
|
}
|
|
848
|
+
isMemberName.Handle = isMemberName;
|
|
641
849
|
export function isEntityName(node) {
|
|
642
850
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.QualifiedName;
|
|
643
851
|
}
|
|
852
|
+
isEntityName.Handle = isEntityName;
|
|
644
853
|
export function isBindingName(node) {
|
|
645
854
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.ObjectBindingPattern || node.kind === SyntaxKind.ArrayBindingPattern;
|
|
646
855
|
}
|
|
856
|
+
isBindingName.Handle = isBindingName;
|
|
647
857
|
export function isModifierLike(node) {
|
|
648
858
|
const kind = node.kind;
|
|
649
859
|
return kind === SyntaxKind.AbstractKeyword || kind === SyntaxKind.AccessorKeyword || kind === SyntaxKind.AsyncKeyword || kind === SyntaxKind.ConstKeyword || kind === SyntaxKind.DeclareKeyword || kind === SyntaxKind.DefaultKeyword || kind === SyntaxKind.ExportKeyword || kind === SyntaxKind.InKeyword || kind === SyntaxKind.PrivateKeyword || kind === SyntaxKind.ProtectedKeyword || kind === SyntaxKind.PublicKeyword || kind === SyntaxKind.ReadonlyKeyword || kind === SyntaxKind.OutKeyword || kind === SyntaxKind.OverrideKeyword || kind === SyntaxKind.StaticKeyword || kind === SyntaxKind.Decorator;
|
|
650
860
|
}
|
|
861
|
+
isModifierLike.Handle = isModifierLike;
|
|
651
862
|
export function isJsxChild(node) {
|
|
652
863
|
const kind = node.kind;
|
|
653
864
|
return kind === SyntaxKind.JsxText || kind === SyntaxKind.JsxExpression || kind === SyntaxKind.JsxElement || kind === SyntaxKind.JsxSelfClosingElement || kind === SyntaxKind.JsxFragment;
|
|
654
865
|
}
|
|
866
|
+
isJsxChild.Handle = isJsxChild;
|
|
655
867
|
export function isJsxAttributeLike(node) {
|
|
656
868
|
return node.kind === SyntaxKind.JsxAttribute || node.kind === SyntaxKind.JsxSpreadAttribute;
|
|
657
869
|
}
|
|
870
|
+
isJsxAttributeLike.Handle = isJsxAttributeLike;
|
|
658
871
|
export function isJsxAttributeName(node) {
|
|
659
872
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.JsxNamespacedName;
|
|
660
873
|
}
|
|
874
|
+
isJsxAttributeName.Handle = isJsxAttributeName;
|
|
661
875
|
export function isJsxAttributeValue(node) {
|
|
662
876
|
const kind = node.kind;
|
|
663
877
|
return kind === SyntaxKind.StringLiteral || kind === SyntaxKind.JsxExpression || kind === SyntaxKind.JsxElement || kind === SyntaxKind.JsxSelfClosingElement || kind === SyntaxKind.JsxFragment;
|
|
664
878
|
}
|
|
879
|
+
isJsxAttributeValue.Handle = isJsxAttributeValue;
|
|
665
880
|
export function isClassLikeDeclaration(node) {
|
|
666
881
|
return node.kind === SyntaxKind.ClassDeclaration || node.kind === SyntaxKind.ClassExpression;
|
|
667
882
|
}
|
|
883
|
+
isClassLikeDeclaration.Handle = isClassLikeDeclaration;
|
|
668
884
|
export function isAccessorDeclaration(node) {
|
|
669
885
|
return node.kind === SyntaxKind.GetAccessor || node.kind === SyntaxKind.SetAccessor;
|
|
670
886
|
}
|
|
887
|
+
isAccessorDeclaration.Handle = isAccessorDeclaration;
|
|
671
888
|
export function isLiteralLikeNode(node) {
|
|
672
889
|
const kind = node.kind;
|
|
673
890
|
return kind === SyntaxKind.StringLiteral || kind === SyntaxKind.NumericLiteral || kind === SyntaxKind.BigIntLiteral || kind === SyntaxKind.RegularExpressionLiteral || kind === SyntaxKind.TemplateHead || kind === SyntaxKind.TemplateMiddle || kind === SyntaxKind.TemplateTail || kind === SyntaxKind.JsxText;
|
|
674
891
|
}
|
|
892
|
+
isLiteralLikeNode.Handle = isLiteralLikeNode;
|
|
675
893
|
export function isLiteralExpression(node) {
|
|
676
894
|
const kind = node.kind;
|
|
677
895
|
return kind === SyntaxKind.StringLiteral || kind === SyntaxKind.NumericLiteral || kind === SyntaxKind.BigIntLiteral || kind === SyntaxKind.RegularExpressionLiteral || kind === SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
678
896
|
}
|
|
897
|
+
isLiteralExpression.Handle = isLiteralExpression;
|
|
679
898
|
export function isUnionOrIntersectionTypeNode(node) {
|
|
680
899
|
return node.kind === SyntaxKind.UnionType || node.kind === SyntaxKind.IntersectionType;
|
|
681
900
|
}
|
|
901
|
+
isUnionOrIntersectionTypeNode.Handle = isUnionOrIntersectionTypeNode;
|
|
682
902
|
export function isTemplateLiteralLikeNode(node) {
|
|
683
903
|
const kind = node.kind;
|
|
684
904
|
return isPseudoLiteralKind(kind);
|
|
685
905
|
}
|
|
906
|
+
isTemplateLiteralLikeNode.Handle = isTemplateLiteralLikeNode;
|
|
686
907
|
export function isTemplateMiddleOrTail(node) {
|
|
687
908
|
return node.kind === SyntaxKind.TemplateMiddle || node.kind === SyntaxKind.TemplateTail;
|
|
688
909
|
}
|
|
910
|
+
isTemplateMiddleOrTail.Handle = isTemplateMiddleOrTail;
|
|
689
911
|
export function isTemplateLiteral(node) {
|
|
690
912
|
return node.kind === SyntaxKind.TemplateExpression || node.kind === SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
691
913
|
}
|
|
914
|
+
isTemplateLiteral.Handle = isTemplateLiteral;
|
|
692
915
|
export function isTypePredicateParameterName(node) {
|
|
693
916
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.ThisType;
|
|
694
917
|
}
|
|
918
|
+
isTypePredicateParameterName.Handle = isTypePredicateParameterName;
|
|
695
919
|
export function isImportAttributeName(node) {
|
|
696
920
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.StringLiteral;
|
|
697
921
|
}
|
|
922
|
+
isImportAttributeName.Handle = isImportAttributeName;
|
|
698
923
|
export function isJSDocComment(node) {
|
|
699
924
|
const kind = node.kind;
|
|
700
925
|
return kind === SyntaxKind.JSDocText || kind === SyntaxKind.JSDocLink || kind === SyntaxKind.JSDocLinkCode || kind === SyntaxKind.JSDocLinkPlain;
|
|
701
926
|
}
|
|
927
|
+
isJSDocComment.Handle = isJSDocComment;
|
|
702
928
|
export function isSignatureDeclaration(node) {
|
|
703
929
|
const kind = node.kind;
|
|
704
930
|
return kind === SyntaxKind.CallSignature || kind === SyntaxKind.ConstructSignature || kind === SyntaxKind.MethodSignature || kind === SyntaxKind.IndexSignature || kind === SyntaxKind.FunctionType || kind === SyntaxKind.ConstructorType || kind === SyntaxKind.FunctionDeclaration || kind === SyntaxKind.MethodDeclaration || kind === SyntaxKind.Constructor || kind === SyntaxKind.GetAccessor || kind === SyntaxKind.SetAccessor || kind === SyntaxKind.FunctionExpression || kind === SyntaxKind.ArrowFunction;
|
|
705
931
|
}
|
|
932
|
+
isSignatureDeclaration.Handle = isSignatureDeclaration;
|
|
706
933
|
export function isStringLiteralLikeNode(node) {
|
|
707
934
|
return node.kind === SyntaxKind.StringLiteral || node.kind === SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
708
935
|
}
|
|
936
|
+
isStringLiteralLikeNode.Handle = isStringLiteralLikeNode;
|
|
709
937
|
export function isNumericOrStringLikeLiteral(node) {
|
|
710
938
|
return node.kind === SyntaxKind.StringLiteral || node.kind === SyntaxKind.NoSubstitutionTemplateLiteral || node.kind === SyntaxKind.NumericLiteral;
|
|
711
939
|
}
|
|
940
|
+
isNumericOrStringLikeLiteral.Handle = isNumericOrStringLikeLiteral;
|
|
712
941
|
export function isObjectLiteralLikeNode(node) {
|
|
713
942
|
return node.kind === SyntaxKind.ObjectLiteralExpression || node.kind === SyntaxKind.ObjectBindingPattern;
|
|
714
943
|
}
|
|
944
|
+
isObjectLiteralLikeNode.Handle = isObjectLiteralLikeNode;
|
|
715
945
|
export function isObjectTypeDeclaration(node) {
|
|
716
946
|
const kind = node.kind;
|
|
717
947
|
return kind === SyntaxKind.ClassDeclaration || kind === SyntaxKind.ClassExpression || kind === SyntaxKind.InterfaceDeclaration || kind === SyntaxKind.TypeLiteral;
|
|
718
948
|
}
|
|
949
|
+
isObjectTypeDeclaration.Handle = isObjectTypeDeclaration;
|
|
719
950
|
export function isJsxOpeningLikeElement(node) {
|
|
720
951
|
return node.kind === SyntaxKind.JsxOpeningElement || node.kind === SyntaxKind.JsxSelfClosingElement;
|
|
721
952
|
}
|
|
953
|
+
isJsxOpeningLikeElement.Handle = isJsxOpeningLikeElement;
|
|
722
954
|
export function isNamedImportsOrExports(node) {
|
|
723
955
|
return node.kind === SyntaxKind.NamedImports || node.kind === SyntaxKind.NamedExports;
|
|
724
956
|
}
|
|
957
|
+
isNamedImportsOrExports.Handle = isNamedImportsOrExports;
|
|
725
958
|
export function isBreakOrContinueStatement(node) {
|
|
726
959
|
return node.kind === SyntaxKind.BreakStatement || node.kind === SyntaxKind.ContinueStatement;
|
|
727
960
|
}
|
|
961
|
+
isBreakOrContinueStatement.Handle = isBreakOrContinueStatement;
|
|
728
962
|
export function isCallLikeExpression(node) {
|
|
729
963
|
const kind = node.kind;
|
|
730
964
|
return kind === SyntaxKind.CallExpression || kind === SyntaxKind.NewExpression || kind === SyntaxKind.TaggedTemplateExpression || kind === SyntaxKind.Decorator || kind === SyntaxKind.JsxOpeningElement || kind === SyntaxKind.JsxSelfClosingElement || kind === SyntaxKind.BinaryExpression;
|
|
731
965
|
}
|
|
966
|
+
isCallLikeExpression.Handle = isCallLikeExpression;
|
|
732
967
|
export function isFunctionLikeDeclaration(node) {
|
|
733
968
|
const kind = node.kind;
|
|
734
969
|
return kind === SyntaxKind.FunctionDeclaration || kind === SyntaxKind.MethodDeclaration || kind === SyntaxKind.GetAccessor || kind === SyntaxKind.SetAccessor || kind === SyntaxKind.Constructor || kind === SyntaxKind.FunctionExpression || kind === SyntaxKind.ArrowFunction;
|
|
735
970
|
}
|
|
971
|
+
isFunctionLikeDeclaration.Handle = isFunctionLikeDeclaration;
|
|
736
972
|
export function isVariableOrParameterDeclaration(node) {
|
|
737
973
|
return node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.Parameter;
|
|
738
974
|
}
|
|
975
|
+
isVariableOrParameterDeclaration.Handle = isVariableOrParameterDeclaration;
|
|
739
976
|
export function isVariableOrPropertyDeclaration(node) {
|
|
740
977
|
return node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.PropertyDeclaration;
|
|
741
978
|
}
|
|
979
|
+
isVariableOrPropertyDeclaration.Handle = isVariableOrPropertyDeclaration;
|
|
742
980
|
export function isCallOrNewExpression(node) {
|
|
743
981
|
return node.kind === SyntaxKind.CallExpression || node.kind === SyntaxKind.NewExpression;
|
|
744
982
|
}
|
|
983
|
+
isCallOrNewExpression.Handle = isCallOrNewExpression;
|
|
745
984
|
export function isImportClauseOrBindingPattern(node) {
|
|
746
985
|
return node.kind === SyntaxKind.ImportClause || node.kind === SyntaxKind.ObjectBindingPattern || node.kind === SyntaxKind.ArrayBindingPattern;
|
|
747
986
|
}
|
|
987
|
+
isImportClauseOrBindingPattern.Handle = isImportClauseOrBindingPattern;
|
|
748
988
|
export function isAnyImportSyntax(node) {
|
|
749
989
|
return node.kind === SyntaxKind.ImportDeclaration || node.kind === SyntaxKind.JSImportDeclaration || node.kind === SyntaxKind.ImportEqualsDeclaration;
|
|
750
990
|
}
|
|
991
|
+
isAnyImportSyntax.Handle = isAnyImportSyntax;
|
|
751
992
|
export function isArrayBindingElement(node) {
|
|
752
993
|
return node.kind === SyntaxKind.BindingElement || node.kind === SyntaxKind.OmittedExpression;
|
|
753
994
|
}
|
|
995
|
+
isArrayBindingElement.Handle = isArrayBindingElement;
|
|
754
996
|
export function isAssertionExpression(node) {
|
|
755
997
|
return node.kind === SyntaxKind.TypeAssertionExpression || node.kind === SyntaxKind.AsExpression;
|
|
756
998
|
}
|
|
999
|
+
isAssertionExpression.Handle = isAssertionExpression;
|
|
757
1000
|
export function isBooleanLiteral(node) {
|
|
758
1001
|
return node.kind === SyntaxKind.TrueKeyword || node.kind === SyntaxKind.FalseKeyword;
|
|
759
1002
|
}
|
|
1003
|
+
isBooleanLiteral.Handle = isBooleanLiteral;
|
|
760
1004
|
export function isDestructuringAssignment(node) {
|
|
761
1005
|
return node.kind === SyntaxKind.BinaryExpression;
|
|
762
1006
|
}
|
|
1007
|
+
isDestructuringAssignment.Handle = isDestructuringAssignment;
|
|
763
1008
|
export function isLiteralToken(node) {
|
|
764
1009
|
const kind = node.kind;
|
|
765
1010
|
return kind === SyntaxKind.NumericLiteral || kind === SyntaxKind.BigIntLiteral || kind === SyntaxKind.StringLiteral || kind === SyntaxKind.JsxText || kind === SyntaxKind.RegularExpressionLiteral || kind === SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
766
1011
|
}
|
|
1012
|
+
isLiteralToken.Handle = isLiteralToken;
|
|
767
1013
|
export function isModifier(node) {
|
|
768
1014
|
const kind = node.kind;
|
|
769
1015
|
return isModifierKind(kind);
|
|
770
1016
|
}
|
|
1017
|
+
isModifier.Handle = isModifier;
|
|
771
1018
|
export function isObjectLiteralElementLike(node) {
|
|
772
1019
|
const kind = node.kind;
|
|
773
1020
|
return kind === SyntaxKind.PropertyAssignment || kind === SyntaxKind.ShorthandPropertyAssignment || kind === SyntaxKind.SpreadAssignment || kind === SyntaxKind.MethodDeclaration || kind === SyntaxKind.GetAccessor || kind === SyntaxKind.SetAccessor;
|
|
774
1021
|
}
|
|
1022
|
+
isObjectLiteralElementLike.Handle = isObjectLiteralElementLike;
|
|
775
1023
|
export function isPropertyNameLiteral(node) {
|
|
776
1024
|
return node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.StringLiteral || node.kind === SyntaxKind.NumericLiteral;
|
|
777
1025
|
}
|
|
1026
|
+
isPropertyNameLiteral.Handle = isPropertyNameLiteral;
|
|
778
1027
|
export function isPseudoLiteralToken(node) {
|
|
779
1028
|
const kind = node.kind;
|
|
780
1029
|
return isPseudoLiteralKind(kind);
|
|
781
1030
|
}
|
|
1031
|
+
isPseudoLiteralToken.Handle = isPseudoLiteralToken;
|
|
782
1032
|
export function isTemplateLiteralToken(node) {
|
|
783
1033
|
const kind = node.kind;
|
|
784
1034
|
return kind === SyntaxKind.NoSubstitutionTemplateLiteral || kind === SyntaxKind.TemplateHead || kind === SyntaxKind.TemplateMiddle || kind === SyntaxKind.TemplateTail;
|
|
785
1035
|
}
|
|
1036
|
+
isTemplateLiteralToken.Handle = isTemplateLiteralToken;
|
|
786
1037
|
export function isArrayDestructuringAssignment(node) {
|
|
787
1038
|
return node.kind === SyntaxKind.BinaryExpression;
|
|
788
1039
|
}
|
|
1040
|
+
isArrayDestructuringAssignment.Handle = isArrayDestructuringAssignment;
|
|
789
1041
|
export function isObjectDestructuringAssignment(node) {
|
|
790
1042
|
return node.kind === SyntaxKind.BinaryExpression;
|
|
791
1043
|
}
|
|
1044
|
+
isObjectDestructuringAssignment.Handle = isObjectDestructuringAssignment;
|
|
792
1045
|
export function isFunctionBody(node) {
|
|
793
1046
|
return node.kind === SyntaxKind.Block;
|
|
794
1047
|
}
|
|
1048
|
+
isFunctionBody.Handle = isFunctionBody;
|
|
795
1049
|
export function isTriviaKind(kind) {
|
|
796
1050
|
return kind === SyntaxKind.SingleLineCommentTrivia
|
|
797
1051
|
|| kind === SyntaxKind.MultiLineCommentTrivia
|
|
@@ -989,118 +1243,157 @@ export function isJSDocNodeKind(kind) {
|
|
|
989
1243
|
export function isEndOfFile(node) {
|
|
990
1244
|
return node.kind === SyntaxKind.EndOfFile;
|
|
991
1245
|
}
|
|
1246
|
+
isEndOfFile.Handle = isEndOfFile;
|
|
992
1247
|
export function isDotToken(node) {
|
|
993
1248
|
return node.kind === SyntaxKind.DotToken;
|
|
994
1249
|
}
|
|
1250
|
+
isDotToken.Handle = isDotToken;
|
|
995
1251
|
export function isDotDotDotToken(node) {
|
|
996
1252
|
return node.kind === SyntaxKind.DotDotDotToken;
|
|
997
1253
|
}
|
|
1254
|
+
isDotDotDotToken.Handle = isDotDotDotToken;
|
|
998
1255
|
export function isQuestionToken(node) {
|
|
999
1256
|
return node.kind === SyntaxKind.QuestionToken;
|
|
1000
1257
|
}
|
|
1258
|
+
isQuestionToken.Handle = isQuestionToken;
|
|
1001
1259
|
export function isExclamationToken(node) {
|
|
1002
1260
|
return node.kind === SyntaxKind.ExclamationToken;
|
|
1003
1261
|
}
|
|
1262
|
+
isExclamationToken.Handle = isExclamationToken;
|
|
1004
1263
|
export function isColonToken(node) {
|
|
1005
1264
|
return node.kind === SyntaxKind.ColonToken;
|
|
1006
1265
|
}
|
|
1266
|
+
isColonToken.Handle = isColonToken;
|
|
1007
1267
|
export function isEqualsToken(node) {
|
|
1008
1268
|
return node.kind === SyntaxKind.EqualsToken;
|
|
1009
1269
|
}
|
|
1270
|
+
isEqualsToken.Handle = isEqualsToken;
|
|
1010
1271
|
export function isAsteriskToken(node) {
|
|
1011
1272
|
return node.kind === SyntaxKind.AsteriskToken;
|
|
1012
1273
|
}
|
|
1274
|
+
isAsteriskToken.Handle = isAsteriskToken;
|
|
1013
1275
|
export function isEqualsGreaterThanToken(node) {
|
|
1014
1276
|
return node.kind === SyntaxKind.EqualsGreaterThanToken;
|
|
1015
1277
|
}
|
|
1278
|
+
isEqualsGreaterThanToken.Handle = isEqualsGreaterThanToken;
|
|
1016
1279
|
export function isPlusToken(node) {
|
|
1017
1280
|
return node.kind === SyntaxKind.PlusToken;
|
|
1018
1281
|
}
|
|
1282
|
+
isPlusToken.Handle = isPlusToken;
|
|
1019
1283
|
export function isMinusToken(node) {
|
|
1020
1284
|
return node.kind === SyntaxKind.MinusToken;
|
|
1021
1285
|
}
|
|
1286
|
+
isMinusToken.Handle = isMinusToken;
|
|
1022
1287
|
export function isQuestionDotToken(node) {
|
|
1023
1288
|
return node.kind === SyntaxKind.QuestionDotToken;
|
|
1024
1289
|
}
|
|
1290
|
+
isQuestionDotToken.Handle = isQuestionDotToken;
|
|
1025
1291
|
export function isAssertsKeyword(node) {
|
|
1026
1292
|
return node.kind === SyntaxKind.AssertsKeyword;
|
|
1027
1293
|
}
|
|
1294
|
+
isAssertsKeyword.Handle = isAssertsKeyword;
|
|
1028
1295
|
export function isAssertKeyword(node) {
|
|
1029
1296
|
return node.kind === SyntaxKind.AssertKeyword;
|
|
1030
1297
|
}
|
|
1298
|
+
isAssertKeyword.Handle = isAssertKeyword;
|
|
1031
1299
|
export function isAwaitKeyword(node) {
|
|
1032
1300
|
return node.kind === SyntaxKind.AwaitKeyword;
|
|
1033
1301
|
}
|
|
1302
|
+
isAwaitKeyword.Handle = isAwaitKeyword;
|
|
1034
1303
|
export function isCaseKeyword(node) {
|
|
1035
1304
|
return node.kind === SyntaxKind.CaseKeyword;
|
|
1036
1305
|
}
|
|
1306
|
+
isCaseKeyword.Handle = isCaseKeyword;
|
|
1037
1307
|
export function isAbstractKeyword(node) {
|
|
1038
1308
|
return node.kind === SyntaxKind.AbstractKeyword;
|
|
1039
1309
|
}
|
|
1310
|
+
isAbstractKeyword.Handle = isAbstractKeyword;
|
|
1040
1311
|
export function isAccessorKeyword(node) {
|
|
1041
1312
|
return node.kind === SyntaxKind.AccessorKeyword;
|
|
1042
1313
|
}
|
|
1314
|
+
isAccessorKeyword.Handle = isAccessorKeyword;
|
|
1043
1315
|
export function isAsyncKeyword(node) {
|
|
1044
1316
|
return node.kind === SyntaxKind.AsyncKeyword;
|
|
1045
1317
|
}
|
|
1318
|
+
isAsyncKeyword.Handle = isAsyncKeyword;
|
|
1046
1319
|
export function isConstKeyword(node) {
|
|
1047
1320
|
return node.kind === SyntaxKind.ConstKeyword;
|
|
1048
1321
|
}
|
|
1322
|
+
isConstKeyword.Handle = isConstKeyword;
|
|
1049
1323
|
export function isDeclareKeyword(node) {
|
|
1050
1324
|
return node.kind === SyntaxKind.DeclareKeyword;
|
|
1051
1325
|
}
|
|
1326
|
+
isDeclareKeyword.Handle = isDeclareKeyword;
|
|
1052
1327
|
export function isDefaultKeyword(node) {
|
|
1053
1328
|
return node.kind === SyntaxKind.DefaultKeyword;
|
|
1054
1329
|
}
|
|
1330
|
+
isDefaultKeyword.Handle = isDefaultKeyword;
|
|
1055
1331
|
export function isExportKeyword(node) {
|
|
1056
1332
|
return node.kind === SyntaxKind.ExportKeyword;
|
|
1057
1333
|
}
|
|
1334
|
+
isExportKeyword.Handle = isExportKeyword;
|
|
1058
1335
|
export function isInKeyword(node) {
|
|
1059
1336
|
return node.kind === SyntaxKind.InKeyword;
|
|
1060
1337
|
}
|
|
1338
|
+
isInKeyword.Handle = isInKeyword;
|
|
1061
1339
|
export function isPrivateKeyword(node) {
|
|
1062
1340
|
return node.kind === SyntaxKind.PrivateKeyword;
|
|
1063
1341
|
}
|
|
1342
|
+
isPrivateKeyword.Handle = isPrivateKeyword;
|
|
1064
1343
|
export function isProtectedKeyword(node) {
|
|
1065
1344
|
return node.kind === SyntaxKind.ProtectedKeyword;
|
|
1066
1345
|
}
|
|
1346
|
+
isProtectedKeyword.Handle = isProtectedKeyword;
|
|
1067
1347
|
export function isPublicKeyword(node) {
|
|
1068
1348
|
return node.kind === SyntaxKind.PublicKeyword;
|
|
1069
1349
|
}
|
|
1350
|
+
isPublicKeyword.Handle = isPublicKeyword;
|
|
1070
1351
|
export function isReadonlyKeyword(node) {
|
|
1071
1352
|
return node.kind === SyntaxKind.ReadonlyKeyword;
|
|
1072
1353
|
}
|
|
1354
|
+
isReadonlyKeyword.Handle = isReadonlyKeyword;
|
|
1073
1355
|
export function isOutKeyword(node) {
|
|
1074
1356
|
return node.kind === SyntaxKind.OutKeyword;
|
|
1075
1357
|
}
|
|
1358
|
+
isOutKeyword.Handle = isOutKeyword;
|
|
1076
1359
|
export function isOverrideKeyword(node) {
|
|
1077
1360
|
return node.kind === SyntaxKind.OverrideKeyword;
|
|
1078
1361
|
}
|
|
1362
|
+
isOverrideKeyword.Handle = isOverrideKeyword;
|
|
1079
1363
|
export function isStaticKeyword(node) {
|
|
1080
1364
|
return node.kind === SyntaxKind.StaticKeyword;
|
|
1081
1365
|
}
|
|
1366
|
+
isStaticKeyword.Handle = isStaticKeyword;
|
|
1082
1367
|
export function isBinaryOperatorToken(node) {
|
|
1083
1368
|
return isBinaryOperator(node.kind);
|
|
1084
1369
|
}
|
|
1370
|
+
isBinaryOperatorToken.Handle = isBinaryOperatorToken;
|
|
1085
1371
|
export function isAssignmentOperatorToken(node) {
|
|
1086
1372
|
return isAssignmentOperator(node.kind);
|
|
1087
1373
|
}
|
|
1374
|
+
isAssignmentOperatorToken.Handle = isAssignmentOperatorToken;
|
|
1088
1375
|
export function isNullLiteral(node) {
|
|
1089
1376
|
return node.kind === SyntaxKind.NullKeyword;
|
|
1090
1377
|
}
|
|
1378
|
+
isNullLiteral.Handle = isNullLiteral;
|
|
1091
1379
|
export function isTrueLiteral(node) {
|
|
1092
1380
|
return node.kind === SyntaxKind.TrueKeyword;
|
|
1093
1381
|
}
|
|
1382
|
+
isTrueLiteral.Handle = isTrueLiteral;
|
|
1094
1383
|
export function isFalseLiteral(node) {
|
|
1095
1384
|
return node.kind === SyntaxKind.FalseKeyword;
|
|
1096
1385
|
}
|
|
1386
|
+
isFalseLiteral.Handle = isFalseLiteral;
|
|
1097
1387
|
export function isThisExpression(node) {
|
|
1098
1388
|
return node.kind === SyntaxKind.ThisKeyword;
|
|
1099
1389
|
}
|
|
1390
|
+
isThisExpression.Handle = isThisExpression;
|
|
1100
1391
|
export function isSuperExpression(node) {
|
|
1101
1392
|
return node.kind === SyntaxKind.SuperKeyword;
|
|
1102
1393
|
}
|
|
1394
|
+
isSuperExpression.Handle = isSuperExpression;
|
|
1103
1395
|
export function isImportExpression(node) {
|
|
1104
1396
|
return node.kind === SyntaxKind.ImportKeyword;
|
|
1105
1397
|
}
|
|
1398
|
+
isImportExpression.Handle = isImportExpression;
|
|
1106
1399
|
//# sourceMappingURL=is.generated.js.map
|