Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/labels/break/output.json

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