Teach the walker about Super and MetaProperty
This commit is contained in:
parent
2ed8f8f2b8
commit
659f2c9091
@ -227,7 +227,7 @@ base.Function = (node, st, c) => c(node.body, st, "ScopeBody")
|
||||
base.ScopeBody = (node, st, c) => c(node, st, "Statement")
|
||||
|
||||
base.Expression = skipThrough
|
||||
base.ThisExpression = ignore
|
||||
base.ThisExpression = base.Super = base.MetaProperty = ignore
|
||||
base.ArrayExpression = base.ArrayPattern = (node, st, c) => {
|
||||
for (let i = 0; i < node.elements.length; ++i) {
|
||||
let elt = node.elements[i]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user