Debian Codegraph @

tests/fixtures/ecma-version/6/templateStrings/simple-template-string.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": 5
11 }
12 },
13 "range": [
14 0,
15 5
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": 5
28 }
29 },
30 "range": [
31 0,
32 5
33 ],
34 "expression": {
35 "type": "TemplateLiteral",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 4
44 }
45 },
46 "range": [
47 0,
48 4
49 ],
50 "expressions": [],
51 "quasis": [
52 {
53 "type": "TemplateElement",
54 "loc": {
55 "start": {
56 "line": 1,
57 "column": 0
58 },
59 "end": {
60 "line": 1,
61 "column": 4
62 }
63 },
64 "range": [
65 0,
66 4
67 ],
68 "value": {
69 "raw": "42",
70 "cooked": "42"
71 },
72 "tail": true
73 }
74 ]
75 }
76 }
77 ],
78 "sourceType": "script",
79 "tokens": [
80 {
81 "type": "Template",
82 "value": "`42`",
83 "loc": {
84 "start": {
85 "line": 1,
86 "column": 0
87 },
88 "end": {
89 "line": 1,
90 "column": 4
91 }
92 },
93 "range": [
94 0,
95 4
96 ]
97 },
98 {
99 "type": "Punctuator",
100 "value": ";",
101 "loc": {
102 "start": {
103 "line": 1,
104 "column": 4
105 },
106 "end": {
107 "line": 1,
108 "column": 5
109 }
110 },
111 "range": [
112 4,
113 5
114 ]
115 }
116 ]
117 };