Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-spread/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
13 "expression": {
14 "type": "ArrayExpression",
15 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
16 "extra": {
17 "trailingComma": 5
18 },
19 "elements": [
20 {
21 "type": "SpreadElement",
22 "start":1,"end":5,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":5,"index":5}},
23 "argument": {
24 "type": "Identifier",
25 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
26 "name": "a"
27 }
28 }
29 ]
30 }
31 }
32 ],
33 "directives": []
34 }
35 }