Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/statements/label-valid-func-non-strict/output.json

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