Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":7,"index":15}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":7,"index":15}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "Placeholder",
12 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
13 "name": {
14 "type": "Identifier",
15 "start":2,"end":5,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":5,"index":5},"identifierName":"FOO"},
16 "name": "FOO"
17 },
18 "expectedNode": "Statement"
19 },
20 {
21 "type": "Placeholder",
22 "start":8,"end":15,"loc":{"start":{"line":2,"column":0,"index":8},"end":{"line":2,"column":7,"index":15}},
23 "name": {
24 "type": "Identifier",
25 "start":10,"end":13,"loc":{"start":{"line":2,"column":2,"index":10},"end":{"line":2,"column":5,"index":13},"identifierName":"BAR"},
26 "name": "BAR"
27 },
28 "expectedNode": "Statement"
29 }
30 ],
31 "directives": []
32 }
33 }