Debian Codegraph @

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

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