remove operator property from AssignmentPattern

This commit is contained in:
Sebastian McKenzie 2015-08-05 21:45:11 +01:00
parent 71bbffa797
commit 79c62ded0a
19 changed files with 18 additions and 37 deletions

View File

@ -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");

View File

@ -75,7 +75,6 @@
"column": 20
}
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"start": 11,
@ -166,4 +165,4 @@
]
},
"comments": []
}
}

View File

@ -75,7 +75,6 @@
"column": 24
}
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 11,
@ -236,4 +235,4 @@
]
},
"comments": []
}
}

View File

@ -105,7 +105,6 @@
"column": 26
}
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 13,
@ -268,4 +267,4 @@
]
},
"comments": []
}
}

View File

@ -122,7 +122,6 @@
"column": 27
}
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 14,
@ -289,4 +288,4 @@
]
},
"comments": []
}
}

View File

@ -123,7 +123,6 @@
"column": 17
}
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 4,
@ -289,4 +288,4 @@
]
},
"comments": []
}
}

View File

@ -138,7 +138,6 @@
"column": 23
}
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 10,
@ -305,4 +304,4 @@
]
},
"comments": []
}
}

View File

@ -105,7 +105,6 @@
"column": 18
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 13,
@ -164,4 +163,4 @@
]
},
"comments": []
}
}

View File

@ -75,7 +75,6 @@
"column": 16
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 11,
@ -132,4 +131,4 @@
]
},
"comments": []
}
}

View File

@ -153,7 +153,6 @@
"column": 21
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 18,
@ -216,4 +215,4 @@
]
},
"comments": []
}
}

View File

@ -154,7 +154,6 @@
"column": 11
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 8,
@ -216,4 +215,4 @@
]
},
"comments": []
}
}

View File

@ -91,7 +91,6 @@
"column": 25
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 19,
@ -147,4 +146,4 @@
}
]
}
}
}

View File

@ -119,7 +119,6 @@
"column": 38
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 15,
@ -180,4 +179,4 @@
]
},
"comments": []
}
}

View File

@ -120,7 +120,6 @@
"column": 28
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5,
@ -180,4 +179,4 @@
]
},
"comments": []
}
}

View File

@ -86,7 +86,6 @@
"column": 28
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5,
@ -145,4 +144,4 @@
]
},
"comments": []
}
}

View File

@ -120,7 +120,6 @@
"column": 7
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2,
@ -181,4 +180,4 @@
]
},
"comments": []
}
}

View File

@ -123,7 +123,6 @@
"column": 7
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2,
@ -184,4 +183,4 @@
]
},
"comments": []
}
}

View File

@ -199,7 +199,6 @@
"column": 14
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 9,
@ -265,4 +264,4 @@
]
},
"comments": []
}
}

View File

@ -105,7 +105,6 @@
"column": 11
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 6,
@ -179,4 +178,4 @@
]
},
"comments": []
}
}