Debian Codegraph @

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

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