| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":136,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":136}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":136,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":136}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "IfStatement", |
| 12 | "start":0,"end":136,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":136}}, |
| 13 | "test": { |
| 14 | "type": "LogicalExpression", |
| 15 | "start":4,"end":82,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":82,"index":82}}, |
| 16 | "left": { |
| 17 | "type": "BinaryExpression", |
| 18 | "start":4,"end":17,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":17,"index":17}}, |
| 19 | "left": { |
| 20 | "type": "MemberExpression", |
| 21 | "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}}, |
| 22 | "object": { |
| 23 | "type": "Identifier", |
| 24 | "start":4,"end":8,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":8,"index":8},"identifierName":"args"}, |
| 25 | "name": "args" |
| 26 | }, |
| 27 | "computed": true, |
| 28 | "property": { |
| 29 | "type": "NumericLiteral", |
| 30 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}}, |
| 31 | "extra": { |
| 32 | "rawValue": 0, |
| 33 | "raw": "0" |
| 34 | }, |
| 35 | "value": 0 |
| 36 | } |
| 37 | }, |
| 38 | "operator": "===", |
| 39 | "right": { |
| 40 | "type": "NumericLiteral", |
| 41 | "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17}}, |
| 42 | "extra": { |
| 43 | "rawValue": 1, |
| 44 | "raw": "1" |
| 45 | }, |
| 46 | "value": 1 |
| 47 | } |
| 48 | }, |
| 49 | "operator": "||", |
| 50 | "right": { |
| 51 | "type": "LogicalExpression", |
| 52 | "start":50,"end":81,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":81,"index":81}}, |
| 53 | "left": { |
| 54 | "type": "BinaryExpression", |
| 55 | "start":50,"end":63,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":63,"index":63}}, |
| 56 | "left": { |
| 57 | "type": "MemberExpression", |
| 58 | "start":50,"end":57,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":57,"index":57}}, |
| 59 | "object": { |
| 60 | "type": "Identifier", |
| 61 | "start":50,"end":54,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":54,"index":54},"identifierName":"args"}, |
| 62 | "name": "args" |
| 63 | }, |
| 64 | "computed": true, |
| 65 | "property": { |
| 66 | "type": "NumericLiteral", |
| 67 | "start":55,"end":56,"loc":{"start":{"line":1,"column":55,"index":55},"end":{"line":1,"column":56,"index":56}}, |
| 68 | "extra": { |
| 69 | "rawValue": 0, |
| 70 | "raw": "0" |
| 71 | }, |
| 72 | "value": 0 |
| 73 | } |
| 74 | }, |
| 75 | "operator": "===", |
| 76 | "right": { |
| 77 | "type": "NumericLiteral", |
| 78 | "start":62,"end":63,"loc":{"start":{"line":1,"column":62,"index":62},"end":{"line":1,"column":63,"index":63}}, |
| 79 | "extra": { |
| 80 | "rawValue": 2, |
| 81 | "raw": "2" |
| 82 | }, |
| 83 | "value": 2 |
| 84 | } |
| 85 | }, |
| 86 | "operator": "||", |
| 87 | "right": { |
| 88 | "type": "BinaryExpression", |
| 89 | "start":68,"end":81,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":81,"index":81}}, |
| 90 | "left": { |
| 91 | "type": "MemberExpression", |
| 92 | "start":68,"end":75,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":75,"index":75}}, |
| 93 | "object": { |
| 94 | "type": "Identifier", |
| 95 | "start":68,"end":72,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":72,"index":72},"identifierName":"args"}, |
| 96 | "name": "args" |
| 97 | }, |
| 98 | "computed": true, |
| 99 | "property": { |
| 100 | "type": "NumericLiteral", |
| 101 | "start":73,"end":74,"loc":{"start":{"line":1,"column":73,"index":73},"end":{"line":1,"column":74,"index":74}}, |
| 102 | "extra": { |
| 103 | "rawValue": 0, |
| 104 | "raw": "0" |
| 105 | }, |
| 106 | "value": 0 |
| 107 | } |
| 108 | }, |
| 109 | "operator": "===", |
| 110 | "right": { |
| 111 | "type": "NumericLiteral", |
| 112 | "start":80,"end":81,"loc":{"start":{"line":1,"column":80,"index":80},"end":{"line":1,"column":81,"index":81}}, |
| 113 | "extra": { |
| 114 | "rawValue": 3, |
| 115 | "raw": "3" |
| 116 | }, |
| 117 | "value": 3 |
| 118 | } |
| 119 | }, |
| 120 | "extra": { |
| 121 | "parenthesized": true, |
| 122 | "parenStart": 49 |
| 123 | }, |
| 124 | "leadingComments": [ |
| 125 | { |
| 126 | "type": "CommentBlock", |
| 127 | "value": " istanbul ignore next ", |
| 128 | "start":22,"end":48,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":48,"index":48}} |
| 129 | } |
| 130 | ] |
| 131 | } |
| 132 | }, |
| 133 | "consequent": { |
| 134 | "type": "BlockStatement", |
| 135 | "start":84,"end":112,"loc":{"start":{"line":1,"column":84,"index":84},"end":{"line":3,"column":1,"index":112}}, |
| 136 | "body": [ |
| 137 | { |
| 138 | "type": "ExpressionStatement", |
| 139 | "start":88,"end":110,"loc":{"start":{"line":2,"column":2,"index":88},"end":{"line":2,"column":24,"index":110}}, |
| 140 | "expression": { |
| 141 | "type": "AssignmentExpression", |
| 142 | "start":88,"end":109,"loc":{"start":{"line":2,"column":2,"index":88},"end":{"line":2,"column":23,"index":109}}, |
| 143 | "operator": "=", |
| 144 | "left": { |
| 145 | "type": "Identifier", |
| 146 | "start":88,"end":94,"loc":{"start":{"line":2,"column":2,"index":88},"end":{"line":2,"column":8,"index":94},"identifierName":"output"}, |
| 147 | "name": "output" |
| 148 | }, |
| 149 | "right": { |
| 150 | "type": "BinaryExpression", |
| 151 | "start":97,"end":109,"loc":{"start":{"line":2,"column":11,"index":97},"end":{"line":2,"column":23,"index":109}}, |
| 152 | "left": { |
| 153 | "type": "MemberExpression", |
| 154 | "start":97,"end":104,"loc":{"start":{"line":2,"column":11,"index":97},"end":{"line":2,"column":18,"index":104}}, |
| 155 | "object": { |
| 156 | "type": "Identifier", |
| 157 | "start":97,"end":101,"loc":{"start":{"line":2,"column":11,"index":97},"end":{"line":2,"column":15,"index":101},"identifierName":"args"}, |
| 158 | "name": "args" |
| 159 | }, |
| 160 | "computed": true, |
| 161 | "property": { |
| 162 | "type": "NumericLiteral", |
| 163 | "start":102,"end":103,"loc":{"start":{"line":2,"column":16,"index":102},"end":{"line":2,"column":17,"index":103}}, |
| 164 | "extra": { |
| 165 | "rawValue": 0, |
| 166 | "raw": "0" |
| 167 | }, |
| 168 | "value": 0 |
| 169 | } |
| 170 | }, |
| 171 | "operator": "+", |
| 172 | "right": { |
| 173 | "type": "NumericLiteral", |
| 174 | "start":107,"end":109,"loc":{"start":{"line":2,"column":21,"index":107},"end":{"line":2,"column":23,"index":109}}, |
| 175 | "extra": { |
| 176 | "rawValue": 10, |
| 177 | "raw": "10" |
| 178 | }, |
| 179 | "value": 10 |
| 180 | } |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | ], |
| 185 | "directives": [] |
| 186 | }, |
| 187 | "alternate": { |
| 188 | "type": "BlockStatement", |
| 189 | "start":118,"end":136,"loc":{"start":{"line":3,"column":7,"index":118},"end":{"line":5,"column":1,"index":136}}, |
| 190 | "body": [ |
| 191 | { |
| 192 | "type": "ExpressionStatement", |
| 193 | "start":122,"end":134,"loc":{"start":{"line":4,"column":2,"index":122},"end":{"line":4,"column":14,"index":134}}, |
| 194 | "expression": { |
| 195 | "type": "AssignmentExpression", |
| 196 | "start":122,"end":133,"loc":{"start":{"line":4,"column":2,"index":122},"end":{"line":4,"column":13,"index":133}}, |
| 197 | "operator": "=", |
| 198 | "left": { |
| 199 | "type": "Identifier", |
| 200 | "start":122,"end":128,"loc":{"start":{"line":4,"column":2,"index":122},"end":{"line":4,"column":8,"index":128},"identifierName":"output"}, |
| 201 | "name": "output" |
| 202 | }, |
| 203 | "right": { |
| 204 | "type": "NumericLiteral", |
| 205 | "start":131,"end":133,"loc":{"start":{"line":4,"column":11,"index":131},"end":{"line":4,"column":13,"index":133}}, |
| 206 | "extra": { |
| 207 | "rawValue": 20, |
| 208 | "raw": "20" |
| 209 | }, |
| 210 | "value": 20 |
| 211 | } |
| 212 | } |
| 213 | } |
| 214 | ], |
| 215 | "directives": [] |
| 216 | } |
| 217 | } |
| 218 | ], |
| 219 | "directives": [] |
| 220 | }, |
| 221 | "comments": [ |
| 222 | { |
| 223 | "type": "CommentBlock", |
| 224 | "value": " istanbul ignore next ", |
| 225 | "start":22,"end":48,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":48,"index":48}} |
| 226 | } |
| 227 | ] |
| 228 | } |