Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/arrow-functions/object-rest-spread/output.json

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