Debian Codegraph @

tests/fixtures/ecma-version/6/edge-cases/var-let-declaration.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": 12
11 }
12 },
13 "range": [
14 0,
15 12
16 ],
17 "body": [
18 {
19 "type": "VariableDeclaration",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 12
28 }
29 },
30 "range": [
31 0,
32 12
33 ],
34 "declarations": [
35 {
36 "type": "VariableDeclarator",
37 "loc": {
38 "start": {
39 "line": 1,
40 "column": 4
41 },
42 "end": {
43 "line": 1,
44 "column": 11
45 }
46 },
47 "range": [
48 4,
49 11
50 ],
51 "id": {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 4
57 },
58 "end": {
59 "line": 1,
60 "column": 7
61 }
62 },
63 "range": [
64 4,
65 7
66 ],
67 "name": "let"
68 },
69 "init": {
70 "type": "Identifier",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 10
75 },
76 "end": {
77 "line": 1,
78 "column": 11
79 }
80 },
81 "range": [
82 10,
83 11
84 ],
85 "name": "a"
86 }
87 }
88 ],
89 "kind": "var"
90 }
91 ],
92 "sourceType": "script",
93 "tokens": [
94 {
95 "type": "Keyword",
96 "value": "var",
97 "loc": {
98 "start": {
99 "line": 1,
100 "column": 0
101 },
102 "end": {
103 "line": 1,
104 "column": 3
105 }
106 },
107 "range": [
108 0,
109 3
110 ]
111 },
112 {
113 "type": "Keyword",
114 "value": "let",
115 "loc": {
116 "start": {
117 "line": 1,
118 "column": 4
119 },
120 "end": {
121 "line": 1,
122 "column": 7
123 }
124 },
125 "range": [
126 4,
127 7
128 ]
129 },
130 {
131 "type": "Punctuator",
132 "value": "=",
133 "loc": {
134 "start": {
135 "line": 1,
136 "column": 8
137 },
138 "end": {
139 "line": 1,
140 "column": 9
141 }
142 },
143 "range": [
144 8,
145 9
146 ]
147 },
148 {
149 "type": "Identifier",
150 "value": "a",
151 "loc": {
152 "start": {
153 "line": 1,
154 "column": 10
155 },
156 "end": {
157 "line": 1,
158 "column": 11
159 }
160 },
161 "range": [
162 10,
163 11
164 ]
165 },
166 {
167 "type": "Punctuator",
168 "value": ";",
169 "loc": {
170 "start": {
171 "line": 1,
172 "column": 11
173 },
174 "end": {
175 "line": 1,
176 "column": 12
177 }
178 },
179 "range": [
180 11,
181 12
182 ]
183 }
184 ]
185 };