mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"type": "ConditionalExpression",
|
|
"start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
|
|
"test": {
|
|
"type": "LogicalExpression",
|
|
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"y"},
|
|
"name": "y"
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "NumericLiteral",
|
|
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
},
|
|
"alternate": {
|
|
"type": "NumericLiteral",
|
|
"start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}},
|
|
"extra": {
|
|
"rawValue": 2,
|
|
"raw": "2"
|
|
},
|
|
"value": 2
|
|
}
|
|
}
|