Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/197/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
13 "expression": {
14 "type": "ConditionalExpression",
15 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
16 "test": {
17 "type": "Identifier",
18 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"y"},
19 "name": "y"
20 },
21 "consequent": {
22 "type": "NumericLiteral",
23 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
24 "extra": {
25 "rawValue": 1,
26 "raw": "1"
27 },
28 "value": 1
29 },
30 "alternate": {
31 "type": "NumericLiteral",
32 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}},
33 "extra": {
34 "rawValue": 2,
35 "raw": "2"
36 },
37 "value": 2
38 }
39 }
40 }
41 ],
42 "directives": []
43 }
44 }