1 | var AssignmentExpression = module.exports = function(operator, left, right) {
|
2 | this.type = 'AssignmentExpression',
|
3 | this.operator = operator;
|
4 | this.left = left;
|
5 | this.right = right;
|
6 | this.async = false;
|
7 | };
|
8 |
|
9 | AssignmentExpression.prototype.normalize = function () {
|
10 | this.left.normalize();
|
11 | this.right.normalize();
|
12 | };
|
13 |
|
14 | AssignmentExpression.prototype.transform = function (place) {
|
15 | place = this.right.transform(place);
|
16 | if (this.right.async) {
|
17 | this.async = true;
|
18 | }
|
19 | return place;
|
20 | };
|