@workday/canvas-kit-docs 9.0.0-alpha.368-next.6 → 9.0.0-alpha.382-next.2

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.
Files changed (57) hide show
  1. package/dist/es6/docgen/createTraversals.js +41 -22
  2. package/dist/es6/docgen/docParser.js +285 -257
  3. package/dist/es6/docgen/getExternalSymbol.js +2 -2
  4. package/dist/es6/docgen/plugins/componentParser.js +28 -33
  5. package/dist/es6/docgen/plugins/enhancedComponentParser.js +211 -150
  6. package/dist/es6/docgen/plugins/modelParser.js +139 -79
  7. package/dist/es6/docgen/traversals.js +396 -397
  8. package/dist/es6/docgen/traverse.js +8 -9
  9. package/dist/es6/lib/DescriptionTooltip.js +1 -1
  10. package/dist/es6/lib/MDXElements.js +13 -39
  11. package/dist/es6/lib/MoreTooltip.js +21 -41
  12. package/dist/es6/lib/Specifications.js +30 -34
  13. package/dist/es6/lib/StylePropsTable.js +8 -9
  14. package/dist/es6/lib/Table.js +19 -30
  15. package/dist/es6/lib/Value.js +13 -17
  16. package/dist/es6/lib/docs.js +701 -397
  17. package/dist/es6/lib/widgetUtils.js +44 -76
  18. package/dist/es6/lib/widgets/array.js +1 -2
  19. package/dist/es6/lib/widgets/callExpression.js +4 -5
  20. package/dist/es6/lib/widgets/canvasColor.js +2 -2
  21. package/dist/es6/lib/widgets/component.js +1 -2
  22. package/dist/es6/lib/widgets/conditional.js +1 -2
  23. package/dist/es6/lib/widgets/enhancedComponent.js +19 -24
  24. package/dist/es6/lib/widgets/external.js +1 -4
  25. package/dist/es6/lib/widgets/function.js +5 -7
  26. package/dist/es6/lib/widgets/intersection.js +3 -4
  27. package/dist/es6/lib/widgets/model.js +4 -6
  28. package/dist/es6/lib/widgets/object.js +2 -3
  29. package/dist/es6/lib/widgets/parenthesis.js +1 -2
  30. package/dist/es6/lib/widgets/primitives.js +17 -39
  31. package/dist/es6/lib/widgets/qualifiedName.js +1 -2
  32. package/dist/es6/lib/widgets/symbol.js +1 -2
  33. package/dist/es6/lib/widgets/tuple.js +2 -3
  34. package/dist/es6/lib/widgets/typeParameter.js +1 -2
  35. package/dist/es6/lib/widgets/union.js +3 -4
  36. package/dist/es6/mdx/installBlock.js +6 -7
  37. package/dist/es6/mdx/style-props/examples/Background.js +5 -16
  38. package/dist/es6/mdx/style-props/examples/Border.js +5 -16
  39. package/dist/es6/mdx/style-props/examples/Color.js +5 -16
  40. package/dist/es6/mdx/style-props/examples/Depth.js +5 -16
  41. package/dist/es6/mdx/style-props/examples/Flex.js +11 -22
  42. package/dist/es6/mdx/style-props/examples/FlexItem.js +10 -21
  43. package/dist/es6/mdx/style-props/examples/Grid.js +6 -17
  44. package/dist/es6/mdx/style-props/examples/GridItem.js +6 -17
  45. package/dist/es6/mdx/style-props/examples/Layout.js +5 -16
  46. package/dist/es6/mdx/style-props/examples/Other.js +5 -16
  47. package/dist/es6/mdx/style-props/examples/Position.js +5 -16
  48. package/dist/es6/mdx/style-props/examples/Space.js +6 -17
  49. package/dist/es6/mdx/style-props/examples/Text.js +2 -2
  50. package/dist/es6/mdx/welcomePage.js +3 -3
  51. package/dist/mdx/9.0-UPGRADE-GUIDE.mdx +30 -3
  52. package/dist/mdx/preview-react/text-area/examples/Alert.tsx +1 -1
  53. package/dist/mdx/preview-react/text-input/examples/Alert.tsx +1 -1
  54. package/dist/mdx/preview-react/text-input/examples/ThemedAlert.tsx +5 -2
  55. package/dist/mdx/react/banner/examples/StickyAnimation.tsx +7 -5
  56. package/dist/mdx/react/common/examples/ResponsiveViewport.tsx +2 -3
  57. package/package.json +5 -5
@@ -1,597 +1,596 @@
1
- var _a;
2
1
  // This file is auto-generated from the createTraversals.ts file. Do not modify contents
3
2
  import ts from 'typescript';
4
- export var guards = {
5
- isNumericLiteral: function (node) {
3
+ export const guards = {
4
+ isNumericLiteral(node) {
6
5
  return node.kind === ts.SyntaxKind.NumericLiteral;
7
6
  },
8
- isBigIntLiteral: function (node) {
7
+ isBigIntLiteral(node) {
9
8
  return node.kind === ts.SyntaxKind.BigIntLiteral;
10
9
  },
11
- isStringLiteral: function (node) {
10
+ isStringLiteral(node) {
12
11
  return node.kind === ts.SyntaxKind.StringLiteral;
13
12
  },
14
- isJsxText: function (node) {
13
+ isJsxText(node) {
15
14
  return node.kind === ts.SyntaxKind.JsxText;
16
15
  },
17
- isRegularExpressionLiteral: function (node) {
16
+ isRegularExpressionLiteral(node) {
18
17
  return node.kind === ts.SyntaxKind.RegularExpressionLiteral;
19
18
  },
20
- isNoSubstitutionTemplateLiteral: function (node) {
19
+ isNoSubstitutionTemplateLiteral(node) {
21
20
  return node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral;
22
21
  },
23
- isTemplateHead: function (node) {
22
+ isTemplateHead(node) {
24
23
  return node.kind === ts.SyntaxKind.TemplateHead;
25
24
  },
26
- isTemplateMiddle: function (node) {
25
+ isTemplateMiddle(node) {
27
26
  return node.kind === ts.SyntaxKind.TemplateMiddle;
28
27
  },
29
- isTemplateTail: function (node) {
28
+ isTemplateTail(node) {
30
29
  return node.kind === ts.SyntaxKind.TemplateTail;
31
30
  },
32
- isIdentifier: function (node) {
31
+ isIdentifier(node) {
33
32
  return node.kind === ts.SyntaxKind.Identifier;
34
33
  },
35
- isPrivateIdentifier: function (node) {
34
+ isPrivateIdentifier(node) {
36
35
  return node.kind === ts.SyntaxKind.PrivateIdentifier;
37
36
  },
38
- isFalseKeyword: function (node) {
37
+ isFalseKeyword(node) {
39
38
  return node.kind === ts.SyntaxKind.FalseKeyword;
40
39
  },
41
- isImportKeyword: function (node) {
40
+ isImportKeyword(node) {
42
41
  return node.kind === ts.SyntaxKind.ImportKeyword;
43
42
  },
44
- isNullKeyword: function (node) {
43
+ isNullKeyword(node) {
45
44
  return node.kind === ts.SyntaxKind.NullKeyword;
46
45
  },
47
- isSuperKeyword: function (node) {
46
+ isSuperKeyword(node) {
48
47
  return node.kind === ts.SyntaxKind.SuperKeyword;
49
48
  },
50
- isThisKeyword: function (node) {
49
+ isThisKeyword(node) {
51
50
  return node.kind === ts.SyntaxKind.ThisKeyword;
52
51
  },
53
- isTrueKeyword: function (node) {
52
+ isTrueKeyword(node) {
54
53
  return node.kind === ts.SyntaxKind.TrueKeyword;
55
54
  },
56
- isQualifiedName: function (node) {
55
+ isQualifiedName(node) {
57
56
  return node.kind === ts.SyntaxKind.QualifiedName;
58
57
  },
59
- isComputedPropertyName: function (node) {
58
+ isComputedPropertyName(node) {
60
59
  return node.kind === ts.SyntaxKind.ComputedPropertyName;
61
60
  },
62
- isTypeParameter: function (node) {
61
+ isTypeParameter(node) {
63
62
  return node.kind === ts.SyntaxKind.TypeParameter;
64
63
  },
65
- isParameter: function (node) {
64
+ isParameter(node) {
66
65
  return node.kind === ts.SyntaxKind.Parameter;
67
66
  },
68
- isDecorator: function (node) {
67
+ isDecorator(node) {
69
68
  return node.kind === ts.SyntaxKind.Decorator;
70
69
  },
71
- isPropertySignature: function (node) {
70
+ isPropertySignature(node) {
72
71
  return node.kind === ts.SyntaxKind.PropertySignature;
73
72
  },
74
- isPropertyDeclaration: function (node) {
73
+ isPropertyDeclaration(node) {
75
74
  return node.kind === ts.SyntaxKind.PropertyDeclaration;
76
75
  },
77
- isMethodSignature: function (node) {
76
+ isMethodSignature(node) {
78
77
  return node.kind === ts.SyntaxKind.MethodSignature;
79
78
  },
80
- isMethodDeclaration: function (node) {
79
+ isMethodDeclaration(node) {
81
80
  return node.kind === ts.SyntaxKind.MethodDeclaration;
82
81
  },
83
- isConstructor: function (node) {
82
+ isConstructor(node) {
84
83
  return node.kind === ts.SyntaxKind.Constructor;
85
84
  },
86
- isGetAccessor: function (node) {
85
+ isGetAccessor(node) {
87
86
  return node.kind === ts.SyntaxKind.GetAccessor;
88
87
  },
89
- isSetAccessor: function (node) {
88
+ isSetAccessor(node) {
90
89
  return node.kind === ts.SyntaxKind.SetAccessor;
91
90
  },
92
- isCallSignature: function (node) {
91
+ isCallSignature(node) {
93
92
  return node.kind === ts.SyntaxKind.CallSignature;
94
93
  },
95
- isConstructSignature: function (node) {
94
+ isConstructSignature(node) {
96
95
  return node.kind === ts.SyntaxKind.ConstructSignature;
97
96
  },
98
- isIndexSignature: function (node) {
97
+ isIndexSignature(node) {
99
98
  return node.kind === ts.SyntaxKind.IndexSignature;
100
99
  },
101
- isTypePredicate: function (node) {
100
+ isTypePredicate(node) {
102
101
  return node.kind === ts.SyntaxKind.TypePredicate;
103
102
  },
104
- isTypeReference: function (node) {
103
+ isTypeReference(node) {
105
104
  return node.kind === ts.SyntaxKind.TypeReference;
106
105
  },
107
- isFunctionType: function (node) {
106
+ isFunctionType(node) {
108
107
  return node.kind === ts.SyntaxKind.FunctionType;
109
108
  },
110
- isConstructorType: function (node) {
109
+ isConstructorType(node) {
111
110
  return node.kind === ts.SyntaxKind.ConstructorType;
112
111
  },
113
- isTypeQuery: function (node) {
112
+ isTypeQuery(node) {
114
113
  return node.kind === ts.SyntaxKind.TypeQuery;
115
114
  },
116
- isTypeLiteral: function (node) {
115
+ isTypeLiteral(node) {
117
116
  return node.kind === ts.SyntaxKind.TypeLiteral;
118
117
  },
119
- isArrayType: function (node) {
118
+ isArrayType(node) {
120
119
  return node.kind === ts.SyntaxKind.ArrayType;
121
120
  },
122
- isTupleType: function (node) {
121
+ isTupleType(node) {
123
122
  return node.kind === ts.SyntaxKind.TupleType;
124
123
  },
125
- isOptionalType: function (node) {
124
+ isOptionalType(node) {
126
125
  return node.kind === ts.SyntaxKind.OptionalType;
127
126
  },
128
- isRestType: function (node) {
127
+ isRestType(node) {
129
128
  return node.kind === ts.SyntaxKind.RestType;
130
129
  },
131
- isUnionType: function (node) {
130
+ isUnionType(node) {
132
131
  return node.kind === ts.SyntaxKind.UnionType;
133
132
  },
134
- isIntersectionType: function (node) {
133
+ isIntersectionType(node) {
135
134
  return node.kind === ts.SyntaxKind.IntersectionType;
136
135
  },
137
- isConditionalType: function (node) {
136
+ isConditionalType(node) {
138
137
  return node.kind === ts.SyntaxKind.ConditionalType;
139
138
  },
140
- isInferType: function (node) {
139
+ isInferType(node) {
141
140
  return node.kind === ts.SyntaxKind.InferType;
142
141
  },
143
- isParenthesizedType: function (node) {
142
+ isParenthesizedType(node) {
144
143
  return node.kind === ts.SyntaxKind.ParenthesizedType;
145
144
  },
146
- isThisType: function (node) {
145
+ isThisType(node) {
147
146
  return node.kind === ts.SyntaxKind.ThisType;
148
147
  },
149
- isTypeOperator: function (node) {
148
+ isTypeOperator(node) {
150
149
  return node.kind === ts.SyntaxKind.TypeOperator;
151
150
  },
152
- isIndexedAccessType: function (node) {
151
+ isIndexedAccessType(node) {
153
152
  return node.kind === ts.SyntaxKind.IndexedAccessType;
154
153
  },
155
- isMappedType: function (node) {
154
+ isMappedType(node) {
156
155
  return node.kind === ts.SyntaxKind.MappedType;
157
156
  },
158
- isLiteralType: function (node) {
157
+ isLiteralType(node) {
159
158
  return node.kind === ts.SyntaxKind.LiteralType;
160
159
  },
161
- isNamedTupleMember: function (node) {
160
+ isNamedTupleMember(node) {
162
161
  return node.kind === ts.SyntaxKind.NamedTupleMember;
163
162
  },
164
- isTemplateLiteralType: function (node) {
163
+ isTemplateLiteralType(node) {
165
164
  return node.kind === ts.SyntaxKind.TemplateLiteralType;
166
165
  },
167
- isTemplateLiteralTypeSpan: function (node) {
166
+ isTemplateLiteralTypeSpan(node) {
168
167
  return node.kind === ts.SyntaxKind.TemplateLiteralTypeSpan;
169
168
  },
170
- isImportType: function (node) {
169
+ isImportType(node) {
171
170
  return node.kind === ts.SyntaxKind.ImportType;
172
171
  },
173
- isObjectBindingPattern: function (node) {
172
+ isObjectBindingPattern(node) {
174
173
  return node.kind === ts.SyntaxKind.ObjectBindingPattern;
175
174
  },
176
- isArrayBindingPattern: function (node) {
175
+ isArrayBindingPattern(node) {
177
176
  return node.kind === ts.SyntaxKind.ArrayBindingPattern;
178
177
  },
179
- isBindingElement: function (node) {
178
+ isBindingElement(node) {
180
179
  return node.kind === ts.SyntaxKind.BindingElement;
181
180
  },
182
- isArrayLiteralExpression: function (node) {
181
+ isArrayLiteralExpression(node) {
183
182
  return node.kind === ts.SyntaxKind.ArrayLiteralExpression;
184
183
  },
185
- isObjectLiteralExpression: function (node) {
184
+ isObjectLiteralExpression(node) {
186
185
  return node.kind === ts.SyntaxKind.ObjectLiteralExpression;
187
186
  },
188
- isPropertyAccessExpression: function (node) {
187
+ isPropertyAccessExpression(node) {
189
188
  return node.kind === ts.SyntaxKind.PropertyAccessExpression;
190
189
  },
191
- isElementAccessExpression: function (node) {
190
+ isElementAccessExpression(node) {
192
191
  return node.kind === ts.SyntaxKind.ElementAccessExpression;
193
192
  },
194
- isCallExpression: function (node) {
193
+ isCallExpression(node) {
195
194
  return node.kind === ts.SyntaxKind.CallExpression;
196
195
  },
197
- isNewExpression: function (node) {
196
+ isNewExpression(node) {
198
197
  return node.kind === ts.SyntaxKind.NewExpression;
199
198
  },
200
- isTaggedTemplateExpression: function (node) {
199
+ isTaggedTemplateExpression(node) {
201
200
  return node.kind === ts.SyntaxKind.TaggedTemplateExpression;
202
201
  },
203
- isTypeAssertionExpression: function (node) {
202
+ isTypeAssertionExpression(node) {
204
203
  return node.kind === ts.SyntaxKind.TypeAssertionExpression;
205
204
  },
206
- isParenthesizedExpression: function (node) {
205
+ isParenthesizedExpression(node) {
207
206
  return node.kind === ts.SyntaxKind.ParenthesizedExpression;
208
207
  },
209
- isFunctionExpression: function (node) {
208
+ isFunctionExpression(node) {
210
209
  return node.kind === ts.SyntaxKind.FunctionExpression;
211
210
  },
212
- isArrowFunction: function (node) {
211
+ isArrowFunction(node) {
213
212
  return node.kind === ts.SyntaxKind.ArrowFunction;
214
213
  },
215
- isDeleteExpression: function (node) {
214
+ isDeleteExpression(node) {
216
215
  return node.kind === ts.SyntaxKind.DeleteExpression;
217
216
  },
218
- isTypeOfExpression: function (node) {
217
+ isTypeOfExpression(node) {
219
218
  return node.kind === ts.SyntaxKind.TypeOfExpression;
220
219
  },
221
- isVoidExpression: function (node) {
220
+ isVoidExpression(node) {
222
221
  return node.kind === ts.SyntaxKind.VoidExpression;
223
222
  },
224
- isAwaitExpression: function (node) {
223
+ isAwaitExpression(node) {
225
224
  return node.kind === ts.SyntaxKind.AwaitExpression;
226
225
  },
227
- isPrefixUnaryExpression: function (node) {
226
+ isPrefixUnaryExpression(node) {
228
227
  return node.kind === ts.SyntaxKind.PrefixUnaryExpression;
229
228
  },
230
- isPostfixUnaryExpression: function (node) {
229
+ isPostfixUnaryExpression(node) {
231
230
  return node.kind === ts.SyntaxKind.PostfixUnaryExpression;
232
231
  },
233
- isBinaryExpression: function (node) {
232
+ isBinaryExpression(node) {
234
233
  return node.kind === ts.SyntaxKind.BinaryExpression;
235
234
  },
236
- isConditionalExpression: function (node) {
235
+ isConditionalExpression(node) {
237
236
  return node.kind === ts.SyntaxKind.ConditionalExpression;
238
237
  },
239
- isTemplateExpression: function (node) {
238
+ isTemplateExpression(node) {
240
239
  return node.kind === ts.SyntaxKind.TemplateExpression;
241
240
  },
242
- isYieldExpression: function (node) {
241
+ isYieldExpression(node) {
243
242
  return node.kind === ts.SyntaxKind.YieldExpression;
244
243
  },
245
- isSpreadElement: function (node) {
244
+ isSpreadElement(node) {
246
245
  return node.kind === ts.SyntaxKind.SpreadElement;
247
246
  },
248
- isClassExpression: function (node) {
247
+ isClassExpression(node) {
249
248
  return node.kind === ts.SyntaxKind.ClassExpression;
250
249
  },
251
- isOmittedExpression: function (node) {
250
+ isOmittedExpression(node) {
252
251
  return node.kind === ts.SyntaxKind.OmittedExpression;
253
252
  },
254
- isExpressionWithTypeArguments: function (node) {
253
+ isExpressionWithTypeArguments(node) {
255
254
  return node.kind === ts.SyntaxKind.ExpressionWithTypeArguments;
256
255
  },
257
- isAsExpression: function (node) {
256
+ isAsExpression(node) {
258
257
  return node.kind === ts.SyntaxKind.AsExpression;
259
258
  },
260
- isNonNullExpression: function (node) {
259
+ isNonNullExpression(node) {
261
260
  return node.kind === ts.SyntaxKind.NonNullExpression;
262
261
  },
263
- isMetaProperty: function (node) {
262
+ isMetaProperty(node) {
264
263
  return node.kind === ts.SyntaxKind.MetaProperty;
265
264
  },
266
- isSyntheticExpression: function (node) {
265
+ isSyntheticExpression(node) {
267
266
  return node.kind === ts.SyntaxKind.SyntheticExpression;
268
267
  },
269
- isTemplateSpan: function (node) {
268
+ isTemplateSpan(node) {
270
269
  return node.kind === ts.SyntaxKind.TemplateSpan;
271
270
  },
272
- isSemicolonClassElement: function (node) {
271
+ isSemicolonClassElement(node) {
273
272
  return node.kind === ts.SyntaxKind.SemicolonClassElement;
274
273
  },
275
- isBlock: function (node) {
274
+ isBlock(node) {
276
275
  return node.kind === ts.SyntaxKind.Block;
277
276
  },
278
- isEmptyStatement: function (node) {
277
+ isEmptyStatement(node) {
279
278
  return node.kind === ts.SyntaxKind.EmptyStatement;
280
279
  },
281
- isVariableStatement: function (node) {
280
+ isVariableStatement(node) {
282
281
  return node.kind === ts.SyntaxKind.VariableStatement;
283
282
  },
284
- isExpressionStatement: function (node) {
283
+ isExpressionStatement(node) {
285
284
  return node.kind === ts.SyntaxKind.ExpressionStatement;
286
285
  },
287
- isIfStatement: function (node) {
286
+ isIfStatement(node) {
288
287
  return node.kind === ts.SyntaxKind.IfStatement;
289
288
  },
290
- isDoStatement: function (node) {
289
+ isDoStatement(node) {
291
290
  return node.kind === ts.SyntaxKind.DoStatement;
292
291
  },
293
- isWhileStatement: function (node) {
292
+ isWhileStatement(node) {
294
293
  return node.kind === ts.SyntaxKind.WhileStatement;
295
294
  },
296
- isForStatement: function (node) {
295
+ isForStatement(node) {
297
296
  return node.kind === ts.SyntaxKind.ForStatement;
298
297
  },
299
- isForInStatement: function (node) {
298
+ isForInStatement(node) {
300
299
  return node.kind === ts.SyntaxKind.ForInStatement;
301
300
  },
302
- isForOfStatement: function (node) {
301
+ isForOfStatement(node) {
303
302
  return node.kind === ts.SyntaxKind.ForOfStatement;
304
303
  },
305
- isContinueStatement: function (node) {
304
+ isContinueStatement(node) {
306
305
  return node.kind === ts.SyntaxKind.ContinueStatement;
307
306
  },
308
- isBreakStatement: function (node) {
307
+ isBreakStatement(node) {
309
308
  return node.kind === ts.SyntaxKind.BreakStatement;
310
309
  },
311
- isReturnStatement: function (node) {
310
+ isReturnStatement(node) {
312
311
  return node.kind === ts.SyntaxKind.ReturnStatement;
313
312
  },
314
- isWithStatement: function (node) {
313
+ isWithStatement(node) {
315
314
  return node.kind === ts.SyntaxKind.WithStatement;
316
315
  },
317
- isSwitchStatement: function (node) {
316
+ isSwitchStatement(node) {
318
317
  return node.kind === ts.SyntaxKind.SwitchStatement;
319
318
  },
320
- isLabeledStatement: function (node) {
319
+ isLabeledStatement(node) {
321
320
  return node.kind === ts.SyntaxKind.LabeledStatement;
322
321
  },
323
- isThrowStatement: function (node) {
322
+ isThrowStatement(node) {
324
323
  return node.kind === ts.SyntaxKind.ThrowStatement;
325
324
  },
326
- isTryStatement: function (node) {
325
+ isTryStatement(node) {
327
326
  return node.kind === ts.SyntaxKind.TryStatement;
328
327
  },
329
- isDebuggerStatement: function (node) {
328
+ isDebuggerStatement(node) {
330
329
  return node.kind === ts.SyntaxKind.DebuggerStatement;
331
330
  },
332
- isVariableDeclaration: function (node) {
331
+ isVariableDeclaration(node) {
333
332
  return node.kind === ts.SyntaxKind.VariableDeclaration;
334
333
  },
335
- isVariableDeclarationList: function (node) {
334
+ isVariableDeclarationList(node) {
336
335
  return node.kind === ts.SyntaxKind.VariableDeclarationList;
337
336
  },
338
- isFunctionDeclaration: function (node) {
337
+ isFunctionDeclaration(node) {
339
338
  return node.kind === ts.SyntaxKind.FunctionDeclaration;
340
339
  },
341
- isClassDeclaration: function (node) {
340
+ isClassDeclaration(node) {
342
341
  return node.kind === ts.SyntaxKind.ClassDeclaration;
343
342
  },
344
- isInterfaceDeclaration: function (node) {
343
+ isInterfaceDeclaration(node) {
345
344
  return node.kind === ts.SyntaxKind.InterfaceDeclaration;
346
345
  },
347
- isTypeAliasDeclaration: function (node) {
346
+ isTypeAliasDeclaration(node) {
348
347
  return node.kind === ts.SyntaxKind.TypeAliasDeclaration;
349
348
  },
350
- isEnumDeclaration: function (node) {
349
+ isEnumDeclaration(node) {
351
350
  return node.kind === ts.SyntaxKind.EnumDeclaration;
352
351
  },
353
- isModuleDeclaration: function (node) {
352
+ isModuleDeclaration(node) {
354
353
  return node.kind === ts.SyntaxKind.ModuleDeclaration;
355
354
  },
356
- isModuleBlock: function (node) {
355
+ isModuleBlock(node) {
357
356
  return node.kind === ts.SyntaxKind.ModuleBlock;
358
357
  },
359
- isCaseBlock: function (node) {
358
+ isCaseBlock(node) {
360
359
  return node.kind === ts.SyntaxKind.CaseBlock;
361
360
  },
362
- isNamespaceExportDeclaration: function (node) {
361
+ isNamespaceExportDeclaration(node) {
363
362
  return node.kind === ts.SyntaxKind.NamespaceExportDeclaration;
364
363
  },
365
- isImportEqualsDeclaration: function (node) {
364
+ isImportEqualsDeclaration(node) {
366
365
  return node.kind === ts.SyntaxKind.ImportEqualsDeclaration;
367
366
  },
368
- isImportDeclaration: function (node) {
367
+ isImportDeclaration(node) {
369
368
  return node.kind === ts.SyntaxKind.ImportDeclaration;
370
369
  },
371
- isImportClause: function (node) {
370
+ isImportClause(node) {
372
371
  return node.kind === ts.SyntaxKind.ImportClause;
373
372
  },
374
- isNamespaceImport: function (node) {
373
+ isNamespaceImport(node) {
375
374
  return node.kind === ts.SyntaxKind.NamespaceImport;
376
375
  },
377
- isNamedImports: function (node) {
376
+ isNamedImports(node) {
378
377
  return node.kind === ts.SyntaxKind.NamedImports;
379
378
  },
380
- isImportSpecifier: function (node) {
379
+ isImportSpecifier(node) {
381
380
  return node.kind === ts.SyntaxKind.ImportSpecifier;
382
381
  },
383
- isExportAssignment: function (node) {
382
+ isExportAssignment(node) {
384
383
  return node.kind === ts.SyntaxKind.ExportAssignment;
385
384
  },
386
- isExportDeclaration: function (node) {
385
+ isExportDeclaration(node) {
387
386
  return node.kind === ts.SyntaxKind.ExportDeclaration;
388
387
  },
389
- isNamedExports: function (node) {
388
+ isNamedExports(node) {
390
389
  return node.kind === ts.SyntaxKind.NamedExports;
391
390
  },
392
- isNamespaceExport: function (node) {
391
+ isNamespaceExport(node) {
393
392
  return node.kind === ts.SyntaxKind.NamespaceExport;
394
393
  },
395
- isExportSpecifier: function (node) {
394
+ isExportSpecifier(node) {
396
395
  return node.kind === ts.SyntaxKind.ExportSpecifier;
397
396
  },
398
- isMissingDeclaration: function (node) {
397
+ isMissingDeclaration(node) {
399
398
  return node.kind === ts.SyntaxKind.MissingDeclaration;
400
399
  },
401
- isExternalModuleReference: function (node) {
400
+ isExternalModuleReference(node) {
402
401
  return node.kind === ts.SyntaxKind.ExternalModuleReference;
403
402
  },
404
- isJsxElement: function (node) {
403
+ isJsxElement(node) {
405
404
  return node.kind === ts.SyntaxKind.JsxElement;
406
405
  },
407
- isJsxSelfClosingElement: function (node) {
406
+ isJsxSelfClosingElement(node) {
408
407
  return node.kind === ts.SyntaxKind.JsxSelfClosingElement;
409
408
  },
410
- isJsxOpeningElement: function (node) {
409
+ isJsxOpeningElement(node) {
411
410
  return node.kind === ts.SyntaxKind.JsxOpeningElement;
412
411
  },
413
- isJsxClosingElement: function (node) {
412
+ isJsxClosingElement(node) {
414
413
  return node.kind === ts.SyntaxKind.JsxClosingElement;
415
414
  },
416
- isJsxFragment: function (node) {
415
+ isJsxFragment(node) {
417
416
  return node.kind === ts.SyntaxKind.JsxFragment;
418
417
  },
419
- isJsxOpeningFragment: function (node) {
418
+ isJsxOpeningFragment(node) {
420
419
  return node.kind === ts.SyntaxKind.JsxOpeningFragment;
421
420
  },
422
- isJsxClosingFragment: function (node) {
421
+ isJsxClosingFragment(node) {
423
422
  return node.kind === ts.SyntaxKind.JsxClosingFragment;
424
423
  },
425
- isJsxAttribute: function (node) {
424
+ isJsxAttribute(node) {
426
425
  return node.kind === ts.SyntaxKind.JsxAttribute;
427
426
  },
428
- isJsxAttributes: function (node) {
427
+ isJsxAttributes(node) {
429
428
  return node.kind === ts.SyntaxKind.JsxAttributes;
430
429
  },
431
- isJsxSpreadAttribute: function (node) {
430
+ isJsxSpreadAttribute(node) {
432
431
  return node.kind === ts.SyntaxKind.JsxSpreadAttribute;
433
432
  },
434
- isJsxExpression: function (node) {
433
+ isJsxExpression(node) {
435
434
  return node.kind === ts.SyntaxKind.JsxExpression;
436
435
  },
437
- isCaseClause: function (node) {
436
+ isCaseClause(node) {
438
437
  return node.kind === ts.SyntaxKind.CaseClause;
439
438
  },
440
- isDefaultClause: function (node) {
439
+ isDefaultClause(node) {
441
440
  return node.kind === ts.SyntaxKind.DefaultClause;
442
441
  },
443
- isHeritageClause: function (node) {
442
+ isHeritageClause(node) {
444
443
  return node.kind === ts.SyntaxKind.HeritageClause;
445
444
  },
446
- isCatchClause: function (node) {
445
+ isCatchClause(node) {
447
446
  return node.kind === ts.SyntaxKind.CatchClause;
448
447
  },
449
- isPropertyAssignment: function (node) {
448
+ isPropertyAssignment(node) {
450
449
  return node.kind === ts.SyntaxKind.PropertyAssignment;
451
450
  },
452
- isShorthandPropertyAssignment: function (node) {
451
+ isShorthandPropertyAssignment(node) {
453
452
  return node.kind === ts.SyntaxKind.ShorthandPropertyAssignment;
454
453
  },
455
- isSpreadAssignment: function (node) {
454
+ isSpreadAssignment(node) {
456
455
  return node.kind === ts.SyntaxKind.SpreadAssignment;
457
456
  },
458
- isEnumMember: function (node) {
457
+ isEnumMember(node) {
459
458
  return node.kind === ts.SyntaxKind.EnumMember;
460
459
  },
461
- isUnparsedPrologue: function (node) {
460
+ isUnparsedPrologue(node) {
462
461
  return node.kind === ts.SyntaxKind.UnparsedPrologue;
463
462
  },
464
- isUnparsedPrepend: function (node) {
463
+ isUnparsedPrepend(node) {
465
464
  return node.kind === ts.SyntaxKind.UnparsedPrepend;
466
465
  },
467
- isUnparsedSyntheticReference: function (node) {
466
+ isUnparsedSyntheticReference(node) {
468
467
  return node.kind === ts.SyntaxKind.UnparsedSyntheticReference;
469
468
  },
470
- isSourceFile: function (node) {
469
+ isSourceFile(node) {
471
470
  return node.kind === ts.SyntaxKind.SourceFile;
472
471
  },
473
- isBundle: function (node) {
472
+ isBundle(node) {
474
473
  return node.kind === ts.SyntaxKind.Bundle;
475
474
  },
476
- isUnparsedSource: function (node) {
475
+ isUnparsedSource(node) {
477
476
  return node.kind === ts.SyntaxKind.UnparsedSource;
478
477
  },
479
- isInputFiles: function (node) {
478
+ isInputFiles(node) {
480
479
  return node.kind === ts.SyntaxKind.InputFiles;
481
480
  },
482
- isJSDocTypeExpression: function (node) {
481
+ isJSDocTypeExpression(node) {
483
482
  return node.kind === ts.SyntaxKind.JSDocTypeExpression;
484
483
  },
485
- isJSDocNameReference: function (node) {
484
+ isJSDocNameReference(node) {
486
485
  return node.kind === ts.SyntaxKind.JSDocNameReference;
487
486
  },
488
- isJSDocAllType: function (node) {
487
+ isJSDocAllType(node) {
489
488
  return node.kind === ts.SyntaxKind.JSDocAllType;
490
489
  },
491
- isJSDocUnknownType: function (node) {
490
+ isJSDocUnknownType(node) {
492
491
  return node.kind === ts.SyntaxKind.JSDocUnknownType;
493
492
  },
494
- isJSDocNullableType: function (node) {
493
+ isJSDocNullableType(node) {
495
494
  return node.kind === ts.SyntaxKind.JSDocNullableType;
496
495
  },
497
- isJSDocNonNullableType: function (node) {
496
+ isJSDocNonNullableType(node) {
498
497
  return node.kind === ts.SyntaxKind.JSDocNonNullableType;
499
498
  },
500
- isJSDocOptionalType: function (node) {
499
+ isJSDocOptionalType(node) {
501
500
  return node.kind === ts.SyntaxKind.JSDocOptionalType;
502
501
  },
503
- isJSDocFunctionType: function (node) {
502
+ isJSDocFunctionType(node) {
504
503
  return node.kind === ts.SyntaxKind.JSDocFunctionType;
505
504
  },
506
- isJSDocVariadicType: function (node) {
505
+ isJSDocVariadicType(node) {
507
506
  return node.kind === ts.SyntaxKind.JSDocVariadicType;
508
507
  },
509
- isJSDocNamepathType: function (node) {
508
+ isJSDocNamepathType(node) {
510
509
  return node.kind === ts.SyntaxKind.JSDocNamepathType;
511
510
  },
512
- isJSDocComment: function (node) {
511
+ isJSDocComment(node) {
513
512
  return node.kind === ts.SyntaxKind.JSDocComment;
514
513
  },
515
- isJSDocTypeLiteral: function (node) {
514
+ isJSDocTypeLiteral(node) {
516
515
  return node.kind === ts.SyntaxKind.JSDocTypeLiteral;
517
516
  },
518
- isJSDocSignature: function (node) {
517
+ isJSDocSignature(node) {
519
518
  return node.kind === ts.SyntaxKind.JSDocSignature;
520
519
  },
521
- isJSDocTag: function (node) {
520
+ isJSDocTag(node) {
522
521
  return node.kind === ts.SyntaxKind.JSDocTag;
523
522
  },
524
- isJSDocAugmentsTag: function (node) {
523
+ isJSDocAugmentsTag(node) {
525
524
  return node.kind === ts.SyntaxKind.JSDocAugmentsTag;
526
525
  },
527
- isJSDocImplementsTag: function (node) {
526
+ isJSDocImplementsTag(node) {
528
527
  return node.kind === ts.SyntaxKind.JSDocImplementsTag;
529
528
  },
530
- isJSDocAuthorTag: function (node) {
529
+ isJSDocAuthorTag(node) {
531
530
  return node.kind === ts.SyntaxKind.JSDocAuthorTag;
532
531
  },
533
- isJSDocDeprecatedTag: function (node) {
532
+ isJSDocDeprecatedTag(node) {
534
533
  return node.kind === ts.SyntaxKind.JSDocDeprecatedTag;
535
534
  },
536
- isJSDocClassTag: function (node) {
535
+ isJSDocClassTag(node) {
537
536
  return node.kind === ts.SyntaxKind.JSDocClassTag;
538
537
  },
539
- isJSDocPublicTag: function (node) {
538
+ isJSDocPublicTag(node) {
540
539
  return node.kind === ts.SyntaxKind.JSDocPublicTag;
541
540
  },
542
- isJSDocPrivateTag: function (node) {
541
+ isJSDocPrivateTag(node) {
543
542
  return node.kind === ts.SyntaxKind.JSDocPrivateTag;
544
543
  },
545
- isJSDocProtectedTag: function (node) {
544
+ isJSDocProtectedTag(node) {
546
545
  return node.kind === ts.SyntaxKind.JSDocProtectedTag;
547
546
  },
548
- isJSDocReadonlyTag: function (node) {
547
+ isJSDocReadonlyTag(node) {
549
548
  return node.kind === ts.SyntaxKind.JSDocReadonlyTag;
550
549
  },
551
- isJSDocCallbackTag: function (node) {
550
+ isJSDocCallbackTag(node) {
552
551
  return node.kind === ts.SyntaxKind.JSDocCallbackTag;
553
552
  },
554
- isJSDocEnumTag: function (node) {
553
+ isJSDocEnumTag(node) {
555
554
  return node.kind === ts.SyntaxKind.JSDocEnumTag;
556
555
  },
557
- isJSDocParameterTag: function (node) {
556
+ isJSDocParameterTag(node) {
558
557
  return node.kind === ts.SyntaxKind.JSDocParameterTag;
559
558
  },
560
- isJSDocReturnTag: function (node) {
559
+ isJSDocReturnTag(node) {
561
560
  return node.kind === ts.SyntaxKind.JSDocReturnTag;
562
561
  },
563
- isJSDocThisTag: function (node) {
562
+ isJSDocThisTag(node) {
564
563
  return node.kind === ts.SyntaxKind.JSDocThisTag;
565
564
  },
566
- isJSDocTypeTag: function (node) {
565
+ isJSDocTypeTag(node) {
567
566
  return node.kind === ts.SyntaxKind.JSDocTypeTag;
568
567
  },
569
- isJSDocTemplateTag: function (node) {
568
+ isJSDocTemplateTag(node) {
570
569
  return node.kind === ts.SyntaxKind.JSDocTemplateTag;
571
570
  },
572
- isJSDocTypedefTag: function (node) {
571
+ isJSDocTypedefTag(node) {
573
572
  return node.kind === ts.SyntaxKind.JSDocTypedefTag;
574
573
  },
575
- isJSDocSeeTag: function (node) {
574
+ isJSDocSeeTag(node) {
576
575
  return node.kind === ts.SyntaxKind.JSDocSeeTag;
577
576
  },
578
- isJSDocPropertyTag: function (node) {
577
+ isJSDocPropertyTag(node) {
579
578
  return node.kind === ts.SyntaxKind.JSDocPropertyTag;
580
579
  },
581
- isSyntaxList: function (node) {
580
+ isSyntaxList(node) {
582
581
  return node.kind === ts.SyntaxKind.SyntaxList;
583
582
  },
584
- isNotEmittedStatement: function (node) {
583
+ isNotEmittedStatement(node) {
585
584
  return node.kind === ts.SyntaxKind.NotEmittedStatement;
586
585
  },
587
- isPartiallyEmittedExpression: function (node) {
586
+ isPartiallyEmittedExpression(node) {
588
587
  return node.kind === ts.SyntaxKind.PartiallyEmittedExpression;
589
588
  },
590
- isCommaListExpression: function (node) {
589
+ isCommaListExpression(node) {
591
590
  return node.kind === ts.SyntaxKind.CommaListExpression;
592
591
  },
593
592
  };
594
- export var kindsMap = {
593
+ export const kindsMap = {
595
594
  NumericLiteral: {},
596
595
  BigIntLiteral: {},
597
596
  StringLiteral: {},
@@ -789,204 +788,204 @@ export var kindsMap = {
789
788
  PartiallyEmittedExpression: {},
790
789
  CommaListExpression: {},
791
790
  };
792
- var kindToString = (_a = {},
793
- _a[ts.SyntaxKind.NumericLiteral] = 'NumericLiteral',
794
- _a[ts.SyntaxKind.BigIntLiteral] = 'BigIntLiteral',
795
- _a[ts.SyntaxKind.StringLiteral] = 'StringLiteral',
796
- _a[ts.SyntaxKind.JsxText] = 'JsxText',
797
- _a[ts.SyntaxKind.RegularExpressionLiteral] = 'RegularExpressionLiteral',
798
- _a[ts.SyntaxKind.NoSubstitutionTemplateLiteral] = 'NoSubstitutionTemplateLiteral',
799
- _a[ts.SyntaxKind.TemplateHead] = 'TemplateHead',
800
- _a[ts.SyntaxKind.TemplateMiddle] = 'TemplateMiddle',
801
- _a[ts.SyntaxKind.TemplateTail] = 'TemplateTail',
802
- _a[ts.SyntaxKind.Identifier] = 'Identifier',
803
- _a[ts.SyntaxKind.PrivateIdentifier] = 'PrivateIdentifier',
804
- _a[ts.SyntaxKind.FalseKeyword] = 'FalseKeyword',
805
- _a[ts.SyntaxKind.ImportKeyword] = 'ImportKeyword',
806
- _a[ts.SyntaxKind.NullKeyword] = 'NullKeyword',
807
- _a[ts.SyntaxKind.SuperKeyword] = 'SuperKeyword',
808
- _a[ts.SyntaxKind.ThisKeyword] = 'ThisKeyword',
809
- _a[ts.SyntaxKind.TrueKeyword] = 'TrueKeyword',
810
- _a[ts.SyntaxKind.QualifiedName] = 'QualifiedName',
811
- _a[ts.SyntaxKind.ComputedPropertyName] = 'ComputedPropertyName',
812
- _a[ts.SyntaxKind.TypeParameter] = 'TypeParameter',
813
- _a[ts.SyntaxKind.Parameter] = 'Parameter',
814
- _a[ts.SyntaxKind.Decorator] = 'Decorator',
815
- _a[ts.SyntaxKind.PropertySignature] = 'PropertySignature',
816
- _a[ts.SyntaxKind.PropertyDeclaration] = 'PropertyDeclaration',
817
- _a[ts.SyntaxKind.MethodSignature] = 'MethodSignature',
818
- _a[ts.SyntaxKind.MethodDeclaration] = 'MethodDeclaration',
819
- _a[ts.SyntaxKind.Constructor] = 'Constructor',
820
- _a[ts.SyntaxKind.GetAccessor] = 'GetAccessor',
821
- _a[ts.SyntaxKind.SetAccessor] = 'SetAccessor',
822
- _a[ts.SyntaxKind.CallSignature] = 'CallSignature',
823
- _a[ts.SyntaxKind.ConstructSignature] = 'ConstructSignature',
824
- _a[ts.SyntaxKind.IndexSignature] = 'IndexSignature',
825
- _a[ts.SyntaxKind.TypePredicate] = 'TypePredicate',
826
- _a[ts.SyntaxKind.TypeReference] = 'TypeReference',
827
- _a[ts.SyntaxKind.FunctionType] = 'FunctionType',
828
- _a[ts.SyntaxKind.ConstructorType] = 'ConstructorType',
829
- _a[ts.SyntaxKind.TypeQuery] = 'TypeQuery',
830
- _a[ts.SyntaxKind.TypeLiteral] = 'TypeLiteral',
831
- _a[ts.SyntaxKind.ArrayType] = 'ArrayType',
832
- _a[ts.SyntaxKind.TupleType] = 'TupleType',
833
- _a[ts.SyntaxKind.OptionalType] = 'OptionalType',
834
- _a[ts.SyntaxKind.RestType] = 'RestType',
835
- _a[ts.SyntaxKind.UnionType] = 'UnionType',
836
- _a[ts.SyntaxKind.IntersectionType] = 'IntersectionType',
837
- _a[ts.SyntaxKind.ConditionalType] = 'ConditionalType',
838
- _a[ts.SyntaxKind.InferType] = 'InferType',
839
- _a[ts.SyntaxKind.ParenthesizedType] = 'ParenthesizedType',
840
- _a[ts.SyntaxKind.ThisType] = 'ThisType',
841
- _a[ts.SyntaxKind.TypeOperator] = 'TypeOperator',
842
- _a[ts.SyntaxKind.IndexedAccessType] = 'IndexedAccessType',
843
- _a[ts.SyntaxKind.MappedType] = 'MappedType',
844
- _a[ts.SyntaxKind.LiteralType] = 'LiteralType',
845
- _a[ts.SyntaxKind.NamedTupleMember] = 'NamedTupleMember',
846
- _a[ts.SyntaxKind.TemplateLiteralType] = 'TemplateLiteralType',
847
- _a[ts.SyntaxKind.TemplateLiteralTypeSpan] = 'TemplateLiteralTypeSpan',
848
- _a[ts.SyntaxKind.ImportType] = 'ImportType',
849
- _a[ts.SyntaxKind.ObjectBindingPattern] = 'ObjectBindingPattern',
850
- _a[ts.SyntaxKind.ArrayBindingPattern] = 'ArrayBindingPattern',
851
- _a[ts.SyntaxKind.BindingElement] = 'BindingElement',
852
- _a[ts.SyntaxKind.ArrayLiteralExpression] = 'ArrayLiteralExpression',
853
- _a[ts.SyntaxKind.ObjectLiteralExpression] = 'ObjectLiteralExpression',
854
- _a[ts.SyntaxKind.PropertyAccessExpression] = 'PropertyAccessExpression',
855
- _a[ts.SyntaxKind.ElementAccessExpression] = 'ElementAccessExpression',
856
- _a[ts.SyntaxKind.CallExpression] = 'CallExpression',
857
- _a[ts.SyntaxKind.NewExpression] = 'NewExpression',
858
- _a[ts.SyntaxKind.TaggedTemplateExpression] = 'TaggedTemplateExpression',
859
- _a[ts.SyntaxKind.TypeAssertionExpression] = 'TypeAssertionExpression',
860
- _a[ts.SyntaxKind.ParenthesizedExpression] = 'ParenthesizedExpression',
861
- _a[ts.SyntaxKind.FunctionExpression] = 'FunctionExpression',
862
- _a[ts.SyntaxKind.ArrowFunction] = 'ArrowFunction',
863
- _a[ts.SyntaxKind.DeleteExpression] = 'DeleteExpression',
864
- _a[ts.SyntaxKind.TypeOfExpression] = 'TypeOfExpression',
865
- _a[ts.SyntaxKind.VoidExpression] = 'VoidExpression',
866
- _a[ts.SyntaxKind.AwaitExpression] = 'AwaitExpression',
867
- _a[ts.SyntaxKind.PrefixUnaryExpression] = 'PrefixUnaryExpression',
868
- _a[ts.SyntaxKind.PostfixUnaryExpression] = 'PostfixUnaryExpression',
869
- _a[ts.SyntaxKind.BinaryExpression] = 'BinaryExpression',
870
- _a[ts.SyntaxKind.ConditionalExpression] = 'ConditionalExpression',
871
- _a[ts.SyntaxKind.TemplateExpression] = 'TemplateExpression',
872
- _a[ts.SyntaxKind.YieldExpression] = 'YieldExpression',
873
- _a[ts.SyntaxKind.SpreadElement] = 'SpreadElement',
874
- _a[ts.SyntaxKind.ClassExpression] = 'ClassExpression',
875
- _a[ts.SyntaxKind.OmittedExpression] = 'OmittedExpression',
876
- _a[ts.SyntaxKind.ExpressionWithTypeArguments] = 'ExpressionWithTypeArguments',
877
- _a[ts.SyntaxKind.AsExpression] = 'AsExpression',
878
- _a[ts.SyntaxKind.NonNullExpression] = 'NonNullExpression',
879
- _a[ts.SyntaxKind.MetaProperty] = 'MetaProperty',
880
- _a[ts.SyntaxKind.SyntheticExpression] = 'SyntheticExpression',
881
- _a[ts.SyntaxKind.TemplateSpan] = 'TemplateSpan',
882
- _a[ts.SyntaxKind.SemicolonClassElement] = 'SemicolonClassElement',
883
- _a[ts.SyntaxKind.Block] = 'Block',
884
- _a[ts.SyntaxKind.EmptyStatement] = 'EmptyStatement',
885
- _a[ts.SyntaxKind.VariableStatement] = 'VariableStatement',
886
- _a[ts.SyntaxKind.ExpressionStatement] = 'ExpressionStatement',
887
- _a[ts.SyntaxKind.IfStatement] = 'IfStatement',
888
- _a[ts.SyntaxKind.DoStatement] = 'DoStatement',
889
- _a[ts.SyntaxKind.WhileStatement] = 'WhileStatement',
890
- _a[ts.SyntaxKind.ForStatement] = 'ForStatement',
891
- _a[ts.SyntaxKind.ForInStatement] = 'ForInStatement',
892
- _a[ts.SyntaxKind.ForOfStatement] = 'ForOfStatement',
893
- _a[ts.SyntaxKind.ContinueStatement] = 'ContinueStatement',
894
- _a[ts.SyntaxKind.BreakStatement] = 'BreakStatement',
895
- _a[ts.SyntaxKind.ReturnStatement] = 'ReturnStatement',
896
- _a[ts.SyntaxKind.WithStatement] = 'WithStatement',
897
- _a[ts.SyntaxKind.SwitchStatement] = 'SwitchStatement',
898
- _a[ts.SyntaxKind.LabeledStatement] = 'LabeledStatement',
899
- _a[ts.SyntaxKind.ThrowStatement] = 'ThrowStatement',
900
- _a[ts.SyntaxKind.TryStatement] = 'TryStatement',
901
- _a[ts.SyntaxKind.DebuggerStatement] = 'DebuggerStatement',
902
- _a[ts.SyntaxKind.VariableDeclaration] = 'VariableDeclaration',
903
- _a[ts.SyntaxKind.VariableDeclarationList] = 'VariableDeclarationList',
904
- _a[ts.SyntaxKind.FunctionDeclaration] = 'FunctionDeclaration',
905
- _a[ts.SyntaxKind.ClassDeclaration] = 'ClassDeclaration',
906
- _a[ts.SyntaxKind.InterfaceDeclaration] = 'InterfaceDeclaration',
907
- _a[ts.SyntaxKind.TypeAliasDeclaration] = 'TypeAliasDeclaration',
908
- _a[ts.SyntaxKind.EnumDeclaration] = 'EnumDeclaration',
909
- _a[ts.SyntaxKind.ModuleDeclaration] = 'ModuleDeclaration',
910
- _a[ts.SyntaxKind.ModuleBlock] = 'ModuleBlock',
911
- _a[ts.SyntaxKind.CaseBlock] = 'CaseBlock',
912
- _a[ts.SyntaxKind.NamespaceExportDeclaration] = 'NamespaceExportDeclaration',
913
- _a[ts.SyntaxKind.ImportEqualsDeclaration] = 'ImportEqualsDeclaration',
914
- _a[ts.SyntaxKind.ImportDeclaration] = 'ImportDeclaration',
915
- _a[ts.SyntaxKind.ImportClause] = 'ImportClause',
916
- _a[ts.SyntaxKind.NamespaceImport] = 'NamespaceImport',
917
- _a[ts.SyntaxKind.NamedImports] = 'NamedImports',
918
- _a[ts.SyntaxKind.ImportSpecifier] = 'ImportSpecifier',
919
- _a[ts.SyntaxKind.ExportAssignment] = 'ExportAssignment',
920
- _a[ts.SyntaxKind.ExportDeclaration] = 'ExportDeclaration',
921
- _a[ts.SyntaxKind.NamedExports] = 'NamedExports',
922
- _a[ts.SyntaxKind.NamespaceExport] = 'NamespaceExport',
923
- _a[ts.SyntaxKind.ExportSpecifier] = 'ExportSpecifier',
924
- _a[ts.SyntaxKind.MissingDeclaration] = 'MissingDeclaration',
925
- _a[ts.SyntaxKind.ExternalModuleReference] = 'ExternalModuleReference',
926
- _a[ts.SyntaxKind.JsxElement] = 'JsxElement',
927
- _a[ts.SyntaxKind.JsxSelfClosingElement] = 'JsxSelfClosingElement',
928
- _a[ts.SyntaxKind.JsxOpeningElement] = 'JsxOpeningElement',
929
- _a[ts.SyntaxKind.JsxClosingElement] = 'JsxClosingElement',
930
- _a[ts.SyntaxKind.JsxFragment] = 'JsxFragment',
931
- _a[ts.SyntaxKind.JsxOpeningFragment] = 'JsxOpeningFragment',
932
- _a[ts.SyntaxKind.JsxClosingFragment] = 'JsxClosingFragment',
933
- _a[ts.SyntaxKind.JsxAttribute] = 'JsxAttribute',
934
- _a[ts.SyntaxKind.JsxAttributes] = 'JsxAttributes',
935
- _a[ts.SyntaxKind.JsxSpreadAttribute] = 'JsxSpreadAttribute',
936
- _a[ts.SyntaxKind.JsxExpression] = 'JsxExpression',
937
- _a[ts.SyntaxKind.CaseClause] = 'CaseClause',
938
- _a[ts.SyntaxKind.DefaultClause] = 'DefaultClause',
939
- _a[ts.SyntaxKind.HeritageClause] = 'HeritageClause',
940
- _a[ts.SyntaxKind.CatchClause] = 'CatchClause',
941
- _a[ts.SyntaxKind.PropertyAssignment] = 'PropertyAssignment',
942
- _a[ts.SyntaxKind.ShorthandPropertyAssignment] = 'ShorthandPropertyAssignment',
943
- _a[ts.SyntaxKind.SpreadAssignment] = 'SpreadAssignment',
944
- _a[ts.SyntaxKind.EnumMember] = 'EnumMember',
945
- _a[ts.SyntaxKind.UnparsedPrologue] = 'UnparsedPrologue',
946
- _a[ts.SyntaxKind.UnparsedPrepend] = 'UnparsedPrepend',
947
- _a[ts.SyntaxKind.UnparsedSyntheticReference] = 'UnparsedSyntheticReference',
948
- _a[ts.SyntaxKind.SourceFile] = 'SourceFile',
949
- _a[ts.SyntaxKind.Bundle] = 'Bundle',
950
- _a[ts.SyntaxKind.UnparsedSource] = 'UnparsedSource',
951
- _a[ts.SyntaxKind.InputFiles] = 'InputFiles',
952
- _a[ts.SyntaxKind.JSDocTypeExpression] = 'JSDocTypeExpression',
953
- _a[ts.SyntaxKind.JSDocNameReference] = 'JSDocNameReference',
954
- _a[ts.SyntaxKind.JSDocAllType] = 'JSDocAllType',
955
- _a[ts.SyntaxKind.JSDocUnknownType] = 'JSDocUnknownType',
956
- _a[ts.SyntaxKind.JSDocNullableType] = 'JSDocNullableType',
957
- _a[ts.SyntaxKind.JSDocNonNullableType] = 'JSDocNonNullableType',
958
- _a[ts.SyntaxKind.JSDocOptionalType] = 'JSDocOptionalType',
959
- _a[ts.SyntaxKind.JSDocFunctionType] = 'JSDocFunctionType',
960
- _a[ts.SyntaxKind.JSDocVariadicType] = 'JSDocVariadicType',
961
- _a[ts.SyntaxKind.JSDocNamepathType] = 'JSDocNamepathType',
962
- _a[ts.SyntaxKind.JSDocComment] = 'JSDocComment',
963
- _a[ts.SyntaxKind.JSDocTypeLiteral] = 'JSDocTypeLiteral',
964
- _a[ts.SyntaxKind.JSDocSignature] = 'JSDocSignature',
965
- _a[ts.SyntaxKind.JSDocTag] = 'JSDocTag',
966
- _a[ts.SyntaxKind.JSDocAugmentsTag] = 'JSDocAugmentsTag',
967
- _a[ts.SyntaxKind.JSDocImplementsTag] = 'JSDocImplementsTag',
968
- _a[ts.SyntaxKind.JSDocAuthorTag] = 'JSDocAuthorTag',
969
- _a[ts.SyntaxKind.JSDocDeprecatedTag] = 'JSDocDeprecatedTag',
970
- _a[ts.SyntaxKind.JSDocClassTag] = 'JSDocClassTag',
971
- _a[ts.SyntaxKind.JSDocPublicTag] = 'JSDocPublicTag',
972
- _a[ts.SyntaxKind.JSDocPrivateTag] = 'JSDocPrivateTag',
973
- _a[ts.SyntaxKind.JSDocProtectedTag] = 'JSDocProtectedTag',
974
- _a[ts.SyntaxKind.JSDocReadonlyTag] = 'JSDocReadonlyTag',
975
- _a[ts.SyntaxKind.JSDocCallbackTag] = 'JSDocCallbackTag',
976
- _a[ts.SyntaxKind.JSDocEnumTag] = 'JSDocEnumTag',
977
- _a[ts.SyntaxKind.JSDocParameterTag] = 'JSDocParameterTag',
978
- _a[ts.SyntaxKind.JSDocReturnTag] = 'JSDocReturnTag',
979
- _a[ts.SyntaxKind.JSDocThisTag] = 'JSDocThisTag',
980
- _a[ts.SyntaxKind.JSDocTypeTag] = 'JSDocTypeTag',
981
- _a[ts.SyntaxKind.JSDocTemplateTag] = 'JSDocTemplateTag',
982
- _a[ts.SyntaxKind.JSDocTypedefTag] = 'JSDocTypedefTag',
983
- _a[ts.SyntaxKind.JSDocSeeTag] = 'JSDocSeeTag',
984
- _a[ts.SyntaxKind.JSDocPropertyTag] = 'JSDocPropertyTag',
985
- _a[ts.SyntaxKind.SyntaxList] = 'SyntaxList',
986
- _a[ts.SyntaxKind.NotEmittedStatement] = 'NotEmittedStatement',
987
- _a[ts.SyntaxKind.PartiallyEmittedExpression] = 'PartiallyEmittedExpression',
988
- _a[ts.SyntaxKind.CommaListExpression] = 'CommaListExpression',
989
- _a);
791
+ const kindToString = {
792
+ [ts.SyntaxKind.NumericLiteral]: 'NumericLiteral',
793
+ [ts.SyntaxKind.BigIntLiteral]: 'BigIntLiteral',
794
+ [ts.SyntaxKind.StringLiteral]: 'StringLiteral',
795
+ [ts.SyntaxKind.JsxText]: 'JsxText',
796
+ [ts.SyntaxKind.RegularExpressionLiteral]: 'RegularExpressionLiteral',
797
+ [ts.SyntaxKind.NoSubstitutionTemplateLiteral]: 'NoSubstitutionTemplateLiteral',
798
+ [ts.SyntaxKind.TemplateHead]: 'TemplateHead',
799
+ [ts.SyntaxKind.TemplateMiddle]: 'TemplateMiddle',
800
+ [ts.SyntaxKind.TemplateTail]: 'TemplateTail',
801
+ [ts.SyntaxKind.Identifier]: 'Identifier',
802
+ [ts.SyntaxKind.PrivateIdentifier]: 'PrivateIdentifier',
803
+ [ts.SyntaxKind.FalseKeyword]: 'FalseKeyword',
804
+ [ts.SyntaxKind.ImportKeyword]: 'ImportKeyword',
805
+ [ts.SyntaxKind.NullKeyword]: 'NullKeyword',
806
+ [ts.SyntaxKind.SuperKeyword]: 'SuperKeyword',
807
+ [ts.SyntaxKind.ThisKeyword]: 'ThisKeyword',
808
+ [ts.SyntaxKind.TrueKeyword]: 'TrueKeyword',
809
+ [ts.SyntaxKind.QualifiedName]: 'QualifiedName',
810
+ [ts.SyntaxKind.ComputedPropertyName]: 'ComputedPropertyName',
811
+ [ts.SyntaxKind.TypeParameter]: 'TypeParameter',
812
+ [ts.SyntaxKind.Parameter]: 'Parameter',
813
+ [ts.SyntaxKind.Decorator]: 'Decorator',
814
+ [ts.SyntaxKind.PropertySignature]: 'PropertySignature',
815
+ [ts.SyntaxKind.PropertyDeclaration]: 'PropertyDeclaration',
816
+ [ts.SyntaxKind.MethodSignature]: 'MethodSignature',
817
+ [ts.SyntaxKind.MethodDeclaration]: 'MethodDeclaration',
818
+ [ts.SyntaxKind.Constructor]: 'Constructor',
819
+ [ts.SyntaxKind.GetAccessor]: 'GetAccessor',
820
+ [ts.SyntaxKind.SetAccessor]: 'SetAccessor',
821
+ [ts.SyntaxKind.CallSignature]: 'CallSignature',
822
+ [ts.SyntaxKind.ConstructSignature]: 'ConstructSignature',
823
+ [ts.SyntaxKind.IndexSignature]: 'IndexSignature',
824
+ [ts.SyntaxKind.TypePredicate]: 'TypePredicate',
825
+ [ts.SyntaxKind.TypeReference]: 'TypeReference',
826
+ [ts.SyntaxKind.FunctionType]: 'FunctionType',
827
+ [ts.SyntaxKind.ConstructorType]: 'ConstructorType',
828
+ [ts.SyntaxKind.TypeQuery]: 'TypeQuery',
829
+ [ts.SyntaxKind.TypeLiteral]: 'TypeLiteral',
830
+ [ts.SyntaxKind.ArrayType]: 'ArrayType',
831
+ [ts.SyntaxKind.TupleType]: 'TupleType',
832
+ [ts.SyntaxKind.OptionalType]: 'OptionalType',
833
+ [ts.SyntaxKind.RestType]: 'RestType',
834
+ [ts.SyntaxKind.UnionType]: 'UnionType',
835
+ [ts.SyntaxKind.IntersectionType]: 'IntersectionType',
836
+ [ts.SyntaxKind.ConditionalType]: 'ConditionalType',
837
+ [ts.SyntaxKind.InferType]: 'InferType',
838
+ [ts.SyntaxKind.ParenthesizedType]: 'ParenthesizedType',
839
+ [ts.SyntaxKind.ThisType]: 'ThisType',
840
+ [ts.SyntaxKind.TypeOperator]: 'TypeOperator',
841
+ [ts.SyntaxKind.IndexedAccessType]: 'IndexedAccessType',
842
+ [ts.SyntaxKind.MappedType]: 'MappedType',
843
+ [ts.SyntaxKind.LiteralType]: 'LiteralType',
844
+ [ts.SyntaxKind.NamedTupleMember]: 'NamedTupleMember',
845
+ [ts.SyntaxKind.TemplateLiteralType]: 'TemplateLiteralType',
846
+ [ts.SyntaxKind.TemplateLiteralTypeSpan]: 'TemplateLiteralTypeSpan',
847
+ [ts.SyntaxKind.ImportType]: 'ImportType',
848
+ [ts.SyntaxKind.ObjectBindingPattern]: 'ObjectBindingPattern',
849
+ [ts.SyntaxKind.ArrayBindingPattern]: 'ArrayBindingPattern',
850
+ [ts.SyntaxKind.BindingElement]: 'BindingElement',
851
+ [ts.SyntaxKind.ArrayLiteralExpression]: 'ArrayLiteralExpression',
852
+ [ts.SyntaxKind.ObjectLiteralExpression]: 'ObjectLiteralExpression',
853
+ [ts.SyntaxKind.PropertyAccessExpression]: 'PropertyAccessExpression',
854
+ [ts.SyntaxKind.ElementAccessExpression]: 'ElementAccessExpression',
855
+ [ts.SyntaxKind.CallExpression]: 'CallExpression',
856
+ [ts.SyntaxKind.NewExpression]: 'NewExpression',
857
+ [ts.SyntaxKind.TaggedTemplateExpression]: 'TaggedTemplateExpression',
858
+ [ts.SyntaxKind.TypeAssertionExpression]: 'TypeAssertionExpression',
859
+ [ts.SyntaxKind.ParenthesizedExpression]: 'ParenthesizedExpression',
860
+ [ts.SyntaxKind.FunctionExpression]: 'FunctionExpression',
861
+ [ts.SyntaxKind.ArrowFunction]: 'ArrowFunction',
862
+ [ts.SyntaxKind.DeleteExpression]: 'DeleteExpression',
863
+ [ts.SyntaxKind.TypeOfExpression]: 'TypeOfExpression',
864
+ [ts.SyntaxKind.VoidExpression]: 'VoidExpression',
865
+ [ts.SyntaxKind.AwaitExpression]: 'AwaitExpression',
866
+ [ts.SyntaxKind.PrefixUnaryExpression]: 'PrefixUnaryExpression',
867
+ [ts.SyntaxKind.PostfixUnaryExpression]: 'PostfixUnaryExpression',
868
+ [ts.SyntaxKind.BinaryExpression]: 'BinaryExpression',
869
+ [ts.SyntaxKind.ConditionalExpression]: 'ConditionalExpression',
870
+ [ts.SyntaxKind.TemplateExpression]: 'TemplateExpression',
871
+ [ts.SyntaxKind.YieldExpression]: 'YieldExpression',
872
+ [ts.SyntaxKind.SpreadElement]: 'SpreadElement',
873
+ [ts.SyntaxKind.ClassExpression]: 'ClassExpression',
874
+ [ts.SyntaxKind.OmittedExpression]: 'OmittedExpression',
875
+ [ts.SyntaxKind.ExpressionWithTypeArguments]: 'ExpressionWithTypeArguments',
876
+ [ts.SyntaxKind.AsExpression]: 'AsExpression',
877
+ [ts.SyntaxKind.NonNullExpression]: 'NonNullExpression',
878
+ [ts.SyntaxKind.MetaProperty]: 'MetaProperty',
879
+ [ts.SyntaxKind.SyntheticExpression]: 'SyntheticExpression',
880
+ [ts.SyntaxKind.TemplateSpan]: 'TemplateSpan',
881
+ [ts.SyntaxKind.SemicolonClassElement]: 'SemicolonClassElement',
882
+ [ts.SyntaxKind.Block]: 'Block',
883
+ [ts.SyntaxKind.EmptyStatement]: 'EmptyStatement',
884
+ [ts.SyntaxKind.VariableStatement]: 'VariableStatement',
885
+ [ts.SyntaxKind.ExpressionStatement]: 'ExpressionStatement',
886
+ [ts.SyntaxKind.IfStatement]: 'IfStatement',
887
+ [ts.SyntaxKind.DoStatement]: 'DoStatement',
888
+ [ts.SyntaxKind.WhileStatement]: 'WhileStatement',
889
+ [ts.SyntaxKind.ForStatement]: 'ForStatement',
890
+ [ts.SyntaxKind.ForInStatement]: 'ForInStatement',
891
+ [ts.SyntaxKind.ForOfStatement]: 'ForOfStatement',
892
+ [ts.SyntaxKind.ContinueStatement]: 'ContinueStatement',
893
+ [ts.SyntaxKind.BreakStatement]: 'BreakStatement',
894
+ [ts.SyntaxKind.ReturnStatement]: 'ReturnStatement',
895
+ [ts.SyntaxKind.WithStatement]: 'WithStatement',
896
+ [ts.SyntaxKind.SwitchStatement]: 'SwitchStatement',
897
+ [ts.SyntaxKind.LabeledStatement]: 'LabeledStatement',
898
+ [ts.SyntaxKind.ThrowStatement]: 'ThrowStatement',
899
+ [ts.SyntaxKind.TryStatement]: 'TryStatement',
900
+ [ts.SyntaxKind.DebuggerStatement]: 'DebuggerStatement',
901
+ [ts.SyntaxKind.VariableDeclaration]: 'VariableDeclaration',
902
+ [ts.SyntaxKind.VariableDeclarationList]: 'VariableDeclarationList',
903
+ [ts.SyntaxKind.FunctionDeclaration]: 'FunctionDeclaration',
904
+ [ts.SyntaxKind.ClassDeclaration]: 'ClassDeclaration',
905
+ [ts.SyntaxKind.InterfaceDeclaration]: 'InterfaceDeclaration',
906
+ [ts.SyntaxKind.TypeAliasDeclaration]: 'TypeAliasDeclaration',
907
+ [ts.SyntaxKind.EnumDeclaration]: 'EnumDeclaration',
908
+ [ts.SyntaxKind.ModuleDeclaration]: 'ModuleDeclaration',
909
+ [ts.SyntaxKind.ModuleBlock]: 'ModuleBlock',
910
+ [ts.SyntaxKind.CaseBlock]: 'CaseBlock',
911
+ [ts.SyntaxKind.NamespaceExportDeclaration]: 'NamespaceExportDeclaration',
912
+ [ts.SyntaxKind.ImportEqualsDeclaration]: 'ImportEqualsDeclaration',
913
+ [ts.SyntaxKind.ImportDeclaration]: 'ImportDeclaration',
914
+ [ts.SyntaxKind.ImportClause]: 'ImportClause',
915
+ [ts.SyntaxKind.NamespaceImport]: 'NamespaceImport',
916
+ [ts.SyntaxKind.NamedImports]: 'NamedImports',
917
+ [ts.SyntaxKind.ImportSpecifier]: 'ImportSpecifier',
918
+ [ts.SyntaxKind.ExportAssignment]: 'ExportAssignment',
919
+ [ts.SyntaxKind.ExportDeclaration]: 'ExportDeclaration',
920
+ [ts.SyntaxKind.NamedExports]: 'NamedExports',
921
+ [ts.SyntaxKind.NamespaceExport]: 'NamespaceExport',
922
+ [ts.SyntaxKind.ExportSpecifier]: 'ExportSpecifier',
923
+ [ts.SyntaxKind.MissingDeclaration]: 'MissingDeclaration',
924
+ [ts.SyntaxKind.ExternalModuleReference]: 'ExternalModuleReference',
925
+ [ts.SyntaxKind.JsxElement]: 'JsxElement',
926
+ [ts.SyntaxKind.JsxSelfClosingElement]: 'JsxSelfClosingElement',
927
+ [ts.SyntaxKind.JsxOpeningElement]: 'JsxOpeningElement',
928
+ [ts.SyntaxKind.JsxClosingElement]: 'JsxClosingElement',
929
+ [ts.SyntaxKind.JsxFragment]: 'JsxFragment',
930
+ [ts.SyntaxKind.JsxOpeningFragment]: 'JsxOpeningFragment',
931
+ [ts.SyntaxKind.JsxClosingFragment]: 'JsxClosingFragment',
932
+ [ts.SyntaxKind.JsxAttribute]: 'JsxAttribute',
933
+ [ts.SyntaxKind.JsxAttributes]: 'JsxAttributes',
934
+ [ts.SyntaxKind.JsxSpreadAttribute]: 'JsxSpreadAttribute',
935
+ [ts.SyntaxKind.JsxExpression]: 'JsxExpression',
936
+ [ts.SyntaxKind.CaseClause]: 'CaseClause',
937
+ [ts.SyntaxKind.DefaultClause]: 'DefaultClause',
938
+ [ts.SyntaxKind.HeritageClause]: 'HeritageClause',
939
+ [ts.SyntaxKind.CatchClause]: 'CatchClause',
940
+ [ts.SyntaxKind.PropertyAssignment]: 'PropertyAssignment',
941
+ [ts.SyntaxKind.ShorthandPropertyAssignment]: 'ShorthandPropertyAssignment',
942
+ [ts.SyntaxKind.SpreadAssignment]: 'SpreadAssignment',
943
+ [ts.SyntaxKind.EnumMember]: 'EnumMember',
944
+ [ts.SyntaxKind.UnparsedPrologue]: 'UnparsedPrologue',
945
+ [ts.SyntaxKind.UnparsedPrepend]: 'UnparsedPrepend',
946
+ [ts.SyntaxKind.UnparsedSyntheticReference]: 'UnparsedSyntheticReference',
947
+ [ts.SyntaxKind.SourceFile]: 'SourceFile',
948
+ [ts.SyntaxKind.Bundle]: 'Bundle',
949
+ [ts.SyntaxKind.UnparsedSource]: 'UnparsedSource',
950
+ [ts.SyntaxKind.InputFiles]: 'InputFiles',
951
+ [ts.SyntaxKind.JSDocTypeExpression]: 'JSDocTypeExpression',
952
+ [ts.SyntaxKind.JSDocNameReference]: 'JSDocNameReference',
953
+ [ts.SyntaxKind.JSDocAllType]: 'JSDocAllType',
954
+ [ts.SyntaxKind.JSDocUnknownType]: 'JSDocUnknownType',
955
+ [ts.SyntaxKind.JSDocNullableType]: 'JSDocNullableType',
956
+ [ts.SyntaxKind.JSDocNonNullableType]: 'JSDocNonNullableType',
957
+ [ts.SyntaxKind.JSDocOptionalType]: 'JSDocOptionalType',
958
+ [ts.SyntaxKind.JSDocFunctionType]: 'JSDocFunctionType',
959
+ [ts.SyntaxKind.JSDocVariadicType]: 'JSDocVariadicType',
960
+ [ts.SyntaxKind.JSDocNamepathType]: 'JSDocNamepathType',
961
+ [ts.SyntaxKind.JSDocComment]: 'JSDocComment',
962
+ [ts.SyntaxKind.JSDocTypeLiteral]: 'JSDocTypeLiteral',
963
+ [ts.SyntaxKind.JSDocSignature]: 'JSDocSignature',
964
+ [ts.SyntaxKind.JSDocTag]: 'JSDocTag',
965
+ [ts.SyntaxKind.JSDocAugmentsTag]: 'JSDocAugmentsTag',
966
+ [ts.SyntaxKind.JSDocImplementsTag]: 'JSDocImplementsTag',
967
+ [ts.SyntaxKind.JSDocAuthorTag]: 'JSDocAuthorTag',
968
+ [ts.SyntaxKind.JSDocDeprecatedTag]: 'JSDocDeprecatedTag',
969
+ [ts.SyntaxKind.JSDocClassTag]: 'JSDocClassTag',
970
+ [ts.SyntaxKind.JSDocPublicTag]: 'JSDocPublicTag',
971
+ [ts.SyntaxKind.JSDocPrivateTag]: 'JSDocPrivateTag',
972
+ [ts.SyntaxKind.JSDocProtectedTag]: 'JSDocProtectedTag',
973
+ [ts.SyntaxKind.JSDocReadonlyTag]: 'JSDocReadonlyTag',
974
+ [ts.SyntaxKind.JSDocCallbackTag]: 'JSDocCallbackTag',
975
+ [ts.SyntaxKind.JSDocEnumTag]: 'JSDocEnumTag',
976
+ [ts.SyntaxKind.JSDocParameterTag]: 'JSDocParameterTag',
977
+ [ts.SyntaxKind.JSDocReturnTag]: 'JSDocReturnTag',
978
+ [ts.SyntaxKind.JSDocThisTag]: 'JSDocThisTag',
979
+ [ts.SyntaxKind.JSDocTypeTag]: 'JSDocTypeTag',
980
+ [ts.SyntaxKind.JSDocTemplateTag]: 'JSDocTemplateTag',
981
+ [ts.SyntaxKind.JSDocTypedefTag]: 'JSDocTypedefTag',
982
+ [ts.SyntaxKind.JSDocSeeTag]: 'JSDocSeeTag',
983
+ [ts.SyntaxKind.JSDocPropertyTag]: 'JSDocPropertyTag',
984
+ [ts.SyntaxKind.SyntaxList]: 'SyntaxList',
985
+ [ts.SyntaxKind.NotEmittedStatement]: 'NotEmittedStatement',
986
+ [ts.SyntaxKind.PartiallyEmittedExpression]: 'PartiallyEmittedExpression',
987
+ [ts.SyntaxKind.CommaListExpression]: 'CommaListExpression',
988
+ };
990
989
  export function getKindNameFromNode(node) {
991
990
  // @ts-ignore
992
991
  return kindToString[node.kind] || String(node.kind);