| 1 |
{ |
| 2 |
"type": "AssignmentExpression", |
| 3 |
"start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}}, |
| 4 |
"operator": "=", |
| 5 |
"left": { |
| 6 |
"type": "Identifier", |
| 7 |
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"}, |
| 8 |
"name": "x" |
| 9 |
}, |
| 10 |
"right": { |
| 11 |
"type": "ConditionalExpression", |
| 12 |
"start":4,"end":15,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":15,"index":15}}, |
| 13 |
"test": { |
| 14 |
"type": "NumericLiteral", |
| 15 |
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6}}, |
| 16 |
"extra": { |
| 17 |
"rawValue": 0, |
| 18 |
"raw": "0", |
| 19 |
"parenthesized": true, |
| 20 |
"parenStart": 4 |
| 21 |
}, |
| 22 |
"value": 0 |
| 23 |
}, |
| 24 |
"consequent": { |
| 25 |
"type": "NumericLiteral", |
| 26 |
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}}, |
| 27 |
"extra": { |
| 28 |
"rawValue": 1, |
| 29 |
"raw": "1" |
| 30 |
}, |
| 31 |
"value": 1 |
| 32 |
}, |
| 33 |
"alternate": { |
| 34 |
"type": "NumericLiteral", |
| 35 |
"start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}}, |
| 36 |
"extra": { |
| 37 |
"rawValue": 2, |
| 38 |
"raw": "2" |
| 39 |
}, |
| 40 |
"value": 2 |
| 41 |
} |
| 42 |
} |
| 43 |
} |