Debian Codegraph @

tests/fixtures/ecma-version/8/not-strict/arrow-func-parens.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": 9
11 }
12 },
13 "range": [
14 0,
15 9
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": 9
28 }
29 },
30 "range": [
31 0,
32 9
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 8
44 }
45 },
46 "range": [
47 0,
48 8
49 ],
50 "id": null,
51 "generator": false,
52 "expression": true,
53 "async": false,
54 "params": [
55 {
56 "type": "Identifier",
57 "loc": {
58 "start": {
59 "line": 1,
60 "column": 1
61 },
62 "end": {
63 "line": 1,
64 "column": 2
65 }
66 },
67 "range": [
68 1,
69 2
70 ],
71 "name": "a"
72 }
73 ],
74 "body": {
75 "type": "Identifier",
76 "loc": {
77 "start": {
78 "line": 1,
79 "column": 7
80 },
81 "end": {
82 "line": 1,
83 "column": 8
84 }
85 },
86 "range": [
87 7,
88 8
89 ],
90 "name": "a"
91 }
92 }
93 }
94 ],
95 "sourceType": "script",
96 "tokens": [
97 {
98 "type": "Punctuator",
99 "value": "(",
100 "loc": {
101 "start": {
102 "line": 1,
103 "column": 0
104 },
105 "end": {
106 "line": 1,
107 "column": 1
108 }
109 },
110 "range": [
111 0,
112 1
113 ]
114 },
115 {
116 "type": "Identifier",
117 "value": "a",
118 "loc": {
119 "start": {
120 "line": 1,
121 "column": 1
122 },
123 "end": {
124 "line": 1,
125 "column": 2
126 }
127 },
128 "range": [
129 1,
130 2
131 ]
132 },
133 {
134 "type": "Punctuator",
135 "value": ")",
136 "loc": {
137 "start": {
138 "line": 1,
139 "column": 2
140 },
141 "end": {
142 "line": 1,
143 "column": 3
144 }
145 },
146 "range": [
147 2,
148 3
149 ]
150 },
151 {
152 "type": "Punctuator",
153 "value": "=>",
154 "loc": {
155 "start": {
156 "line": 1,
157 "column": 4
158 },
159 "end": {
160 "line": 1,
161 "column": 6
162 }
163 },
164 "range": [
165 4,
166 6
167 ]
168 },
169 {
170 "type": "Identifier",
171 "value": "a",
172 "loc": {
173 "start": {
174 "line": 1,
175 "column": 7
176 },
177 "end": {
178 "line": 1,
179 "column": 8
180 }
181 },
182 "range": [
183 7,
184 8
185 ]
186 },
187 {
188 "type": "Punctuator",
189 "value": ";",
190 "loc": {
191 "start": {
192 "line": 1,
193 "column": 8
194 },
195 "end": {
196 "line": 1,
197 "column": 9
198 }
199 },
200 "range": [
201 8,
202 9
203 ]
204 }
205 ]
206 }