Lines Matching full:base
15 // The base argument can be used to pass a custom (recursive)
19 function simple(node, visitors, base, state, override) { argument
20 if (!base) base = exports.base
23 base[type](node, st, c)
31 function ancestor(node, visitors, base, state) { argument
32 if (!base) base = exports.base
38 base[type](node, st, c)
49 function recursive(node, state, funcs, base, override) { argument
50 var visitor = funcs ? exports.make(funcs, base) : base
70 function findNodeAt(node, start, end, test, base, state) { argument
72 if (!base) base = exports.base
78 base[type](node, st, c)
92 function findNodeAround(node, pos, test, base, state) { argument
94 if (!base) base = exports.base
99 base[type](node, st, c)
109 function findNodeAfter(node, pos, test, base, state) { argument
111 if (!base) base = exports.base
117 base[type](node, st, c)
126 function findNodeBefore(node, pos, test, base, state) { argument
128 if (!base) base = exports.base
135 base[type](node, st, c)
149 function make(funcs, base) { argument
150 if (!base) base = exports.base
151 var visitor = create(base)
161 var base = {}
163 base.Program = base.BlockStatement = function (node, st, c) {
167 base.Statement = skipThrough
168 base.EmptyStatement = ignore
169 base.ExpressionStatement = base.ParenthesizedExpression =
171 base.IfStatement = function (node, st, c) { method
176 base.LabeledStatement = function (node, st, c) { return c(node.body, st, "Statement"); } method
177 base.BreakStatement = base.ContinueStatement = ignore
178 base.WithStatement = function (node, st, c) { method
182 base.SwitchStatement = function (node, st, c) { method
191 base.ReturnStatement = base.YieldExpression = base.AwaitExpression = function (node, st, c) {
194 base.ThrowStatement = base.SpreadElement =
196 base.TryStatement = function (node, st, c) { method
201 base.CatchClause = function (node, st, c) { method
205 base.WhileStatement = base.DoWhileStatement = function (node, st, c) {
209 base.ForStatement = function (node, st, c) { method
215 base.ForInStatement = base.ForOfStatement = function (node, st, c) {
220 base.ForInit = function (node, st, c) { method
224 base.DebuggerStatement = ignore
226 base.FunctionDeclaration = function (node, st, c) { return c(node, st, "Function"); } method
227 base.VariableDeclaration = function (node, st, c) { method
231 base.VariableDeclarator = function (node, st, c) { method
236 base.Function = function (node, st, c) { method
244 base.ScopeBody = function (node, st, c) { return c(node, st, "Statement"); } method
245 base.ScopeExpression = function (node, st, c) { return c(node, st, "Expression"); } method
247 base.Pattern = function (node, st, c) { method
255 base.VariablePattern = ignore
256 base.MemberPattern = skipThrough
257 base.RestElement = function (node, st, c) { return c(node.argument, st, "Pattern"); } method
258 base.ArrayPattern = function (node, st, c) { method
264 base.ObjectPattern = function (node, st, c) { method
269 base.Expression = skipThrough
270 base.ThisExpression = base.Super = base.MetaProperty = ignore
271 base.ArrayExpression = function (node, st, c) { method
277 base.ObjectExpression = function (node, st, c) { method
281 base.FunctionExpression = base.ArrowFunctionExpression = base.FunctionDeclaration
282 base.SequenceExpression = base.TemplateLiteral = function (node, st, c) {
286 base.UnaryExpression = base.UpdateExpression = function (node, st, c) {
289 base.BinaryExpression = base.LogicalExpression = function (node, st, c) {
293 base.AssignmentExpression = base.AssignmentPattern = function (node, st, c) {
297 base.ConditionalExpression = function (node, st, c) { method
302 base.NewExpression = base.CallExpression = function (node, st, c) {
307 base.MemberExpression = function (node, st, c) { method
311 base.ExportNamedDeclaration = base.ExportDefaultDeclaration = function (node, st, c) {
316 base.ExportAllDeclaration = function (node, st, c) { method
319 base.ImportDeclaration = function (node, st, c) { method
324 base.ImportSpecifier = base.ImportDefaultSpecifier = base.ImportNamespaceSpecifier = base.Identifie…
326 base.TaggedTemplateExpression = function (node, st, c) { method
330 base.ClassDeclaration = base.ClassExpression = function (node, st, c) { return c(node, st, "Class")…
331 base.Class = function (node, st, c) { method
337 base.MethodDefinition = base.Property = function (node, st, c) {
342 …mple, ancestor, recursive, findNodeAt, findNodeAround, findNodeAfter, findNodeBefore, make, base };