Debian Codegraph @

tests/fixtures/ecma-version/12/logical-assignment-operators/and.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": 7
11 }
12 },
13 "range": [
14 0,
15 7
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": 7
28 }
29 },
30 "range": [
31 0,
32 7
33 ],
34 "expression": {
35 "type": "AssignmentExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 7
44 }
45 },
46 "range": [
47 0,
48 7
49 ],
50 "operator": "&&=",
51 "left": {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 0
57 },
58 "end": {
59 "line": 1,
60 "column": 1
61 }
62 },
63 "range": [
64 0,
65 1
66 ],
67 "name": "a"
68 },
69 "right": {
70 "type": "Identifier",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 6
75 },
76 "end": {
77 "line": 1,
78 "column": 7
79 }
80 },
81 "range": [
82 6,
83 7
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": 5
121 }
122 },
123 "range": [
124 2,
125 5
126 ]
127 },
128 {
129 "type": "Identifier",
130 "value": "b",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 6
135 },
136 "end": {
137 "line": 1,
138 "column": 7
139 }
140 },
141 "range": [
142 6,
143 7
144 ]
145 }
146 ]
147 };