Debian Codegraph @

tests/fixtures/ecma-version/11/nullish-coalescing/one-qq.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": 6
11 }
12 },
13 "range": [
14 0,
15 6
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": 6
28 }
29 },
30 "range": [
31 0,
32 6
33 ],
34 "expression": {
35 "type": "LogicalExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 6
44 }
45 },
46 "range": [
47 0,
48 6
49 ],
50 "left": {
51 "type": "Identifier",
52 "loc": {
53 "start": {
54 "line": 1,
55 "column": 0
56 },
57 "end": {
58 "line": 1,
59 "column": 1
60 }
61 },
62 "range": [
63 0,
64 1
65 ],
66 "name": "a"
67 },
68 "operator": "??",
69 "right": {
70 "type": "Identifier",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 5
75 },
76 "end": {
77 "line": 1,
78 "column": 6
79 }
80 },
81 "range": [
82 5,
83 6
84 ],
85 "name": "b"
86 }
87 }
88 }
89 ],
90 "sourceType": "script",
91 "tokens": [
92 {
93 "type": "Identifier",
94 "value": "a",
95 "loc": {
96 "start": {
97 "line": 1,
98 "column": 0
99 },
100 "end": {
101 "line": 1,
102 "column": 1
103 }
104 },
105 "range": [
106 0,
107 1
108 ]
109 },
110 {
111 "type": "Punctuator",
112 "value": "??",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 2
117 },
118 "end": {
119 "line": 1,
120 "column": 4
121 }
122 },
123 "range": [
124 2,
125 4
126 ]
127 },
128 {
129 "type": "Identifier",
130 "value": "b",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 5
135 },
136 "end": {
137 "line": 1,
138 "column": 6
139 }
140 },
141 "range": [
142 5,
143 6
144 ]
145 }
146 ]
147 };