Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/165/output.json

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