remove operator property from AssignmentPattern
This commit is contained in:
parent
71bbffa797
commit
79c62ded0a
@ -152,7 +152,6 @@ pp.parseMaybeDefault = function (startPos, startLoc, left) {
|
||||
if (!this.eat(tt.eq)) return left;
|
||||
|
||||
let node = this.startNodeAt(startPos, startLoc);
|
||||
node.operator = "=";
|
||||
node.left = left;
|
||||
node.right = this.parseMaybeAssign();
|
||||
return this.finishNode(node, "AssignmentPattern");
|
||||
|
||||
@ -75,7 +75,6 @@
|
||||
"column": 20
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ArrayPattern",
|
||||
"start": 11,
|
||||
@ -166,4 +165,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,7 +75,6 @@
|
||||
"column": 24
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ObjectPattern",
|
||||
"start": 11,
|
||||
@ -236,4 +235,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,7 +105,6 @@
|
||||
"column": 26
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ObjectPattern",
|
||||
"start": 13,
|
||||
@ -268,4 +267,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -122,7 +122,6 @@
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ObjectPattern",
|
||||
"start": 14,
|
||||
@ -289,4 +288,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -123,7 +123,6 @@
|
||||
"column": 17
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ObjectPattern",
|
||||
"start": 4,
|
||||
@ -289,4 +288,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -138,7 +138,6 @@
|
||||
"column": 23
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "ObjectPattern",
|
||||
"start": 10,
|
||||
@ -305,4 +304,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,7 +105,6 @@
|
||||
"column": 18
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 13,
|
||||
@ -164,4 +163,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,7 +75,6 @@
|
||||
"column": 16
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 11,
|
||||
@ -132,4 +131,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -153,7 +153,6 @@
|
||||
"column": 21
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 18,
|
||||
@ -216,4 +215,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -154,7 +154,6 @@
|
||||
"column": 11
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 8,
|
||||
@ -216,4 +215,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -91,7 +91,6 @@
|
||||
"column": 25
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 19,
|
||||
@ -147,4 +146,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -119,7 +119,6 @@
|
||||
"column": 38
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 15,
|
||||
@ -180,4 +179,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
"column": 28
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 5,
|
||||
@ -180,4 +179,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -86,7 +86,6 @@
|
||||
"column": 28
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 5,
|
||||
@ -145,4 +144,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
"column": 7
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 2,
|
||||
@ -181,4 +180,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -123,7 +123,6 @@
|
||||
"column": 7
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 2,
|
||||
@ -184,4 +183,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -199,7 +199,6 @@
|
||||
"column": 14
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 9,
|
||||
@ -265,4 +264,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,7 +105,6 @@
|
||||
"column": 11
|
||||
}
|
||||
},
|
||||
"operator": "=",
|
||||
"left": {
|
||||
"type": "Identifier",
|
||||
"start": 6,
|
||||
@ -179,4 +178,4 @@
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user