Debian Codegraph @

packages/babel-parser/test/fixtures/es2018/object-rest-spread/comma-after-spread/output.json

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