1 | var ObjectExpression = module.exports = function(properties) {
|
2 | this.type = 'ObjectExpression';
|
3 | this.properties = properties;
|
4 | };
|
5 |
|
6 | ObjectExpression.prototype.normalize = function (place) {
|
7 | for (var i = 0; i < this.properties.length; i++) {
|
8 | this.properties[i].normalize(place);
|
9 | }
|
10 | };
|
11 |
|
12 | ObjectExpression.prototype.transform = function (place) {
|
13 | for (var i = 0; i < this.properties.length; i++) {
|
14 | place = this.properties[i].transform(place);
|
15 | }
|
16 | return place;
|
17 | };
|