@stylexjs/babel-plugin 0.15.2 → 0.15.4
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/lib/index.js +120 -22
- package/lib/index.js.flow +7 -1
- package/lib/shared/common-types.d.ts +1 -0
- package/lib/shared/common-types.js.flow +1 -0
- package/lib/utils/state-manager.d.ts +2 -0
- package/lib/utils/state-manager.js.flow +1 -0
- package/package.json +3 -3
- package/lib/babel-path-utils.d.ts +0 -1100
- package/lib/babel-path-utils.js.flow +0 -1108
- package/lib/shared/utils/genCSSRule.d.ts +0 -15
- package/lib/shared/utils/genCSSRule.js.flow +0 -15
- package/lib/visitors/stylex-attrs.d.ts +0 -21
- package/lib/visitors/stylex-attrs.js.flow +0 -25
- package/lib/visitors/stylex-create/index.d.ts +0 -17
- package/lib/visitors/stylex-create/index.js.flow +0 -24
- package/lib/visitors/stylex-create/parse-stylex-create-arg.d.ts +0 -37
- package/lib/visitors/stylex-create/parse-stylex-create-arg.js.flow +0 -41
|
@@ -1,1108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @flow strict
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import type { NodePath } from '../flow_modules/@babel/traverse';
|
|
11
|
-
import * as t from '../flow_modules/@babel/types';
|
|
12
|
-
|
|
13
|
-
type object = { +[key: string]: mixed };
|
|
14
|
-
|
|
15
|
-
declare export function isAnyTypeAnnotation(
|
|
16
|
-
path: NodePath<>,
|
|
17
|
-
props?: object | null,
|
|
18
|
-
): path is NodePath<t.AnyTypeAnnotation>;
|
|
19
|
-
declare export function isArrayExpression(
|
|
20
|
-
path: NodePath<>,
|
|
21
|
-
props?: object | null,
|
|
22
|
-
): path is NodePath<t.ArrayExpression>;
|
|
23
|
-
declare export function isArrayPattern(
|
|
24
|
-
path: NodePath<>,
|
|
25
|
-
props?: object | null,
|
|
26
|
-
): path is NodePath<t.ArrayPattern>;
|
|
27
|
-
declare export function isArrayTypeAnnotation(
|
|
28
|
-
path: NodePath<>,
|
|
29
|
-
props?: object | null,
|
|
30
|
-
): path is NodePath<t.ArrayTypeAnnotation>;
|
|
31
|
-
declare export function isArrowFunctionExpression(
|
|
32
|
-
path: NodePath<>,
|
|
33
|
-
props?: object | null,
|
|
34
|
-
): path is NodePath<t.ArrowFunctionExpression>;
|
|
35
|
-
declare export function isAssignmentExpression(
|
|
36
|
-
path: NodePath<>,
|
|
37
|
-
props?: object | null,
|
|
38
|
-
): path is NodePath<t.AssignmentExpression>;
|
|
39
|
-
declare export function isAssignmentPattern(
|
|
40
|
-
path: NodePath<>,
|
|
41
|
-
props?: object | null,
|
|
42
|
-
): path is NodePath<t.AssignmentPattern>;
|
|
43
|
-
declare export function isAwaitExpression(
|
|
44
|
-
path: NodePath<>,
|
|
45
|
-
props?: object | null,
|
|
46
|
-
): path is NodePath<t.AwaitExpression>;
|
|
47
|
-
declare export function isBigIntLiteral(
|
|
48
|
-
path: NodePath<>,
|
|
49
|
-
props?: object | null,
|
|
50
|
-
): path is NodePath<t.BigIntLiteral>;
|
|
51
|
-
declare export function isBinary(
|
|
52
|
-
path: NodePath<>,
|
|
53
|
-
props?: object | null,
|
|
54
|
-
): path is NodePath<t.Binary>;
|
|
55
|
-
declare export function isBinaryExpression(
|
|
56
|
-
path: NodePath<>,
|
|
57
|
-
props?: object | null,
|
|
58
|
-
): path is NodePath<t.BinaryExpression>;
|
|
59
|
-
declare export function isBindExpression(
|
|
60
|
-
path: NodePath<>,
|
|
61
|
-
props?: object | null,
|
|
62
|
-
): path is NodePath<t.BindExpression>;
|
|
63
|
-
declare export function isBlock(
|
|
64
|
-
path: NodePath<>,
|
|
65
|
-
props?: object | null,
|
|
66
|
-
): path is NodePath<t.Block>;
|
|
67
|
-
declare export function isBlockParent(
|
|
68
|
-
path: NodePath<>,
|
|
69
|
-
props?: object | null,
|
|
70
|
-
): path is NodePath<t.BlockParent>;
|
|
71
|
-
declare export function isBlockStatement(
|
|
72
|
-
path: NodePath<>,
|
|
73
|
-
props?: object | null,
|
|
74
|
-
): path is NodePath<t.BlockStatement>;
|
|
75
|
-
declare export function isBooleanLiteral(
|
|
76
|
-
path: NodePath<>,
|
|
77
|
-
props?: object | null,
|
|
78
|
-
): path is NodePath<t.BooleanLiteral>;
|
|
79
|
-
declare export function isBooleanLiteralTypeAnnotation(
|
|
80
|
-
path: NodePath<>,
|
|
81
|
-
props?: object | null,
|
|
82
|
-
): path is NodePath<t.BooleanLiteralTypeAnnotation>;
|
|
83
|
-
declare export function isBooleanTypeAnnotation(
|
|
84
|
-
path: NodePath<>,
|
|
85
|
-
props?: object | null,
|
|
86
|
-
): path is NodePath<t.BooleanTypeAnnotation>;
|
|
87
|
-
declare export function isBreakStatement(
|
|
88
|
-
path: NodePath<>,
|
|
89
|
-
props?: object | null,
|
|
90
|
-
): path is NodePath<t.BreakStatement>;
|
|
91
|
-
declare export function isCallExpression(
|
|
92
|
-
path: NodePath<>,
|
|
93
|
-
props?: object | null,
|
|
94
|
-
): path is NodePath<t.CallExpression>;
|
|
95
|
-
declare export function isCatchClause(
|
|
96
|
-
path: NodePath<>,
|
|
97
|
-
props?: object | null,
|
|
98
|
-
): path is NodePath<t.CatchClause>;
|
|
99
|
-
declare export function isClass(
|
|
100
|
-
path: NodePath<>,
|
|
101
|
-
props?: object | null,
|
|
102
|
-
): path is NodePath<t.Class>;
|
|
103
|
-
declare export function isClassBody(
|
|
104
|
-
path: NodePath<>,
|
|
105
|
-
props?: object | null,
|
|
106
|
-
): path is NodePath<t.ClassBody>;
|
|
107
|
-
declare export function isClassDeclaration(
|
|
108
|
-
path: NodePath<>,
|
|
109
|
-
props?: object | null,
|
|
110
|
-
): path is NodePath<t.ClassDeclaration>;
|
|
111
|
-
declare export function isClassExpression(
|
|
112
|
-
path: NodePath<>,
|
|
113
|
-
props?: object | null,
|
|
114
|
-
): path is NodePath<t.ClassExpression>;
|
|
115
|
-
declare export function isClassImplements(
|
|
116
|
-
path: NodePath<>,
|
|
117
|
-
props?: object | null,
|
|
118
|
-
): path is NodePath<t.ClassImplements>;
|
|
119
|
-
declare export function isClassMethod(
|
|
120
|
-
path: NodePath<>,
|
|
121
|
-
props?: object | null,
|
|
122
|
-
): path is NodePath<t.ClassMethod>;
|
|
123
|
-
declare export function isClassPrivateMethod(
|
|
124
|
-
path: NodePath<>,
|
|
125
|
-
props?: object | null,
|
|
126
|
-
): path is NodePath<t.ClassPrivateMethod>;
|
|
127
|
-
declare export function isClassPrivateProperty(
|
|
128
|
-
path: NodePath<>,
|
|
129
|
-
props?: object | null,
|
|
130
|
-
): path is NodePath<t.ClassPrivateProperty>;
|
|
131
|
-
declare export function isClassProperty(
|
|
132
|
-
path: NodePath<>,
|
|
133
|
-
props?: object | null,
|
|
134
|
-
): path is NodePath<t.ClassProperty>;
|
|
135
|
-
declare export function isCompletionStatement(
|
|
136
|
-
path: NodePath<>,
|
|
137
|
-
props?: object | null,
|
|
138
|
-
): path is NodePath<t.CompletionStatement>;
|
|
139
|
-
declare export function isConditional(
|
|
140
|
-
path: NodePath<>,
|
|
141
|
-
props?: object | null,
|
|
142
|
-
): path is NodePath<t.Conditional>;
|
|
143
|
-
declare export function isConditionalExpression(
|
|
144
|
-
path: NodePath<>,
|
|
145
|
-
props?: object | null,
|
|
146
|
-
): path is NodePath<t.ConditionalExpression>;
|
|
147
|
-
declare export function isContinueStatement(
|
|
148
|
-
path: NodePath<>,
|
|
149
|
-
props?: object | null,
|
|
150
|
-
): path is NodePath<t.ContinueStatement>;
|
|
151
|
-
declare export function isDebuggerStatement(
|
|
152
|
-
path: NodePath<>,
|
|
153
|
-
props?: object | null,
|
|
154
|
-
): path is NodePath<t.DebuggerStatement>;
|
|
155
|
-
declare export function isDeclaration(
|
|
156
|
-
path: NodePath<>,
|
|
157
|
-
props?: object | null,
|
|
158
|
-
): path is NodePath<t.Declaration>;
|
|
159
|
-
declare export function isDeclareClass(
|
|
160
|
-
path: NodePath<>,
|
|
161
|
-
props?: object | null,
|
|
162
|
-
): path is NodePath<t.DeclareClass>;
|
|
163
|
-
declare export function isDeclareExportAllDeclaration(
|
|
164
|
-
path: NodePath<>,
|
|
165
|
-
props?: object | null,
|
|
166
|
-
): path is NodePath<t.DeclareExportAllDeclaration>;
|
|
167
|
-
declare export function isDeclareExportDeclaration(
|
|
168
|
-
path: NodePath<>,
|
|
169
|
-
props?: object | null,
|
|
170
|
-
): path is NodePath<t.DeclareExportDeclaration>;
|
|
171
|
-
declare export function isDeclareFunction(
|
|
172
|
-
path: NodePath<>,
|
|
173
|
-
props?: object | null,
|
|
174
|
-
): path is NodePath<t.DeclareFunction>;
|
|
175
|
-
declare export function isDeclareInterface(
|
|
176
|
-
path: NodePath<>,
|
|
177
|
-
props?: object | null,
|
|
178
|
-
): path is NodePath<t.DeclareInterface>;
|
|
179
|
-
declare export function isDeclareModule(
|
|
180
|
-
path: NodePath<>,
|
|
181
|
-
props?: object | null,
|
|
182
|
-
): path is NodePath<t.DeclareModule>;
|
|
183
|
-
declare export function isDeclareModuleExports(
|
|
184
|
-
path: NodePath<>,
|
|
185
|
-
props?: object | null,
|
|
186
|
-
): path is NodePath<t.DeclareModuleExports>;
|
|
187
|
-
declare export function isDeclareOpaqueType(
|
|
188
|
-
path: NodePath<>,
|
|
189
|
-
props?: object | null,
|
|
190
|
-
): path is NodePath<t.DeclareOpaqueType>;
|
|
191
|
-
declare export function isDeclareTypeAlias(
|
|
192
|
-
path: NodePath<>,
|
|
193
|
-
props?: object | null,
|
|
194
|
-
): path is NodePath<t.DeclareTypeAlias>;
|
|
195
|
-
declare export function isDeclareVariable(
|
|
196
|
-
path: NodePath<>,
|
|
197
|
-
props?: object | null,
|
|
198
|
-
): path is NodePath<t.DeclareVariable>;
|
|
199
|
-
declare export function isDeclaredPredicate(
|
|
200
|
-
path: NodePath<>,
|
|
201
|
-
props?: object | null,
|
|
202
|
-
): path is NodePath<t.DeclaredPredicate>;
|
|
203
|
-
declare export function isDecorator(
|
|
204
|
-
path: NodePath<>,
|
|
205
|
-
props?: object | null,
|
|
206
|
-
): path is NodePath<t.Decorator>;
|
|
207
|
-
declare export function isDirective(
|
|
208
|
-
path: NodePath<>,
|
|
209
|
-
props?: object | null,
|
|
210
|
-
): path is NodePath<t.Directive>;
|
|
211
|
-
declare export function isDirectiveLiteral(
|
|
212
|
-
path: NodePath<>,
|
|
213
|
-
props?: object | null,
|
|
214
|
-
): path is NodePath<t.DirectiveLiteral>;
|
|
215
|
-
declare export function isDoExpression(
|
|
216
|
-
path: NodePath<>,
|
|
217
|
-
props?: object | null,
|
|
218
|
-
): path is NodePath<t.DoExpression>;
|
|
219
|
-
declare export function isDoWhileStatement(
|
|
220
|
-
path: NodePath<>,
|
|
221
|
-
props?: object | null,
|
|
222
|
-
): path is NodePath<t.DoWhileStatement>;
|
|
223
|
-
declare export function isEmptyStatement(
|
|
224
|
-
path: NodePath<>,
|
|
225
|
-
props?: object | null,
|
|
226
|
-
): path is NodePath<t.EmptyStatement>;
|
|
227
|
-
declare export function isEmptyTypeAnnotation(
|
|
228
|
-
path: NodePath<>,
|
|
229
|
-
props?: object | null,
|
|
230
|
-
): path is NodePath<t.EmptyTypeAnnotation>;
|
|
231
|
-
declare export function isExistsTypeAnnotation(
|
|
232
|
-
path: NodePath<>,
|
|
233
|
-
props?: object | null,
|
|
234
|
-
): path is NodePath<t.ExistsTypeAnnotation>;
|
|
235
|
-
declare export function isExportAllDeclaration(
|
|
236
|
-
path: NodePath<>,
|
|
237
|
-
props?: object | null,
|
|
238
|
-
): path is NodePath<t.ExportAllDeclaration>;
|
|
239
|
-
declare export function isExportDeclaration(
|
|
240
|
-
path: NodePath<>,
|
|
241
|
-
props?: object | null,
|
|
242
|
-
): path is NodePath<t.ExportDeclaration>;
|
|
243
|
-
declare export function isExportDefaultDeclaration(
|
|
244
|
-
path: NodePath<>,
|
|
245
|
-
props?: object | null,
|
|
246
|
-
): path is NodePath<t.ExportDefaultDeclaration>;
|
|
247
|
-
declare export function isExportDefaultSpecifier(
|
|
248
|
-
path: NodePath<>,
|
|
249
|
-
props?: object | null,
|
|
250
|
-
): path is NodePath<t.ExportDefaultSpecifier>;
|
|
251
|
-
declare export function isExportNamedDeclaration(
|
|
252
|
-
path: NodePath<>,
|
|
253
|
-
props?: object | null,
|
|
254
|
-
): path is NodePath<t.ExportNamedDeclaration>;
|
|
255
|
-
declare export function isExportNamespaceSpecifier(
|
|
256
|
-
path: NodePath<>,
|
|
257
|
-
props?: object | null,
|
|
258
|
-
): path is NodePath<t.ExportNamespaceSpecifier>;
|
|
259
|
-
declare export function isExportSpecifier(
|
|
260
|
-
path: NodePath<>,
|
|
261
|
-
props?: object | null,
|
|
262
|
-
): path is NodePath<t.ExportSpecifier>;
|
|
263
|
-
declare export function isExpression(
|
|
264
|
-
path: NodePath<>,
|
|
265
|
-
props?: object | null,
|
|
266
|
-
): path is NodePath<t.Expression>;
|
|
267
|
-
declare export function isExpressionStatement(
|
|
268
|
-
path: NodePath<>,
|
|
269
|
-
props?: object | null,
|
|
270
|
-
): path is NodePath<t.ExpressionStatement>;
|
|
271
|
-
declare export function isExpressionWrapper(
|
|
272
|
-
path: NodePath<>,
|
|
273
|
-
props?: object | null,
|
|
274
|
-
): path is NodePath<t.ExpressionWrapper>;
|
|
275
|
-
declare export function isFile(
|
|
276
|
-
path: NodePath<>,
|
|
277
|
-
props?: object | null,
|
|
278
|
-
): path is NodePath<t.File>;
|
|
279
|
-
declare export function isFlow(
|
|
280
|
-
path: NodePath<>,
|
|
281
|
-
props?: object | null,
|
|
282
|
-
): path is NodePath<t.Flow>;
|
|
283
|
-
declare export function isFlowBaseAnnotation(
|
|
284
|
-
path: NodePath<>,
|
|
285
|
-
props?: object | null,
|
|
286
|
-
): path is NodePath<t.FlowBaseAnnotation>;
|
|
287
|
-
declare export function isFlowDeclaration(
|
|
288
|
-
path: NodePath<>,
|
|
289
|
-
props?: object | null,
|
|
290
|
-
): path is NodePath<t.FlowDeclaration>;
|
|
291
|
-
declare export function isFlowPredicate(
|
|
292
|
-
path: NodePath<>,
|
|
293
|
-
props?: object | null,
|
|
294
|
-
): path is NodePath<t.FlowPredicate>;
|
|
295
|
-
declare export function isFlowType(
|
|
296
|
-
path: NodePath<>,
|
|
297
|
-
props?: object | null,
|
|
298
|
-
): path is NodePath<t.FlowType>;
|
|
299
|
-
declare export function isFor(
|
|
300
|
-
path: NodePath<>,
|
|
301
|
-
props?: object | null,
|
|
302
|
-
): path is NodePath<t.For>;
|
|
303
|
-
declare export function isForInStatement(
|
|
304
|
-
path: NodePath<>,
|
|
305
|
-
props?: object | null,
|
|
306
|
-
): path is NodePath<t.ForInStatement>;
|
|
307
|
-
declare export function isForOfStatement(
|
|
308
|
-
path: NodePath<>,
|
|
309
|
-
props?: object | null,
|
|
310
|
-
): path is NodePath<t.ForOfStatement>;
|
|
311
|
-
declare export function isForStatement(
|
|
312
|
-
path: NodePath<>,
|
|
313
|
-
props?: object | null,
|
|
314
|
-
): path is NodePath<t.ForStatement>;
|
|
315
|
-
declare export function isForXStatement(
|
|
316
|
-
path: NodePath<>,
|
|
317
|
-
props?: object | null,
|
|
318
|
-
): path is NodePath<t.ForXStatement>;
|
|
319
|
-
declare export function isFunction(
|
|
320
|
-
path: NodePath<>,
|
|
321
|
-
props?: object | null,
|
|
322
|
-
): path is NodePath<t.Function>;
|
|
323
|
-
declare export function isFunctionDeclaration(
|
|
324
|
-
path: NodePath<>,
|
|
325
|
-
props?: object | null,
|
|
326
|
-
): path is NodePath<t.FunctionDeclaration>;
|
|
327
|
-
declare export function isFunctionExpression(
|
|
328
|
-
path: NodePath<>,
|
|
329
|
-
props?: object | null,
|
|
330
|
-
): path is NodePath<t.FunctionExpression>;
|
|
331
|
-
declare export function isFunctionParent(
|
|
332
|
-
path: NodePath<>,
|
|
333
|
-
props?: object | null,
|
|
334
|
-
): path is NodePath<t.FunctionParent>;
|
|
335
|
-
declare export function isFunctionTypeAnnotation(
|
|
336
|
-
path: NodePath<>,
|
|
337
|
-
props?: object | null,
|
|
338
|
-
): path is NodePath<t.FunctionTypeAnnotation>;
|
|
339
|
-
declare export function isFunctionTypeParam(
|
|
340
|
-
path: NodePath<>,
|
|
341
|
-
props?: object | null,
|
|
342
|
-
): path is NodePath<t.FunctionTypeParam>;
|
|
343
|
-
declare export function isGenericTypeAnnotation(
|
|
344
|
-
path: NodePath<>,
|
|
345
|
-
props?: object | null,
|
|
346
|
-
): path is NodePath<t.GenericTypeAnnotation>;
|
|
347
|
-
declare export function isIdentifier(
|
|
348
|
-
path: NodePath<>,
|
|
349
|
-
props?: object | null,
|
|
350
|
-
): path is NodePath<t.Identifier>;
|
|
351
|
-
declare export function isIfStatement(
|
|
352
|
-
path: NodePath<>,
|
|
353
|
-
props?: object | null,
|
|
354
|
-
): path is NodePath<t.IfStatement>;
|
|
355
|
-
declare export function isImmutable(
|
|
356
|
-
path: NodePath<>,
|
|
357
|
-
props?: object | null,
|
|
358
|
-
): path is NodePath<t.Immutable>;
|
|
359
|
-
declare export function isImport(
|
|
360
|
-
path: NodePath<>,
|
|
361
|
-
props?: object | null,
|
|
362
|
-
): path is NodePath<t.Import>;
|
|
363
|
-
declare export function isImportDeclaration(
|
|
364
|
-
path: NodePath<>,
|
|
365
|
-
props?: object | null,
|
|
366
|
-
): path is NodePath<t.ImportDeclaration>;
|
|
367
|
-
declare export function isImportDefaultSpecifier(
|
|
368
|
-
path: NodePath<>,
|
|
369
|
-
props?: object | null,
|
|
370
|
-
): path is NodePath<t.ImportDefaultSpecifier>;
|
|
371
|
-
declare export function isImportNamespaceSpecifier(
|
|
372
|
-
path: NodePath<>,
|
|
373
|
-
props?: object | null,
|
|
374
|
-
): path is NodePath<t.ImportNamespaceSpecifier>;
|
|
375
|
-
declare export function isImportSpecifier(
|
|
376
|
-
path: NodePath<>,
|
|
377
|
-
props?: object | null,
|
|
378
|
-
): path is NodePath<t.ImportSpecifier>;
|
|
379
|
-
declare export function isInferredPredicate(
|
|
380
|
-
path: NodePath<>,
|
|
381
|
-
props?: object | null,
|
|
382
|
-
): path is NodePath<t.InferredPredicate>;
|
|
383
|
-
declare export function isInterfaceDeclaration(
|
|
384
|
-
path: NodePath<>,
|
|
385
|
-
props?: object | null,
|
|
386
|
-
): path is NodePath<t.InterfaceDeclaration>;
|
|
387
|
-
declare export function isInterfaceExtends(
|
|
388
|
-
path: NodePath<>,
|
|
389
|
-
props?: object | null,
|
|
390
|
-
): path is NodePath<t.InterfaceExtends>;
|
|
391
|
-
declare export function isInterfaceTypeAnnotation(
|
|
392
|
-
path: NodePath<>,
|
|
393
|
-
props?: object | null,
|
|
394
|
-
): path is NodePath<t.InterfaceTypeAnnotation>;
|
|
395
|
-
declare export function isInterpreterDirective(
|
|
396
|
-
path: NodePath<>,
|
|
397
|
-
props?: object | null,
|
|
398
|
-
): path is NodePath<t.InterpreterDirective>;
|
|
399
|
-
declare export function isIntersectionTypeAnnotation(
|
|
400
|
-
path: NodePath<>,
|
|
401
|
-
props?: object | null,
|
|
402
|
-
): path is NodePath<t.IntersectionTypeAnnotation>;
|
|
403
|
-
declare export function isJSX(
|
|
404
|
-
path: NodePath<>,
|
|
405
|
-
props?: object | null,
|
|
406
|
-
): path is NodePath<t.JSX>;
|
|
407
|
-
declare export function isJSXAttribute(
|
|
408
|
-
path: NodePath<>,
|
|
409
|
-
props?: object | null,
|
|
410
|
-
): path is NodePath<t.JSXAttribute>;
|
|
411
|
-
declare export function isJSXClosingElement(
|
|
412
|
-
path: NodePath<>,
|
|
413
|
-
props?: object | null,
|
|
414
|
-
): path is NodePath<t.JSXClosingElement>;
|
|
415
|
-
declare export function isJSXClosingFragment(
|
|
416
|
-
path: NodePath<>,
|
|
417
|
-
props?: object | null,
|
|
418
|
-
): path is NodePath<t.JSXClosingFragment>;
|
|
419
|
-
declare export function isJSXElement(
|
|
420
|
-
path: NodePath<>,
|
|
421
|
-
props?: object | null,
|
|
422
|
-
): path is NodePath<t.JSXElement>;
|
|
423
|
-
declare export function isJSXEmptyExpression(
|
|
424
|
-
path: NodePath<>,
|
|
425
|
-
props?: object | null,
|
|
426
|
-
): path is NodePath<t.JSXEmptyExpression>;
|
|
427
|
-
declare export function isJSXExpressionContainer(
|
|
428
|
-
path: NodePath<>,
|
|
429
|
-
props?: object | null,
|
|
430
|
-
): path is NodePath<t.JSXExpressionContainer>;
|
|
431
|
-
declare export function isJSXFragment(
|
|
432
|
-
path: NodePath<>,
|
|
433
|
-
props?: object | null,
|
|
434
|
-
): path is NodePath<t.JSXFragment>;
|
|
435
|
-
declare export function isJSXIdentifier(
|
|
436
|
-
path: NodePath<>,
|
|
437
|
-
props?: object | null,
|
|
438
|
-
): path is NodePath<t.JSXIdentifier>;
|
|
439
|
-
declare export function isJSXMemberExpression(
|
|
440
|
-
path: NodePath<>,
|
|
441
|
-
props?: object | null,
|
|
442
|
-
): path is NodePath<t.JSXMemberExpression>;
|
|
443
|
-
declare export function isJSXNamespacedName(
|
|
444
|
-
path: NodePath<>,
|
|
445
|
-
props?: object | null,
|
|
446
|
-
): path is NodePath<t.JSXNamespacedName>;
|
|
447
|
-
declare export function isJSXOpeningElement(
|
|
448
|
-
path: NodePath<>,
|
|
449
|
-
props?: object | null,
|
|
450
|
-
): path is NodePath<t.JSXOpeningElement>;
|
|
451
|
-
declare export function isJSXOpeningFragment(
|
|
452
|
-
path: NodePath<>,
|
|
453
|
-
props?: object | null,
|
|
454
|
-
): path is NodePath<t.JSXOpeningFragment>;
|
|
455
|
-
declare export function isJSXSpreadAttribute(
|
|
456
|
-
path: NodePath<>,
|
|
457
|
-
props?: object | null,
|
|
458
|
-
): path is NodePath<t.JSXSpreadAttribute>;
|
|
459
|
-
declare export function isJSXSpreadChild(
|
|
460
|
-
path: NodePath<>,
|
|
461
|
-
props?: object | null,
|
|
462
|
-
): path is NodePath<t.JSXSpreadChild>;
|
|
463
|
-
declare export function isJSXText(
|
|
464
|
-
path: NodePath<>,
|
|
465
|
-
props?: object | null,
|
|
466
|
-
): path is NodePath<t.JSXText>;
|
|
467
|
-
declare export function isLVal(
|
|
468
|
-
path: NodePath<>,
|
|
469
|
-
props?: object | null,
|
|
470
|
-
): path is NodePath<t.LVal>;
|
|
471
|
-
declare export function isLabeledStatement(
|
|
472
|
-
path: NodePath<>,
|
|
473
|
-
props?: object | null,
|
|
474
|
-
): path is NodePath<t.LabeledStatement>;
|
|
475
|
-
declare export function isLiteral(
|
|
476
|
-
path: NodePath<>,
|
|
477
|
-
props?: object | null,
|
|
478
|
-
): path is NodePath<t.Literal>;
|
|
479
|
-
declare export function isLogicalExpression(
|
|
480
|
-
path: NodePath<>,
|
|
481
|
-
props?: object | null,
|
|
482
|
-
): path is NodePath<t.LogicalExpression>;
|
|
483
|
-
declare export function isLoop(
|
|
484
|
-
path: NodePath<>,
|
|
485
|
-
props?: object | null,
|
|
486
|
-
): path is NodePath<t.Loop>;
|
|
487
|
-
declare export function isMemberExpression(
|
|
488
|
-
path: NodePath<>,
|
|
489
|
-
props?: object | null,
|
|
490
|
-
): path is NodePath<t.MemberExpression>;
|
|
491
|
-
declare export function isMetaProperty(
|
|
492
|
-
path: NodePath<>,
|
|
493
|
-
props?: object | null,
|
|
494
|
-
): path is NodePath<t.MetaProperty>;
|
|
495
|
-
declare export function isMethod(
|
|
496
|
-
path: NodePath<>,
|
|
497
|
-
props?: object | null,
|
|
498
|
-
): path is NodePath<t.Method>;
|
|
499
|
-
declare export function isMixedTypeAnnotation(
|
|
500
|
-
path: NodePath<>,
|
|
501
|
-
props?: object | null,
|
|
502
|
-
): path is NodePath<t.MixedTypeAnnotation>;
|
|
503
|
-
declare export function isModuleDeclaration(
|
|
504
|
-
path: NodePath<>,
|
|
505
|
-
props?: object | null,
|
|
506
|
-
): path is NodePath<t.ModuleDeclaration>;
|
|
507
|
-
declare export function isModuleSpecifier(
|
|
508
|
-
path: NodePath<>,
|
|
509
|
-
props?: object | null,
|
|
510
|
-
): path is NodePath<t.ModuleSpecifier>;
|
|
511
|
-
declare export function isNewExpression(
|
|
512
|
-
path: NodePath<>,
|
|
513
|
-
props?: object | null,
|
|
514
|
-
): path is NodePath<t.NewExpression>;
|
|
515
|
-
declare export function isNoop(
|
|
516
|
-
path: NodePath<>,
|
|
517
|
-
props?: object | null,
|
|
518
|
-
): path is NodePath<t.Noop>;
|
|
519
|
-
declare export function isNullLiteral(
|
|
520
|
-
path: NodePath<>,
|
|
521
|
-
props?: object | null,
|
|
522
|
-
): path is NodePath<t.NullLiteral>;
|
|
523
|
-
declare export function isNullLiteralTypeAnnotation(
|
|
524
|
-
path: NodePath<>,
|
|
525
|
-
props?: object | null,
|
|
526
|
-
): path is NodePath<t.NullLiteralTypeAnnotation>;
|
|
527
|
-
declare export function isNullableTypeAnnotation(
|
|
528
|
-
path: NodePath<>,
|
|
529
|
-
props?: object | null,
|
|
530
|
-
): path is NodePath<t.NullableTypeAnnotation>;
|
|
531
|
-
declare export function isNumberLiteralTypeAnnotation(
|
|
532
|
-
path: NodePath<>,
|
|
533
|
-
props?: object | null,
|
|
534
|
-
): path is NodePath<t.NumberLiteralTypeAnnotation>;
|
|
535
|
-
declare export function isNumberTypeAnnotation(
|
|
536
|
-
path: NodePath<>,
|
|
537
|
-
props?: object | null,
|
|
538
|
-
): path is NodePath<t.NumberTypeAnnotation>;
|
|
539
|
-
declare export function isNumericLiteral(
|
|
540
|
-
path: NodePath<>,
|
|
541
|
-
props?: object | null,
|
|
542
|
-
): path is NodePath<t.NumericLiteral>;
|
|
543
|
-
declare export function isObjectExpression(
|
|
544
|
-
path: NodePath<>,
|
|
545
|
-
props?: object | null,
|
|
546
|
-
): path is NodePath<t.ObjectExpression>;
|
|
547
|
-
declare export function isObjectMember(
|
|
548
|
-
path: NodePath<>,
|
|
549
|
-
props?: object | null,
|
|
550
|
-
): path is NodePath<t.ObjectMember>;
|
|
551
|
-
declare export function isObjectMethod(
|
|
552
|
-
path: NodePath<>,
|
|
553
|
-
props?: object | null,
|
|
554
|
-
): path is NodePath<t.ObjectMethod>;
|
|
555
|
-
declare export function isObjectPattern(
|
|
556
|
-
path: NodePath<>,
|
|
557
|
-
props?: object | null,
|
|
558
|
-
): path is NodePath<t.ObjectPattern>;
|
|
559
|
-
declare export function isObjectProperty(
|
|
560
|
-
path: NodePath<>,
|
|
561
|
-
props?: object | null,
|
|
562
|
-
): path is NodePath<t.ObjectProperty>;
|
|
563
|
-
declare export function isObjectTypeAnnotation(
|
|
564
|
-
path: NodePath<>,
|
|
565
|
-
props?: object | null,
|
|
566
|
-
): path is NodePath<t.ObjectTypeAnnotation>;
|
|
567
|
-
declare export function isObjectTypeCallProperty(
|
|
568
|
-
path: NodePath<>,
|
|
569
|
-
props?: object | null,
|
|
570
|
-
): path is NodePath<t.ObjectTypeCallProperty>;
|
|
571
|
-
declare export function isObjectTypeIndexer(
|
|
572
|
-
path: NodePath<>,
|
|
573
|
-
props?: object | null,
|
|
574
|
-
): path is NodePath<t.ObjectTypeIndexer>;
|
|
575
|
-
declare export function isObjectTypeInternalSlot(
|
|
576
|
-
path: NodePath<>,
|
|
577
|
-
props?: object | null,
|
|
578
|
-
): path is NodePath<t.ObjectTypeInternalSlot>;
|
|
579
|
-
declare export function isObjectTypeProperty(
|
|
580
|
-
path: NodePath<>,
|
|
581
|
-
props?: object | null,
|
|
582
|
-
): path is NodePath<t.ObjectTypeProperty>;
|
|
583
|
-
declare export function isObjectTypeSpreadProperty(
|
|
584
|
-
path: NodePath<>,
|
|
585
|
-
props?: object | null,
|
|
586
|
-
): path is NodePath<t.ObjectTypeSpreadProperty>;
|
|
587
|
-
declare export function isOpaqueType(
|
|
588
|
-
path: NodePath<>,
|
|
589
|
-
props?: object | null,
|
|
590
|
-
): path is NodePath<t.OpaqueType>;
|
|
591
|
-
declare export function isOptionalCallExpression(
|
|
592
|
-
path: NodePath<>,
|
|
593
|
-
props?: object | null,
|
|
594
|
-
): path is NodePath<t.OptionalCallExpression>;
|
|
595
|
-
declare export function isOptionalMemberExpression(
|
|
596
|
-
path: NodePath<>,
|
|
597
|
-
props?: object | null,
|
|
598
|
-
): path is NodePath<t.OptionalMemberExpression>;
|
|
599
|
-
declare export function isParenthesizedExpression(
|
|
600
|
-
path: NodePath<>,
|
|
601
|
-
props?: object | null,
|
|
602
|
-
): path is NodePath<t.ParenthesizedExpression>;
|
|
603
|
-
declare export function isPattern(
|
|
604
|
-
path: NodePath<>,
|
|
605
|
-
props?: object | null,
|
|
606
|
-
): path is NodePath<t.Pattern>;
|
|
607
|
-
declare export function isPatternLike(
|
|
608
|
-
path: NodePath<>,
|
|
609
|
-
props?: object | null,
|
|
610
|
-
): path is NodePath<t.PatternLike>;
|
|
611
|
-
declare export function isPipelineBareFunction(
|
|
612
|
-
path: NodePath<>,
|
|
613
|
-
props?: object | null,
|
|
614
|
-
): path is NodePath<t.PipelineBareFunction>;
|
|
615
|
-
declare export function isPipelinePrimaryTopicReference(
|
|
616
|
-
path: NodePath<>,
|
|
617
|
-
props?: object | null,
|
|
618
|
-
): path is NodePath<t.PipelinePrimaryTopicReference>;
|
|
619
|
-
declare export function isPipelineTopicExpression(
|
|
620
|
-
path: NodePath<>,
|
|
621
|
-
props?: object | null,
|
|
622
|
-
): path is NodePath<t.PipelineTopicExpression>;
|
|
623
|
-
declare export function isPrivate(
|
|
624
|
-
path: NodePath<>,
|
|
625
|
-
props?: object | null,
|
|
626
|
-
): path is NodePath<t.Private>;
|
|
627
|
-
declare export function isPrivateName(
|
|
628
|
-
path: NodePath<>,
|
|
629
|
-
props?: object | null,
|
|
630
|
-
): path is NodePath<t.PrivateName>;
|
|
631
|
-
declare export function isProgram(
|
|
632
|
-
path: NodePath<>,
|
|
633
|
-
props?: object | null,
|
|
634
|
-
): path is NodePath<t.Program>;
|
|
635
|
-
declare export function isProperty(
|
|
636
|
-
path: NodePath<>,
|
|
637
|
-
props?: object | null,
|
|
638
|
-
): path is NodePath<t.Property>;
|
|
639
|
-
declare export function isPureish(
|
|
640
|
-
path: NodePath<>,
|
|
641
|
-
props?: object | null,
|
|
642
|
-
): path is NodePath<t.Pureish>;
|
|
643
|
-
declare export function isQualifiedTypeIdentifier(
|
|
644
|
-
path: NodePath<>,
|
|
645
|
-
props?: object | null,
|
|
646
|
-
): path is NodePath<t.QualifiedTypeIdentifier>;
|
|
647
|
-
declare export function isRegExpLiteral(
|
|
648
|
-
path: NodePath<>,
|
|
649
|
-
props?: object | null,
|
|
650
|
-
): path is NodePath<t.RegExpLiteral>;
|
|
651
|
-
declare export function isRestElement(
|
|
652
|
-
path: NodePath<>,
|
|
653
|
-
props?: object | null,
|
|
654
|
-
): path is NodePath<t.RestElement>;
|
|
655
|
-
declare export function isReturnStatement(
|
|
656
|
-
path: NodePath<>,
|
|
657
|
-
props?: object | null,
|
|
658
|
-
): path is NodePath<t.ReturnStatement>;
|
|
659
|
-
declare export function isScopable(
|
|
660
|
-
path: NodePath<>,
|
|
661
|
-
props?: object | null,
|
|
662
|
-
): path is NodePath<t.Scopable>;
|
|
663
|
-
declare export function isSequenceExpression(
|
|
664
|
-
path: NodePath<>,
|
|
665
|
-
props?: object | null,
|
|
666
|
-
): path is NodePath<t.SequenceExpression>;
|
|
667
|
-
declare export function isSpreadElement(
|
|
668
|
-
path: NodePath<>,
|
|
669
|
-
props?: object | null,
|
|
670
|
-
): path is NodePath<t.SpreadElement>;
|
|
671
|
-
declare export function isStatement(
|
|
672
|
-
path: NodePath<>,
|
|
673
|
-
props?: object | null,
|
|
674
|
-
): path is NodePath<t.Statement>;
|
|
675
|
-
declare export function isStringLiteral(
|
|
676
|
-
path: NodePath<>,
|
|
677
|
-
props?: object | null,
|
|
678
|
-
): path is NodePath<t.StringLiteral>;
|
|
679
|
-
declare export function isStringLiteralTypeAnnotation(
|
|
680
|
-
path: NodePath<>,
|
|
681
|
-
props?: object | null,
|
|
682
|
-
): path is NodePath<t.StringLiteralTypeAnnotation>;
|
|
683
|
-
declare export function isStringTypeAnnotation(
|
|
684
|
-
path: NodePath<>,
|
|
685
|
-
props?: object | null,
|
|
686
|
-
): path is NodePath<t.StringTypeAnnotation>;
|
|
687
|
-
declare export function isSuper(
|
|
688
|
-
path: NodePath<>,
|
|
689
|
-
props?: object | null,
|
|
690
|
-
): path is NodePath<t.Super>;
|
|
691
|
-
declare export function isSwitchCase(
|
|
692
|
-
path: NodePath<>,
|
|
693
|
-
props?: object | null,
|
|
694
|
-
): path is NodePath<t.SwitchCase>;
|
|
695
|
-
declare export function isSwitchStatement(
|
|
696
|
-
path: NodePath<>,
|
|
697
|
-
props?: object | null,
|
|
698
|
-
): path is NodePath<t.SwitchStatement>;
|
|
699
|
-
declare export function isTSAnyKeyword(
|
|
700
|
-
path: NodePath<>,
|
|
701
|
-
props?: object | null,
|
|
702
|
-
): path is NodePath<t.TSAnyKeyword>;
|
|
703
|
-
declare export function isTSArrayType(
|
|
704
|
-
path: NodePath<>,
|
|
705
|
-
props?: object | null,
|
|
706
|
-
): path is NodePath<t.TSArrayType>;
|
|
707
|
-
declare export function isTSAsExpression(
|
|
708
|
-
path: NodePath<>,
|
|
709
|
-
props?: object | null,
|
|
710
|
-
): path is NodePath<t.TSAsExpression>;
|
|
711
|
-
declare export function isTSBooleanKeyword(
|
|
712
|
-
path: NodePath<>,
|
|
713
|
-
props?: object | null,
|
|
714
|
-
): path is NodePath<t.TSBooleanKeyword>;
|
|
715
|
-
declare export function isTSCallSignatureDeclaration(
|
|
716
|
-
path: NodePath<>,
|
|
717
|
-
props?: object | null,
|
|
718
|
-
): path is NodePath<t.TSCallSignatureDeclaration>;
|
|
719
|
-
declare export function isTSConditionalType(
|
|
720
|
-
path: NodePath<>,
|
|
721
|
-
props?: object | null,
|
|
722
|
-
): path is NodePath<t.TSConditionalType>;
|
|
723
|
-
declare export function isTSConstructSignatureDeclaration(
|
|
724
|
-
path: NodePath<>,
|
|
725
|
-
props?: object | null,
|
|
726
|
-
): path is NodePath<t.TSConstructSignatureDeclaration>;
|
|
727
|
-
declare export function isTSConstructorType(
|
|
728
|
-
path: NodePath<>,
|
|
729
|
-
props?: object | null,
|
|
730
|
-
): path is NodePath<t.TSConstructorType>;
|
|
731
|
-
declare export function isTSDeclareFunction(
|
|
732
|
-
path: NodePath<>,
|
|
733
|
-
props?: object | null,
|
|
734
|
-
): path is NodePath<t.TSDeclareFunction>;
|
|
735
|
-
declare export function isTSDeclareMethod(
|
|
736
|
-
path: NodePath<>,
|
|
737
|
-
props?: object | null,
|
|
738
|
-
): path is NodePath<t.TSDeclareMethod>;
|
|
739
|
-
declare export function isTSEntityName(
|
|
740
|
-
path: NodePath<>,
|
|
741
|
-
props?: object | null,
|
|
742
|
-
): path is NodePath<t.TSEntityName>;
|
|
743
|
-
declare export function isTSEnumDeclaration(
|
|
744
|
-
path: NodePath<>,
|
|
745
|
-
props?: object | null,
|
|
746
|
-
): path is NodePath<t.TSEnumDeclaration>;
|
|
747
|
-
declare export function isTSEnumMember(
|
|
748
|
-
path: NodePath<>,
|
|
749
|
-
props?: object | null,
|
|
750
|
-
): path is NodePath<t.TSEnumMember>;
|
|
751
|
-
declare export function isTSExportAssignment(
|
|
752
|
-
path: NodePath<>,
|
|
753
|
-
props?: object | null,
|
|
754
|
-
): path is NodePath<t.TSExportAssignment>;
|
|
755
|
-
declare export function isTSExpressionWithTypeArguments(
|
|
756
|
-
path: NodePath<>,
|
|
757
|
-
props?: object | null,
|
|
758
|
-
): path is NodePath<t.TSExpressionWithTypeArguments>;
|
|
759
|
-
declare export function isTSExternalModuleReference(
|
|
760
|
-
path: NodePath<>,
|
|
761
|
-
props?: object | null,
|
|
762
|
-
): path is NodePath<t.TSExternalModuleReference>;
|
|
763
|
-
declare export function isTSFunctionType(
|
|
764
|
-
path: NodePath<>,
|
|
765
|
-
props?: object | null,
|
|
766
|
-
): path is NodePath<t.TSFunctionType>;
|
|
767
|
-
declare export function isTSImportEqualsDeclaration(
|
|
768
|
-
path: NodePath<>,
|
|
769
|
-
props?: object | null,
|
|
770
|
-
): path is NodePath<t.TSImportEqualsDeclaration>;
|
|
771
|
-
declare export function isTSImportType(
|
|
772
|
-
path: NodePath<>,
|
|
773
|
-
props?: object | null,
|
|
774
|
-
): path is NodePath<t.TSImportType>;
|
|
775
|
-
declare export function isTSIndexSignature(
|
|
776
|
-
path: NodePath<>,
|
|
777
|
-
props?: object | null,
|
|
778
|
-
): path is NodePath<t.TSIndexSignature>;
|
|
779
|
-
declare export function isTSIndexedAccessType(
|
|
780
|
-
path: NodePath<>,
|
|
781
|
-
props?: object | null,
|
|
782
|
-
): path is NodePath<t.TSIndexedAccessType>;
|
|
783
|
-
declare export function isTSInferType(
|
|
784
|
-
path: NodePath<>,
|
|
785
|
-
props?: object | null,
|
|
786
|
-
): path is NodePath<t.TSInferType>;
|
|
787
|
-
declare export function isTSInterfaceBody(
|
|
788
|
-
path: NodePath<>,
|
|
789
|
-
props?: object | null,
|
|
790
|
-
): path is NodePath<t.TSInterfaceBody>;
|
|
791
|
-
declare export function isTSInterfaceDeclaration(
|
|
792
|
-
path: NodePath<>,
|
|
793
|
-
props?: object | null,
|
|
794
|
-
): path is NodePath<t.TSInterfaceDeclaration>;
|
|
795
|
-
declare export function isTSIntersectionType(
|
|
796
|
-
path: NodePath<>,
|
|
797
|
-
props?: object | null,
|
|
798
|
-
): path is NodePath<t.TSIntersectionType>;
|
|
799
|
-
declare export function isTSLiteralType(
|
|
800
|
-
path: NodePath<>,
|
|
801
|
-
props?: object | null,
|
|
802
|
-
): path is NodePath<t.TSLiteralType>;
|
|
803
|
-
declare export function isTSMappedType(
|
|
804
|
-
path: NodePath<>,
|
|
805
|
-
props?: object | null,
|
|
806
|
-
): path is NodePath<t.TSMappedType>;
|
|
807
|
-
declare export function isTSMethodSignature(
|
|
808
|
-
path: NodePath<>,
|
|
809
|
-
props?: object | null,
|
|
810
|
-
): path is NodePath<t.TSMethodSignature>;
|
|
811
|
-
declare export function isTSModuleBlock(
|
|
812
|
-
path: NodePath<>,
|
|
813
|
-
props?: object | null,
|
|
814
|
-
): path is NodePath<t.TSModuleBlock>;
|
|
815
|
-
declare export function isTSModuleDeclaration(
|
|
816
|
-
path: NodePath<>,
|
|
817
|
-
props?: object | null,
|
|
818
|
-
): path is NodePath<t.TSModuleDeclaration>;
|
|
819
|
-
declare export function isTSNamespaceExportDeclaration(
|
|
820
|
-
path: NodePath<>,
|
|
821
|
-
props?: object | null,
|
|
822
|
-
): path is NodePath<t.TSNamespaceExportDeclaration>;
|
|
823
|
-
declare export function isTSNeverKeyword(
|
|
824
|
-
path: NodePath<>,
|
|
825
|
-
props?: object | null,
|
|
826
|
-
): path is NodePath<t.TSNeverKeyword>;
|
|
827
|
-
declare export function isTSNonNullExpression(
|
|
828
|
-
path: NodePath<>,
|
|
829
|
-
props?: object | null,
|
|
830
|
-
): path is NodePath<t.TSNonNullExpression>;
|
|
831
|
-
declare export function isTSNullKeyword(
|
|
832
|
-
path: NodePath<>,
|
|
833
|
-
props?: object | null,
|
|
834
|
-
): path is NodePath<t.TSNullKeyword>;
|
|
835
|
-
declare export function isTSNumberKeyword(
|
|
836
|
-
path: NodePath<>,
|
|
837
|
-
props?: object | null,
|
|
838
|
-
): path is NodePath<t.TSNumberKeyword>;
|
|
839
|
-
declare export function isTSObjectKeyword(
|
|
840
|
-
path: NodePath<>,
|
|
841
|
-
props?: object | null,
|
|
842
|
-
): path is NodePath<t.TSObjectKeyword>;
|
|
843
|
-
declare export function isTSOptionalType(
|
|
844
|
-
path: NodePath<>,
|
|
845
|
-
props?: object | null,
|
|
846
|
-
): path is NodePath<t.TSOptionalType>;
|
|
847
|
-
declare export function isTSParameterProperty(
|
|
848
|
-
path: NodePath<>,
|
|
849
|
-
props?: object | null,
|
|
850
|
-
): path is NodePath<t.TSParameterProperty>;
|
|
851
|
-
declare export function isTSParenthesizedType(
|
|
852
|
-
path: NodePath<>,
|
|
853
|
-
props?: object | null,
|
|
854
|
-
): path is NodePath<t.TSParenthesizedType>;
|
|
855
|
-
declare export function isTSPropertySignature(
|
|
856
|
-
path: NodePath<>,
|
|
857
|
-
props?: object | null,
|
|
858
|
-
): path is NodePath<t.TSPropertySignature>;
|
|
859
|
-
declare export function isTSQualifiedName(
|
|
860
|
-
path: NodePath<>,
|
|
861
|
-
props?: object | null,
|
|
862
|
-
): path is NodePath<t.TSQualifiedName>;
|
|
863
|
-
declare export function isTSRestType(
|
|
864
|
-
path: NodePath<>,
|
|
865
|
-
props?: object | null,
|
|
866
|
-
): path is NodePath<t.TSRestType>;
|
|
867
|
-
declare export function isTSStringKeyword(
|
|
868
|
-
path: NodePath<>,
|
|
869
|
-
props?: object | null,
|
|
870
|
-
): path is NodePath<t.TSStringKeyword>;
|
|
871
|
-
declare export function isTSSymbolKeyword(
|
|
872
|
-
path: NodePath<>,
|
|
873
|
-
props?: object | null,
|
|
874
|
-
): path is NodePath<t.TSSymbolKeyword>;
|
|
875
|
-
declare export function isTSThisType(
|
|
876
|
-
path: NodePath<>,
|
|
877
|
-
props?: object | null,
|
|
878
|
-
): path is NodePath<t.TSThisType>;
|
|
879
|
-
declare export function isTSTupleType(
|
|
880
|
-
path: NodePath<>,
|
|
881
|
-
props?: object | null,
|
|
882
|
-
): path is NodePath<t.TSTupleType>;
|
|
883
|
-
declare export function isTSType(
|
|
884
|
-
path: NodePath<>,
|
|
885
|
-
props?: object | null,
|
|
886
|
-
): path is NodePath<t.TSType>;
|
|
887
|
-
declare export function isTSTypeAliasDeclaration(
|
|
888
|
-
path: NodePath<>,
|
|
889
|
-
props?: object | null,
|
|
890
|
-
): path is NodePath<t.TSTypeAliasDeclaration>;
|
|
891
|
-
declare export function isTSTypeAnnotation(
|
|
892
|
-
path: NodePath<>,
|
|
893
|
-
props?: object | null,
|
|
894
|
-
): path is NodePath<t.TSTypeAnnotation>;
|
|
895
|
-
declare export function isTSTypeAssertion(
|
|
896
|
-
path: NodePath<>,
|
|
897
|
-
props?: object | null,
|
|
898
|
-
): path is NodePath<t.TSTypeAssertion>;
|
|
899
|
-
declare export function isTSTypeElement(
|
|
900
|
-
path: NodePath<>,
|
|
901
|
-
props?: object | null,
|
|
902
|
-
): path is NodePath<t.TSTypeElement>;
|
|
903
|
-
declare export function isTSTypeLiteral(
|
|
904
|
-
path: NodePath<>,
|
|
905
|
-
props?: object | null,
|
|
906
|
-
): path is NodePath<t.TSTypeLiteral>;
|
|
907
|
-
declare export function isTSTypeOperator(
|
|
908
|
-
path: NodePath<>,
|
|
909
|
-
props?: object | null,
|
|
910
|
-
): path is NodePath<t.TSTypeOperator>;
|
|
911
|
-
declare export function isTSTypeParameter(
|
|
912
|
-
path: NodePath<>,
|
|
913
|
-
props?: object | null,
|
|
914
|
-
): path is NodePath<t.TSTypeParameter>;
|
|
915
|
-
declare export function isTSTypeParameterDeclaration(
|
|
916
|
-
path: NodePath<>,
|
|
917
|
-
props?: object | null,
|
|
918
|
-
): path is NodePath<t.TSTypeParameterDeclaration>;
|
|
919
|
-
declare export function isTSTypeParameterInstantiation(
|
|
920
|
-
path: NodePath<>,
|
|
921
|
-
props?: object | null,
|
|
922
|
-
): path is NodePath<t.TSTypeParameterInstantiation>;
|
|
923
|
-
declare export function isTSTypePredicate(
|
|
924
|
-
path: NodePath<>,
|
|
925
|
-
props?: object | null,
|
|
926
|
-
): path is NodePath<t.TSTypePredicate>;
|
|
927
|
-
declare export function isTSTypeQuery(
|
|
928
|
-
path: NodePath<>,
|
|
929
|
-
props?: object | null,
|
|
930
|
-
): path is NodePath<t.TSTypeQuery>;
|
|
931
|
-
declare export function isTSTypeReference(
|
|
932
|
-
path: NodePath<>,
|
|
933
|
-
props?: object | null,
|
|
934
|
-
): path is NodePath<t.TSTypeReference>;
|
|
935
|
-
declare export function isTSUndefinedKeyword(
|
|
936
|
-
path: NodePath<>,
|
|
937
|
-
props?: object | null,
|
|
938
|
-
): path is NodePath<t.TSUndefinedKeyword>;
|
|
939
|
-
declare export function isTSUnionType(
|
|
940
|
-
path: NodePath<>,
|
|
941
|
-
props?: object | null,
|
|
942
|
-
): path is NodePath<t.TSUnionType>;
|
|
943
|
-
declare export function isTSUnknownKeyword(
|
|
944
|
-
path: NodePath<>,
|
|
945
|
-
props?: object | null,
|
|
946
|
-
): path is NodePath<t.TSUnknownKeyword>;
|
|
947
|
-
declare export function isTSVoidKeyword(
|
|
948
|
-
path: NodePath<>,
|
|
949
|
-
props?: object | null,
|
|
950
|
-
): path is NodePath<t.TSVoidKeyword>;
|
|
951
|
-
declare export function isTaggedTemplateExpression(
|
|
952
|
-
path: NodePath<>,
|
|
953
|
-
props?: object | null,
|
|
954
|
-
): path is NodePath<t.TaggedTemplateExpression>;
|
|
955
|
-
declare export function isTemplateElement(
|
|
956
|
-
path: NodePath<>,
|
|
957
|
-
props?: object | null,
|
|
958
|
-
): path is NodePath<t.TemplateElement>;
|
|
959
|
-
declare export function isTemplateLiteral(
|
|
960
|
-
path: NodePath<>,
|
|
961
|
-
props?: object | null,
|
|
962
|
-
): path is NodePath<t.TemplateLiteral>;
|
|
963
|
-
declare export function isTerminatorless(
|
|
964
|
-
path: NodePath<>,
|
|
965
|
-
props?: object | null,
|
|
966
|
-
): path is NodePath<t.Terminatorless>;
|
|
967
|
-
declare export function isThisExpression(
|
|
968
|
-
path: NodePath<>,
|
|
969
|
-
props?: object | null,
|
|
970
|
-
): path is NodePath<t.ThisExpression>;
|
|
971
|
-
declare export function isThisTypeAnnotation(
|
|
972
|
-
path: NodePath<>,
|
|
973
|
-
props?: object | null,
|
|
974
|
-
): path is NodePath<t.ThisTypeAnnotation>;
|
|
975
|
-
declare export function isThrowStatement(
|
|
976
|
-
path: NodePath<>,
|
|
977
|
-
props?: object | null,
|
|
978
|
-
): path is NodePath<t.ThrowStatement>;
|
|
979
|
-
declare export function isTryStatement(
|
|
980
|
-
path: NodePath<>,
|
|
981
|
-
props?: object | null,
|
|
982
|
-
): path is NodePath<t.TryStatement>;
|
|
983
|
-
declare export function isTupleTypeAnnotation(
|
|
984
|
-
path: NodePath<>,
|
|
985
|
-
props?: object | null,
|
|
986
|
-
): path is NodePath<t.TupleTypeAnnotation>;
|
|
987
|
-
declare export function isTypeAlias(
|
|
988
|
-
path: NodePath<>,
|
|
989
|
-
props?: object | null,
|
|
990
|
-
): path is NodePath<t.TypeAlias>;
|
|
991
|
-
declare export function isTypeAnnotation(
|
|
992
|
-
path: NodePath<>,
|
|
993
|
-
props?: object | null,
|
|
994
|
-
): path is NodePath<t.TypeAnnotation>;
|
|
995
|
-
declare export function isTypeCastExpression(
|
|
996
|
-
path: NodePath<>,
|
|
997
|
-
props?: object | null,
|
|
998
|
-
): path is NodePath<t.TypeCastExpression>;
|
|
999
|
-
declare export function isTypeParameter(
|
|
1000
|
-
path: NodePath<>,
|
|
1001
|
-
props?: object | null,
|
|
1002
|
-
): path is NodePath<t.TypeParameter>;
|
|
1003
|
-
declare export function isTypeParameterDeclaration(
|
|
1004
|
-
path: NodePath<>,
|
|
1005
|
-
props?: object | null,
|
|
1006
|
-
): path is NodePath<t.TypeParameterDeclaration>;
|
|
1007
|
-
declare export function isTypeParameterInstantiation(
|
|
1008
|
-
path: NodePath<>,
|
|
1009
|
-
props?: object | null,
|
|
1010
|
-
): path is NodePath<t.TypeParameterInstantiation>;
|
|
1011
|
-
declare export function isTypeofTypeAnnotation(
|
|
1012
|
-
path: NodePath<>,
|
|
1013
|
-
props?: object | null,
|
|
1014
|
-
): path is NodePath<t.TypeofTypeAnnotation>;
|
|
1015
|
-
declare export function isUnaryExpression(
|
|
1016
|
-
path: NodePath<>,
|
|
1017
|
-
props?: object | null,
|
|
1018
|
-
): path is NodePath<t.UnaryExpression>;
|
|
1019
|
-
declare export function isUnaryLike(
|
|
1020
|
-
path: NodePath<>,
|
|
1021
|
-
props?: object | null,
|
|
1022
|
-
): path is NodePath<t.UnaryLike>;
|
|
1023
|
-
declare export function isUnionTypeAnnotation(
|
|
1024
|
-
path: NodePath<>,
|
|
1025
|
-
props?: object | null,
|
|
1026
|
-
): path is NodePath<t.UnionTypeAnnotation>;
|
|
1027
|
-
declare export function isUpdateExpression(
|
|
1028
|
-
path: NodePath<>,
|
|
1029
|
-
props?: object | null,
|
|
1030
|
-
): path is NodePath<t.UpdateExpression>;
|
|
1031
|
-
declare export function isUserWhitespacable(
|
|
1032
|
-
path: NodePath<>,
|
|
1033
|
-
props?: object | null,
|
|
1034
|
-
): path is NodePath<t.UserWhitespacable>;
|
|
1035
|
-
declare export function isVariableDeclaration(
|
|
1036
|
-
path: NodePath<>,
|
|
1037
|
-
props?: object | null,
|
|
1038
|
-
): path is NodePath<t.VariableDeclaration>;
|
|
1039
|
-
declare export function isVariableDeclarator(
|
|
1040
|
-
path: NodePath<>,
|
|
1041
|
-
props?: object | null,
|
|
1042
|
-
): path is NodePath<t.VariableDeclarator>;
|
|
1043
|
-
declare export function isVariance(
|
|
1044
|
-
path: NodePath<>,
|
|
1045
|
-
props?: object | null,
|
|
1046
|
-
): path is NodePath<t.Variance>;
|
|
1047
|
-
declare export function isVoidTypeAnnotation(
|
|
1048
|
-
path: NodePath<>,
|
|
1049
|
-
props?: object | null,
|
|
1050
|
-
): path is NodePath<t.VoidTypeAnnotation>;
|
|
1051
|
-
declare export function isWhile(
|
|
1052
|
-
path: NodePath<>,
|
|
1053
|
-
props?: object | null,
|
|
1054
|
-
): path is NodePath<t.While>;
|
|
1055
|
-
declare export function isWhileStatement(
|
|
1056
|
-
path: NodePath<>,
|
|
1057
|
-
props?: object | null,
|
|
1058
|
-
): path is NodePath<t.WhileStatement>;
|
|
1059
|
-
declare export function isWithStatement(
|
|
1060
|
-
path: NodePath<>,
|
|
1061
|
-
props?: object | null,
|
|
1062
|
-
): path is NodePath<t.WithStatement>;
|
|
1063
|
-
declare export function isYieldExpression(
|
|
1064
|
-
path: NodePath<>,
|
|
1065
|
-
props?: object | null,
|
|
1066
|
-
): path is NodePath<t.YieldExpression>;
|
|
1067
|
-
declare export function isBindingIdentifier(
|
|
1068
|
-
path: NodePath<>,
|
|
1069
|
-
props?: object | null,
|
|
1070
|
-
): path is NodePath<t.Identifier>;
|
|
1071
|
-
declare export function isBlockScoped(
|
|
1072
|
-
path: NodePath<>,
|
|
1073
|
-
props?: object | null,
|
|
1074
|
-
): path is NodePath<
|
|
1075
|
-
t.FunctionDeclaration | t.ClassDeclaration | t.VariableDeclaration,
|
|
1076
|
-
>;
|
|
1077
|
-
declare export function isGenerated(
|
|
1078
|
-
path: NodePath<>,
|
|
1079
|
-
props?: object | null,
|
|
1080
|
-
): boolean;
|
|
1081
|
-
declare export function isPure(
|
|
1082
|
-
path: NodePath<>,
|
|
1083
|
-
props?: object | null,
|
|
1084
|
-
): boolean;
|
|
1085
|
-
declare export function isReferenced(
|
|
1086
|
-
path: NodePath<>,
|
|
1087
|
-
props?: object | null,
|
|
1088
|
-
): boolean;
|
|
1089
|
-
declare export function isReferencedIdentifier(
|
|
1090
|
-
path: NodePath<>,
|
|
1091
|
-
props?: object | null,
|
|
1092
|
-
): path is NodePath<t.Identifier | t.JSXIdentifier>;
|
|
1093
|
-
declare export function isReferencedMemberExpression(
|
|
1094
|
-
path: NodePath<>,
|
|
1095
|
-
props?: object | null,
|
|
1096
|
-
): path is NodePath<t.MemberExpression>;
|
|
1097
|
-
declare export function isScope(
|
|
1098
|
-
path: NodePath<>,
|
|
1099
|
-
props?: object | null,
|
|
1100
|
-
): path is NodePath<t.Scopable>;
|
|
1101
|
-
declare export function isUser(
|
|
1102
|
-
path: NodePath<>,
|
|
1103
|
-
props?: object | null,
|
|
1104
|
-
): boolean;
|
|
1105
|
-
declare export function isVar(
|
|
1106
|
-
path: NodePath<>,
|
|
1107
|
-
props?: object | null,
|
|
1108
|
-
): path is NodePath<t.VariableDeclaration>;
|