Debian Codegraph @

tests/fixtures/ecma-version/8/modules/arrow-func.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": 7
11 }
12 },
13 "range": [
14 0,
15 7
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": 7
28 }
29 },
30 "range": [
31 0,
32 7
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 6
44 }
45 },
46 "range": [
47 0,
48 6
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": 0
61 },
62 "end": {
63 "line": 1,
64 "column": 1
65 }
66 },
67 "range": [
68 0,
69 1
70 ],
71 "name": "a"
72 }
73 ],
74 "body": {
75 "type": "Identifier",
76 "loc": {
77 "start": {
78 "line": 1,
79 "column": 5
80 },
81 "end": {
82 "line": 1,
83 "column": 6
84 }
85 },
86 "range": [
87 5,
88 6
89 ],
90 "name": "a"
91 }
92 }
93 }
94 ],
95 "sourceType": "module",
96 "tokens": [
97 {
98 "type": "Identifier",
99 "value": "a",
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": "Punctuator",
117 "value": "=>",
118 "loc": {
119 "start": {
120 "line": 1,
121 "column": 2
122 },
123 "end": {
124 "line": 1,
125 "column": 4
126 }
127 },
128 "range": [
129 2,
130 4
131 ]
132 },
133 {
134 "type": "Identifier",
135 "value": "a",
136 "loc": {
137 "start": {
138 "line": 1,
139 "column": 5
140 },
141 "end": {
142 "line": 1,
143 "column": 6
144 }
145 },
146 "range": [
147 5,
148 6
149 ]
150 },
151 {
152 "type": "Punctuator",
153 "value": ";",
154 "loc": {
155 "start": {
156 "line": 1,
157 "column": 6
158 },
159 "end": {
160 "line": 1,
161 "column": 7
162 }
163 },
164 "range": [
165 6,
166 7
167 ]
168 }
169 ]
170 }