add SpreadProperty to t.getBindingIdentifiers - fixes #734
This commit is contained in:
parent
26d4b5f2cf
commit
b6d708caf2
@ -600,10 +600,11 @@ t.getBindingIdentifiers.keys = {
|
|||||||
VariableDeclarator: ["id"],
|
VariableDeclarator: ["id"],
|
||||||
FunctionDeclaration: ["id"],
|
FunctionDeclaration: ["id"],
|
||||||
ClassDeclaration: ["id"],
|
ClassDeclaration: ["id"],
|
||||||
MemeberExpression: ["object"],
|
MemberExpression: ["object"],
|
||||||
SpreadElement: ["argument"],
|
SpreadElement: ["argument"],
|
||||||
RestElement: ["argument"],
|
RestElement: ["argument"],
|
||||||
UpdateExpression: ["argument"],
|
UpdateExpression: ["argument"],
|
||||||
|
SpreadProperty: ["argument"],
|
||||||
Property: ["value"],
|
Property: ["value"],
|
||||||
ComprehensionBlock: ["left"],
|
ComprehensionBlock: ["left"],
|
||||||
AssignmentPattern: ["left"],
|
AssignmentPattern: ["left"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user