Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
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":37,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":37,"index":37}},
24 "properties": [
25 {
26 "type": "ObjectProperty",
27 "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24}},
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": false,
36 "value": {
37 "type": "ObjectPattern",
38 "start":16,"end":24,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":24,"index":24}},
39 "properties": [
40 {
41 "type": "ObjectProperty",
42 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
43 "key": {
44 "type": "Identifier",
45 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"w"},
46 "name": "w"
47 },
48 "computed": false,
49 "method": false,
50 "shorthand": true,
51 "value": {
52 "type": "Identifier",
53 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"w"},
54 "name": "w"
55 },
56 "extra": {
57 "shorthand": true
58 }
59 },
60 {
61 "type": "ObjectProperty",
62 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22}},
63 "key": {
64 "type": "Identifier",
65 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
66 "name": "x"
67 },
68 "computed": false,
69 "method": false,
70 "shorthand": true,
71 "value": {
72 "type": "Identifier",
73 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
74 "name": "x"
75 },
76 "extra": {
77 "shorthand": true
78 }
79 }
80 ]
81 }
82 },
83 {
84 "type": "ObjectProperty",
85 "start":26,"end":35,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":35,"index":35}},
86 "key": {
87 "type": "Identifier",
88 "start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27},"identifierName":"b"},
89 "name": "b"
90 },
91 "computed": false,
92 "method": false,
93 "shorthand": false,
94 "value": {
95 "type": "ArrayPattern",
96 "start":29,"end":35,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":35,"index":35}},
97 "elements": [
98 {
99 "type": "Identifier",
100 "start":30,"end":31,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":31,"index":31},"identifierName":"y"},
101 "name": "y"
102 },
103 {
104 "type": "Identifier",
105 "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"z"},
106 "name": "z"
107 }
108 ]
109 }
110 }
111 ]
112 },
113 {
114 "type": "RestElement",
115 "start":39,"end":51,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":51,"index":51}},
116 "argument": {
117 "type": "ArrayPattern",
118 "start":42,"end":51,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":51,"index":51}},
119 "elements": [
120 {
121 "type": "Identifier",
122 "start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44},"identifierName":"a"},
123 "name": "a"
124 },
125 {
126 "type": "Identifier",
127 "start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47},"identifierName":"b"},
128 "name": "b"
129 },
130 {
131 "type": "Identifier",
132 "start":49,"end":50,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":50,"index":50},"identifierName":"c"},
133 "name": "c"
134 }
135 ]
136 }
137 }
138 ],
139 "body": {
140 "type": "BlockStatement",
141 "start":52,"end":54,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":54,"index":54}},
142 "body": [],
143 "directives": []
144 }
145 }
146 ],
147 "directives": []
148 }
149 }