Debian Codegraph @

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

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