Debian Codegraph @

tests/fixtures/ecma-version/6/arrowFunctions/multiple-params.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 17
11 }
12 },
13 "range": [
14 0,
15 17
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 17
28 }
29 },
30 "range": [
31 0,
32 17
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 16
44 }
45 },
46 "range": [
47 0,
48 16
49 ],
50 "id": null,
51 "generator": false,
52 "expression": true,
53 "params": [
54 {
55 "type": "Identifier",
56 "loc": {
57 "start": {
58 "line": 1,
59 "column": 1
60 },
61 "end": {
62 "line": 1,
63 "column": 2
64 }
65 },
66 "range": [
67 1,
68 2
69 ],
70 "name": "a"
71 },
72 {
73 "type": "Identifier",
74 "loc": {
75 "start": {
76 "line": 1,
77 "column": 4
78 },
79 "end": {
80 "line": 1,
81 "column": 5
82 }
83 },
84 "range": [
85 4,
86 5
87 ],
88 "name": "b"
89 }
90 ],
91 "body": {
92 "type": "Literal",
93 "loc": {
94 "start": {
95 "line": 1,
96 "column": 10
97 },
98 "end": {
99 "line": 1,
100 "column": 16
101 }
102 },
103 "range": [
104 10,
105 16
106 ],
107 "value": "test",
108 "raw": "\"test\""
109 }
110 }
111 }
112 ],
113 "sourceType": "script",
114 "tokens": [
115 {
116 "type": "Punctuator",
117 "value": "(",
118 "loc": {
119 "start": {
120 "line": 1,
121 "column": 0
122 },
123 "end": {
124 "line": 1,
125 "column": 1
126 }
127 },
128 "range": [
129 0,
130 1
131 ]
132 },
133 {
134 "type": "Identifier",
135 "value": "a",
136 "loc": {
137 "start": {
138 "line": 1,
139 "column": 1
140 },
141 "end": {
142 "line": 1,
143 "column": 2
144 }
145 },
146 "range": [
147 1,
148 2
149 ]
150 },
151 {
152 "type": "Punctuator",
153 "value": ",",
154 "loc": {
155 "start": {
156 "line": 1,
157 "column": 2
158 },
159 "end": {
160 "line": 1,
161 "column": 3
162 }
163 },
164 "range": [
165 2,
166 3
167 ]
168 },
169 {
170 "type": "Identifier",
171 "value": "b",
172 "loc": {
173 "start": {
174 "line": 1,
175 "column": 4
176 },
177 "end": {
178 "line": 1,
179 "column": 5
180 }
181 },
182 "range": [
183 4,
184 5
185 ]
186 },
187 {
188 "type": "Punctuator",
189 "value": ")",
190 "loc": {
191 "start": {
192 "line": 1,
193 "column": 5
194 },
195 "end": {
196 "line": 1,
197 "column": 6
198 }
199 },
200 "range": [
201 5,
202 6
203 ]
204 },
205 {
206 "type": "Punctuator",
207 "value": "=>",
208 "loc": {
209 "start": {
210 "line": 1,
211 "column": 7
212 },
213 "end": {
214 "line": 1,
215 "column": 9
216 }
217 },
218 "range": [
219 7,
220 9
221 ]
222 },
223 {
224 "type": "String",
225 "value": "\"test\"",
226 "loc": {
227 "start": {
228 "line": 1,
229 "column": 10
230 },
231 "end": {
232 "line": 1,
233 "column": 16
234 }
235 },
236 "range": [
237 10,
238 16
239 ]
240 },
241 {
242 "type": "Punctuator",
243 "value": ";",
244 "loc": {
245 "start": {
246 "line": 1,
247 "column": 16
248 },
249 "end": {
250 "line": 1,
251 "column": 17
252 }
253 },
254 "range": [
255 16,
256 17
257 ]
258 }
259 ]
260 };