Debian Codegraph @

tests/fixtures/ecma-version/6/arrowFunctions/single-param-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": 14
11 }
12 },
13 "range": [
14 0,
15 14
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": 14
28 }
29 },
30 "range": [
31 0,
32 14
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 13
44 }
45 },
46 "range": [
47 0,
48 13
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": "e"
71 }
72 ],
73 "body": {
74 "type": "Literal",
75 "loc": {
76 "start": {
77 "line": 1,
78 "column": 7
79 },
80 "end": {
81 "line": 1,
82 "column": 13
83 }
84 },
85 "range": [
86 7,
87 13
88 ],
89 "value": "test",
90 "raw": "\"test\""
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": "e",
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": "String",
171 "value": "\"test\"",
172 "loc": {
173 "start": {
174 "line": 1,
175 "column": 7
176 },
177 "end": {
178 "line": 1,
179 "column": 13
180 }
181 },
182 "range": [
183 7,
184 13
185 ]
186 },
187 {
188 "type": "Punctuator",
189 "value": ";",
190 "loc": {
191 "start": {
192 "line": 1,
193 "column": 13
194 },
195 "end": {
196 "line": 1,
197 "column": 14
198 }
199 },
200 "range": [
201 13,
202 14
203 ]
204 }
205 ]
206 };