Debian Codegraph @

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

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