Lines Matching full:base

21 // The base argument can be used to pass a custom (recursive)
25 function simple(node, visitors, base, state, override) { argument
26 if (!base) base = exports.base
29 base[type](node, st, c)
37 function ancestor(node, visitors, base, state) { argument
38 if (!base) base = exports.base
44 base[type](node, st, c)
55 function recursive(node, state, funcs, base, override) { argument
56 var visitor = funcs ? exports.make(funcs, base) : base
76 function findNodeAt(node, start, end, test, base, state) { argument
78 if (!base) base = exports.base
84 base[type](node, st, c)
98 function findNodeAround(node, pos, test, base, state) { argument
100 if (!base) base = exports.base
105 base[type](node, st, c)
115 function findNodeAfter(node, pos, test, base, state) { argument
117 if (!base) base = exports.base
123 base[type](node, st, c)
132 function findNodeBefore(node, pos, test, base, state) { argument
134 if (!base) base = exports.base
141 base[type](node, st, c)
155 function make(funcs, base) { argument
156 if (!base) base = exports.base
157 var visitor = create(base)
167 var base = {}
169 base.Program = base.BlockStatement = function (node, st, c) {
173 base.Statement = skipThrough
174 base.EmptyStatement = ignore
175 base.ExpressionStatement = base.ParenthesizedExpression =
177 base.IfStatement = function (node, st, c) { method
182 base.LabeledStatement = function (node, st, c) { return c(node.body, st, "Statement"); } method
183 base.BreakStatement = base.ContinueStatement = ignore
184 base.WithStatement = function (node, st, c) { method
188 base.SwitchStatement = function (node, st, c) { method
197 base.ReturnStatement = base.YieldExpression = base.AwaitExpression = function (node, st, c) {
200 base.ThrowStatement = base.SpreadElement =
202 base.TryStatement = function (node, st, c) { method
207 base.CatchClause = function (node, st, c) { method
211 base.WhileStatement = base.DoWhileStatement = function (node, st, c) {
215 base.ForStatement = function (node, st, c) { method
221 base.ForInStatement = base.ForOfStatement = function (node, st, c) {
226 base.ForInit = function (node, st, c) { method
230 base.DebuggerStatement = ignore
232 base.FunctionDeclaration = function (node, st, c) { return c(node, st, "Function"); } method
233 base.VariableDeclaration = function (node, st, c) { method
237 base.VariableDeclarator = function (node, st, c) { method
242 base.Function = function (node, st, c) { method
250 base.ScopeBody = function (node, st, c) { return c(node, st, "Statement"); } method
251 base.ScopeExpression = function (node, st, c) { return c(node, st, "Expression"); } method
253 base.Pattern = function (node, st, c) { method
261 base.VariablePattern = ignore
262 base.MemberPattern = skipThrough
263 base.RestElement = function (node, st, c) { return c(node.argument, st, "Pattern"); } method
264 base.ArrayPattern = function (node, st, c) { method
270 base.ObjectPattern = function (node, st, c) { method
275 base.Expression = skipThrough
276 base.ThisExpression = base.Super = base.MetaProperty = ignore
277 base.ArrayExpression = function (node, st, c) { method
283 base.ObjectExpression = function (node, st, c) { method
287 base.FunctionExpression = base.ArrowFunctionExpression = base.FunctionDeclaration
288 base.SequenceExpression = base.TemplateLiteral = function (node, st, c) {
292 base.UnaryExpression = base.UpdateExpression = function (node, st, c) {
295 base.BinaryExpression = base.LogicalExpression = function (node, st, c) {
299 base.AssignmentExpression = base.AssignmentPattern = function (node, st, c) {
303 base.ConditionalExpression = function (node, st, c) { method
308 base.NewExpression = base.CallExpression = function (node, st, c) {
313 base.MemberExpression = function (node, st, c) { method
317 base.ExportNamedDeclaration = base.ExportDefaultDeclaration = function (node, st, c) {
322 base.ExportAllDeclaration = function (node, st, c) { method
325 base.ImportDeclaration = function (node, st, c) { method
330 base.ImportSpecifier = base.ImportDefaultSpecifier = base.ImportNamespaceSpecifier = base.Identifie…
332 base.TaggedTemplateExpression = function (node, st, c) { method
336 base.ClassDeclaration = base.ClassExpression = function (node, st, c) { return c(node, st, "Class")…
337 base.Class = function (node, st, c) { method
343 base.MethodDefinition = base.Property = function (node, st, c) {
356 exports.base = base;