| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
 | | "use strict"; |  |   |  | var _utils = _interopRequireWildcard(require("./utils")); |  |   |  | var _es = require("./es2015"); |  |   |  | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } |  |   |  | (0, _utils.default)("ArgumentPlaceholder", {}); |  | (0, _utils.default)("AwaitExpression", { |  |   builder: ["argument"], |  |   visitor: ["argument"], |  |   aliases: ["Expression", "Terminatorless"], |  |   fields: { |  |     argument: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     } |  |   } |  | }); |  | (0, _utils.default)("BindExpression", { |  |   visitor: ["object", "callee"], |  |   aliases: ["Expression"], |  |   fields: {} |  | }); |  | (0, _utils.default)("ClassProperty", { |  |   visitor: ["key", "value", "typeAnnotation", "decorators"], |  |   builder: ["key", "value", "typeAnnotation", "decorators", "computed"], |  |   aliases: ["Property"], |  |   fields: Object.assign({}, _es.classMethodOrPropertyCommon, { |  |     value: { |  |       validate: (0, _utils.assertNodeType)("Expression"), |  |       optional: true |  |     }, |  |     definite: { |  |       validate: (0, _utils.assertValueType)("boolean"), |  |       optional: true |  |     }, |  |     typeAnnotation: { |  |       validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), |  |       optional: true |  |     }, |  |     decorators: { |  |       validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), |  |       optional: true |  |     }, |  |     readonly: { |  |       validate: (0, _utils.assertValueType)("boolean"), |  |       optional: true |  |     } |  |   }) |  | }); |  | (0, _utils.default)("OptionalMemberExpression", { |  |   builder: ["object", "property", "computed", "optional"], |  |   visitor: ["object", "property"], |  |   aliases: ["Expression"], |  |   fields: { |  |     object: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     }, |  |     property: { |  |       validate: function () { |  |         const normal = (0, _utils.assertNodeType)("Identifier"); |  |         const computed = (0, _utils.assertNodeType)("Expression"); |  |         return function (node, key, val) { |  |           const validator = node.computed ? computed : normal; |  |           validator(node, key, val); |  |         }; |  |       }() |  |     }, |  |     computed: { |  |       default: false |  |     }, |  |     optional: { |  |       validate: (0, _utils.assertValueType)("boolean") |  |     } |  |   } |  | }); |  | (0, _utils.default)("PipelineTopicExpression", { |  |   builder: ["expression"], |  |   visitor: ["expression"], |  |   fields: { |  |     expression: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     } |  |   } |  | }); |  | (0, _utils.default)("PipelineBareFunction", { |  |   builder: ["callee"], |  |   visitor: ["callee"], |  |   fields: { |  |     callee: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     } |  |   } |  | }); |  | (0, _utils.default)("PipelinePrimaryTopicReference", { |  |   aliases: ["Expression"] |  | }); |  | (0, _utils.default)("OptionalCallExpression", { |  |   visitor: ["callee", "arguments", "typeParameters", "typeArguments"], |  |   builder: ["callee", "arguments", "optional"], |  |   aliases: ["Expression"], |  |   fields: { |  |     callee: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     }, |  |     arguments: { |  |       validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "SpreadElement", "JSXNamespacedName"))) |  |     }, |  |     optional: { |  |       validate: (0, _utils.assertValueType)("boolean") |  |     }, |  |     typeArguments: { |  |       validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), |  |       optional: true |  |     }, |  |     typeParameters: { |  |       validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), |  |       optional: true |  |     } |  |   } |  | }); |  | (0, _utils.default)("ClassPrivateProperty", { |  |   visitor: ["key", "value"], |  |   builder: ["key", "value"], |  |   aliases: ["Property", "Private"], |  |   fields: { |  |     key: { |  |       validate: (0, _utils.assertNodeType)("PrivateName") |  |     }, |  |     value: { |  |       validate: (0, _utils.assertNodeType)("Expression"), |  |       optional: true |  |     } |  |   } |  | }); |  | (0, _utils.default)("ClassPrivateMethod", { |  |   builder: ["kind", "key", "params", "body", "static"], |  |   visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], |  |   aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], |  |   fields: Object.assign({}, _es.classMethodOrDeclareMethodCommon, { |  |     key: { |  |       validate: (0, _utils.assertNodeType)("PrivateName") |  |     }, |  |     body: { |  |       validate: (0, _utils.assertNodeType)("BlockStatement") |  |     } |  |   }) |  | }); |  | (0, _utils.default)("Import", { |  |   aliases: ["Expression"] |  | }); |  | (0, _utils.default)("Decorator", { |  |   visitor: ["expression"], |  |   fields: { |  |     expression: { |  |       validate: (0, _utils.assertNodeType)("Expression") |  |     } |  |   } |  | }); |  | (0, _utils.default)("DoExpression", { |  |   visitor: ["body"], |  |   aliases: ["Expression"], |  |   fields: { |  |     body: { |  |       validate: (0, _utils.assertNodeType)("BlockStatement") |  |     } |  |   } |  | }); |  | (0, _utils.default)("ExportDefaultSpecifier", { |  |   visitor: ["exported"], |  |   aliases: ["ModuleSpecifier"], |  |   fields: { |  |     exported: { |  |       validate: (0, _utils.assertNodeType)("Identifier") |  |     } |  |   } |  | }); |  | (0, _utils.default)("ExportNamespaceSpecifier", { |  |   visitor: ["exported"], |  |   aliases: ["ModuleSpecifier"], |  |   fields: { |  |     exported: { |  |       validate: (0, _utils.assertNodeType)("Identifier") |  |     } |  |   } |  | }); |  | (0, _utils.default)("PrivateName", { |  |   visitor: ["id"], |  |   aliases: ["Private"], |  |   fields: { |  |     id: { |  |       validate: (0, _utils.assertNodeType)("Identifier") |  |     } |  |   } |  | }); |  | (0, _utils.default)("BigIntLiteral", { |  |   builder: ["value"], |  |   fields: { |  |     value: { |  |       validate: (0, _utils.assertValueType)("string") |  |     } |  |   }, |  |   aliases: ["Expression", "Pureish", "Literal", "Immutable"] |  | }); | 
 |