Lines Matching refs:st

21   ;(function c(node, st, override) {  argument
23 base[type](node, st, c)
24 if (found) found(node, st)
34 ;(function c(node, st, override) { argument
38 base[type](node, st, c)
39 if (found) found(node, st || ancestors, ancestors)
51 ;(function c(node, st, override) { argument
52 visitor[override || node.type](node, st, c)
74 ;(function c(node, st, override) { argument
78 base[type](node, st, c)
82 throw new Found(node, st)
96 ;(function c(node, st, override) { argument
99 base[type](node, st, c)
100 if (test(type, node)) throw new Found(node, st)
113 ;(function c(node, st, override) { argument
116 if (node.start >= pos && test(type, node)) throw new Found(node, st)
117 base[type](node, st, c)
130 ;(function c(node, st, override) { argument
134 max = new Found(node, st)
135 base[type](node, st, c)
156 function skipThrough(node, st, c) { c(node, st) } argument
163 base.Program = base.BlockStatement = function (node, st, c) {
165 c(node.body[i], st, "Statement")
170 function (node, st, c) { return c(node.expression, st, "Expression"); }
171 base.IfStatement = function (node, st, c) { argument
172 c(node.test, st, "Expression")
173 c(node.consequent, st, "Statement")
174 if (node.alternate) c(node.alternate, st, "Statement")
176 base.LabeledStatement = function (node, st, c) { return c(node.body, st, "Statement"); } argument
178 base.WithStatement = function (node, st, c) { argument
179 c(node.object, st, "Expression")
180 c(node.body, st, "Statement")
182 base.SwitchStatement = function (node, st, c) { argument
183 c(node.discriminant, st, "Expression")
186 if (cs.test) c(cs.test, st, "Expression")
188 c(cs.consequent[j], st, "Statement")
191 base.ReturnStatement = base.YieldExpression = base.AwaitExpression = function (node, st, c) {
192 if (node.argument) c(node.argument, st, "Expression")
195 function (node, st, c) { return c(node.argument, st, "Expression"); }
196 base.TryStatement = function (node, st, c) { argument
197 c(node.block, st, "Statement")
198 if (node.handler) c(node.handler, st)
199 if (node.finalizer) c(node.finalizer, st, "Statement")
201 base.CatchClause = function (node, st, c) { argument
202 c(node.param, st, "Pattern")
203 c(node.body, st, "ScopeBody")
205 base.WhileStatement = base.DoWhileStatement = function (node, st, c) {
206 c(node.test, st, "Expression")
207 c(node.body, st, "Statement")
209 base.ForStatement = function (node, st, c) { argument
210 if (node.init) c(node.init, st, "ForInit")
211 if (node.test) c(node.test, st, "Expression")
212 if (node.update) c(node.update, st, "Expression")
213 c(node.body, st, "Statement")
215 base.ForInStatement = base.ForOfStatement = function (node, st, c) {
216 c(node.left, st, "ForInit")
217 c(node.right, st, "Expression")
218 c(node.body, st, "Statement")
220 base.ForInit = function (node, st, c) { argument
221 if (node.type == "VariableDeclaration") c(node, st)
222 else c(node, st, "Expression")
226 base.FunctionDeclaration = function (node, st, c) { return c(node, st, "Function"); } argument
227 base.VariableDeclaration = function (node, st, c) { argument
229 c(node.declarations[i], st)
231 base.VariableDeclarator = function (node, st, c) { argument
232 c(node.id, st, "Pattern")
233 if (node.init) c(node.init, st, "Expression")
236 base.Function = function (node, st, c) { argument
237 if (node.id) c(node.id, st, "Pattern")
239 c(node.params[i], st, "Pattern")
240 c(node.body, st, node.expression ? "ScopeExpression" : "ScopeBody")
244 base.ScopeBody = function (node, st, c) { return c(node, st, "Statement"); } argument
245 base.ScopeExpression = function (node, st, c) { return c(node, st, "Expression"); } argument
247 base.Pattern = function (node, st, c) { argument
249 c(node, st, "VariablePattern")
251 c(node, st, "MemberPattern")
253 c(node, st)
257 base.RestElement = function (node, st, c) { return c(node.argument, st, "Pattern"); } argument
258 base.ArrayPattern = function (node, st, c) { argument
261 if (elt) c(elt, st, "Pattern")
264 base.ObjectPattern = function (node, st, c) { argument
266 c(node.properties[i].value, st, "Pattern")
271 base.ArrayExpression = function (node, st, c) { argument
274 if (elt) c(elt, st, "Expression")
277 base.ObjectExpression = function (node, st, c) { argument
279 c(node.properties[i], st)
282 base.SequenceExpression = base.TemplateLiteral = function (node, st, c) {
284 c(node.expressions[i], st, "Expression")
286 base.UnaryExpression = base.UpdateExpression = function (node, st, c) {
287 c(node.argument, st, "Expression")
289 base.BinaryExpression = base.LogicalExpression = function (node, st, c) {
290 c(node.left, st, "Expression")
291 c(node.right, st, "Expression")
293 base.AssignmentExpression = base.AssignmentPattern = function (node, st, c) {
294 c(node.left, st, "Pattern")
295 c(node.right, st, "Expression")
297 base.ConditionalExpression = function (node, st, c) { argument
298 c(node.test, st, "Expression")
299 c(node.consequent, st, "Expression")
300 c(node.alternate, st, "Expression")
302 base.NewExpression = base.CallExpression = function (node, st, c) {
303 c(node.callee, st, "Expression")
305 c(node.arguments[i], st, "Expression")
307 base.MemberExpression = function (node, st, c) { argument
308 c(node.object, st, "Expression")
309 if (node.computed) c(node.property, st, "Expression")
311 base.ExportNamedDeclaration = base.ExportDefaultDeclaration = function (node, st, c) {
313 …c(node.declaration, st, node.type == "ExportNamedDeclaration" || node.declaration.id ? "Statement"…
314 if (node.source) c(node.source, st, "Expression")
316 base.ExportAllDeclaration = function (node, st, c) { argument
317 c(node.source, st, "Expression")
319 base.ImportDeclaration = function (node, st, c) { argument
321 c(node.specifiers[i], st)
322 c(node.source, st, "Expression")
326 base.TaggedTemplateExpression = function (node, st, c) { argument
327 c(node.tag, st, "Expression")
328 c(node.quasi, st)
330 base.ClassDeclaration = base.ClassExpression = function (node, st, c) { return c(node, st, "Class")…
331 base.Class = function (node, st, c) { argument
332 if (node.id) c(node.id, st, "Pattern")
333 if (node.superClass) c(node.superClass, st, "Expression")
335 c(node.body.body[i], st)
337 base.MethodDefinition = base.Property = function (node, st, c) {
338 if (node.computed) c(node.key, st, "Expression")
339 c(node.value, st, "Expression")