Debian Codegraph @

tests/fixtures/ecma-version/6/modules/export-var-number.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": 19
11 }
12 },
13 "range": [
14 0,
15 19
16 ],
17 "body": [
18 {
19 "type": "ExportNamedDeclaration",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 19
28 }
29 },
30 "range": [
31 0,
32 19
33 ],
34 "declaration": {
35 "type": "VariableDeclaration",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 7
40 },
41 "end": {
42 "line": 1,
43 "column": 19
44 }
45 },
46 "range": [
47 7,
48 19
49 ],
50 "declarations": [
51 {
52 "type": "VariableDeclarator",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 11
57 },
58 "end": {
59 "line": 1,
60 "column": 18
61 }
62 },
63 "range": [
64 11,
65 18
66 ],
67 "id": {
68 "type": "Identifier",
69 "loc": {
70 "start": {
71 "line": 1,
72 "column": 11
73 },
74 "end": {
75 "line": 1,
76 "column": 14
77 }
78 },
79 "range": [
80 11,
81 14
82 ],
83 "name": "foo"
84 },
85 "init": {
86 "type": "Literal",
87 "loc": {
88 "start": {
89 "line": 1,
90 "column": 17
91 },
92 "end": {
93 "line": 1,
94 "column": 18
95 }
96 },
97 "range": [
98 17,
99 18
100 ],
101 "value": 1,
102 "raw": "1"
103 }
104 }
105 ],
106 "kind": "var"
107 },
108 "specifiers": [],
109 "source": null
110 }
111 ],
112 "sourceType": "module",
113 "tokens": [
114 {
115 "type": "Keyword",
116 "value": "export",
117 "loc": {
118 "start": {
119 "line": 1,
120 "column": 0
121 },
122 "end": {
123 "line": 1,
124 "column": 6
125 }
126 },
127 "range": [
128 0,
129 6
130 ]
131 },
132 {
133 "type": "Keyword",
134 "value": "var",
135 "loc": {
136 "start": {
137 "line": 1,
138 "column": 7
139 },
140 "end": {
141 "line": 1,
142 "column": 10
143 }
144 },
145 "range": [
146 7,
147 10
148 ]
149 },
150 {
151 "type": "Identifier",
152 "value": "foo",
153 "loc": {
154 "start": {
155 "line": 1,
156 "column": 11
157 },
158 "end": {
159 "line": 1,
160 "column": 14
161 }
162 },
163 "range": [
164 11,
165 14
166 ]
167 },
168 {
169 "type": "Punctuator",
170 "value": "=",
171 "loc": {
172 "start": {
173 "line": 1,
174 "column": 15
175 },
176 "end": {
177 "line": 1,
178 "column": 16
179 }
180 },
181 "range": [
182 15,
183 16
184 ]
185 },
186 {
187 "type": "Numeric",
188 "value": "1",
189 "loc": {
190 "start": {
191 "line": 1,
192 "column": 17
193 },
194 "end": {
195 "line": 1,
196 "column": 18
197 }
198 },
199 "range": [
200 17,
201 18
202 ]
203 },
204 {
205 "type": "Punctuator",
206 "value": ";",
207 "loc": {
208 "start": {
209 "line": 1,
210 "column": 18
211 },
212 "end": {
213 "line": 1,
214 "column": 19
215 }
216 },
217 "range": [
218 18,
219 19
220 ]
221 }
222 ]
223 };