Debian Codegraph @

packages/babel-parser/test/expressions/esprima/expression-conditional/migrated_0000/output.json

raw
1 {
2 "type": "ConditionalExpression",
3 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
4 "test": {
5 "type": "Identifier",
6 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"y"},
7 "name": "y"
8 },
9 "consequent": {
10 "type": "NumericLiteral",
11 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
12 "extra": {
13 "rawValue": 1,
14 "raw": "1"
15 },
16 "value": 1
17 },
18 "alternate": {
19 "type": "NumericLiteral",
20 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}},
21 "extra": {
22 "rawValue": 2,
23 "raw": "2"
24 },
25 "value": 2
26 }
27 }