Debian Codegraph @

tests/fixtures/ecma-version/6/templateStrings-and-unicodeCodePointEscapes/template-strings-unicode-escape.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": 47
11 }
12 },
13 "range": [
14 0,
15 47
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": 47
28 }
29 },
30 "range": [
31 0,
32 47
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": 46
45 }
46 },
47 "range": [
48 4,
49 46
50 ],
51 "id": {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 4
57 },
58 "end": {
59 "line": 1,
60 "column": 6
61 }
62 },
63 "range": [
64 4,
65 6
66 ],
67 "name": "ts"
68 },
69 "init": {
70 "type": "TemplateLiteral",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 9
75 },
76 "end": {
77 "line": 1,
78 "column": 46
79 }
80 },
81 "range": [
82 9,
83 46
84 ],
85 "expressions": [],
86 "quasis": [
87 {
88 "type": "TemplateElement",
89 "loc": {
90 "start": {
91 "line": 1,
92 "column": 9
93 },
94 "end": {
95 "line": 1,
96 "column": 46
97 }
98 },
99 "range": [
100 9,
101 46
102 ],
103 "value": {
104 "raw": "\\\\u{000042}\\\\u0042\\\\x42\\\\u0\\\\102\\\\A",
105 "cooked": "\\u{000042}\\u0042\\x42\\u0\\102\\A"
106 },
107 "tail": true
108 }
109 ]
110 }
111 }
112 ],
113 "kind": "var"
114 }
115 ],
116 "sourceType": "script",
117 "tokens": [
118 {
119 "type": "Keyword",
120 "value": "var",
121 "loc": {
122 "start": {
123 "line": 1,
124 "column": 0
125 },
126 "end": {
127 "line": 1,
128 "column": 3
129 }
130 },
131 "range": [
132 0,
133 3
134 ]
135 },
136 {
137 "type": "Identifier",
138 "value": "ts",
139 "loc": {
140 "start": {
141 "line": 1,
142 "column": 4
143 },
144 "end": {
145 "line": 1,
146 "column": 6
147 }
148 },
149 "range": [
150 4,
151 6
152 ]
153 },
154 {
155 "type": "Punctuator",
156 "value": "=",
157 "loc": {
158 "start": {
159 "line": 1,
160 "column": 7
161 },
162 "end": {
163 "line": 1,
164 "column": 8
165 }
166 },
167 "range": [
168 7,
169 8
170 ]
171 },
172 {
173 "type": "Template",
174 "value": "`\\\\u{000042}\\\\u0042\\\\x42\\\\u0\\\\102\\\\A`",
175 "loc": {
176 "start": {
177 "line": 1,
178 "column": 9
179 },
180 "end": {
181 "line": 1,
182 "column": 46
183 }
184 },
185 "range": [
186 9,
187 46
188 ]
189 },
190 {
191 "type": "Punctuator",
192 "value": ";",
193 "loc": {
194 "start": {
195 "line": 1,
196 "column": 46
197 },
198 "end": {
199 "line": 1,
200 "column": 47
201 }
202 },
203 "range": [
204 46,
205 47
206 ]
207 }
208 ]
209 };