Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":24,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":24,"index":24}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "ObjectPattern",
22 "start":10,"end":19,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":19,"index":19}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12}},
27 "key": {
28 "type": "Identifier",
29 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"x"},
30 "name": "x"
31 },
32 "computed": false,
33 "method": false,
34 "shorthand": true,
35 "value": {
36 "type": "Identifier",
37 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"x"},
38 "name": "x"
39 },
40 "extra": {
41 "shorthand": true
42 }
43 },
44 {
45 "type": "RestElement",
46 "start":14,"end":18,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":18,"index":18}},
47 "argument": {
48 "type": "Identifier",
49 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"y"},
50 "name": "y"
51 }
52 }
53 ]
54 }
55 ],
56 "body": {
57 "type": "BlockStatement",
58 "start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24}},
59 "body": [],
60 "directives": []
61 },
62 "extra": {
63 "parenthesized": true,
64 "parenStart": 0
65 }
66 }
67 }
68 ],
69 "directives": []
70 }
71 }