| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}}, |
| 13 |
"expression": { |
| 14 |
"type": "AssignmentExpression", |
| 15 |
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}}, |
| 16 |
"operator": "=", |
| 17 |
"left": { |
| 18 |
"type": "Identifier", |
| 19 |
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"}, |
| 20 |
"name": "x" |
| 21 |
}, |
| 22 |
"right": { |
| 23 |
"type": "ObjectExpression", |
| 24 |
"start":4,"end":14,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":14,"index":14}}, |
| 25 |
"properties": [ |
| 26 |
{ |
| 27 |
"type": "ObjectProperty", |
| 28 |
"start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}}, |
| 29 |
"method": false, |
| 30 |
"key": { |
| 31 |
"type": "Identifier", |
| 32 |
"start":6,"end":8,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":8,"index":8},"identifierName":"if"}, |
| 33 |
"name": "if" |
| 34 |
}, |
| 35 |
"computed": false, |
| 36 |
"shorthand": false, |
| 37 |
"value": { |
| 38 |
"type": "NumericLiteral", |
| 39 |
"start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12}}, |
| 40 |
"extra": { |
| 41 |
"rawValue": 42, |
| 42 |
"raw": "42" |
| 43 |
}, |
| 44 |
"value": 42 |
| 45 |
} |
| 46 |
} |
| 47 |
] |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
], |
| 52 |
"directives": [] |
| 53 |
} |
| 54 |
} |