Debian Codegraph @

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