Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/459/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 "errors": [
5 "SyntaxError: Unsyntactic break. (1:15)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "WhileStatement",
15 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
16 "test": {
17 "type": "BooleanLiteral",
18 "start":7,"end":11,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":11,"index":11}},
19 "value": true
20 },
21 "body": {
22 "type": "BlockStatement",
23 "start":13,"end":25,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":25,"index":25}},
24 "body": [
25 {
26 "type": "BreakStatement",
27 "start":15,"end":23,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":23,"index":23}},
28 "label": {
29 "type": "Identifier",
30 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
31 "name": "x"
32 }
33 }
34 ],
35 "directives": []
36 }
37 }
38 ],
39 "directives": []
40 }
41 }