| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":83,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":83}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":83,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":83}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":0,"end":83,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":83}}, |
| 13 |
"expression": { |
| 14 |
"type": "BinaryExpression", |
| 15 |
"start":0,"end":83,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":83}}, |
| 16 |
"left": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"}, |
| 19 |
"name": "value" |
| 20 |
}, |
| 21 |
"operator": "|>", |
| 22 |
"right": { |
| 23 |
"type": "DoExpression", |
| 24 |
"start":9,"end":83,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":7,"column":1,"index":83}}, |
| 25 |
"async": false, |
| 26 |
"body": { |
| 27 |
"type": "BlockStatement", |
| 28 |
"start":12,"end":83,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":7,"column":1,"index":83}}, |
| 29 |
"body": [ |
| 30 |
{ |
| 31 |
"type": "SwitchStatement", |
| 32 |
"start":16,"end":81,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":6,"column":3,"index":81}}, |
| 33 |
"discriminant": { |
| 34 |
"type": "TopicReference", |
| 35 |
"start":24,"end":25,"loc":{"start":{"line":2,"column":10,"index":24},"end":{"line":2,"column":11,"index":25}} |
| 36 |
}, |
| 37 |
"cases": [ |
| 38 |
{ |
| 39 |
"type": "SwitchCase", |
| 40 |
"start":33,"end":44,"loc":{"start":{"line":3,"column":4,"index":33},"end":{"line":3,"column":15,"index":44}}, |
| 41 |
"consequent": [ |
| 42 |
{ |
| 43 |
"type": "ExpressionStatement", |
| 44 |
"start":41,"end":44,"loc":{"start":{"line":3,"column":12,"index":41},"end":{"line":3,"column":15,"index":44}}, |
| 45 |
"expression": { |
| 46 |
"type": "NumericLiteral", |
| 47 |
"start":41,"end":43,"loc":{"start":{"line":3,"column":12,"index":41},"end":{"line":3,"column":14,"index":43}}, |
| 48 |
"extra": { |
| 49 |
"rawValue": 50, |
| 50 |
"raw": "50" |
| 51 |
}, |
| 52 |
"value": 50 |
| 53 |
} |
| 54 |
} |
| 55 |
], |
| 56 |
"test": { |
| 57 |
"type": "NumericLiteral", |
| 58 |
"start":38,"end":39,"loc":{"start":{"line":3,"column":9,"index":38},"end":{"line":3,"column":10,"index":39}}, |
| 59 |
"extra": { |
| 60 |
"rawValue": 0, |
| 61 |
"raw": "0" |
| 62 |
}, |
| 63 |
"value": 0 |
| 64 |
} |
| 65 |
}, |
| 66 |
{ |
| 67 |
"type": "SwitchCase", |
| 68 |
"start":49,"end":60,"loc":{"start":{"line":4,"column":4,"index":49},"end":{"line":4,"column":15,"index":60}}, |
| 69 |
"consequent": [ |
| 70 |
{ |
| 71 |
"type": "ExpressionStatement", |
| 72 |
"start":57,"end":60,"loc":{"start":{"line":4,"column":12,"index":57},"end":{"line":4,"column":15,"index":60}}, |
| 73 |
"expression": { |
| 74 |
"type": "NumericLiteral", |
| 75 |
"start":57,"end":59,"loc":{"start":{"line":4,"column":12,"index":57},"end":{"line":4,"column":14,"index":59}}, |
| 76 |
"extra": { |
| 77 |
"rawValue": 60, |
| 78 |
"raw": "60" |
| 79 |
}, |
| 80 |
"value": 60 |
| 81 |
} |
| 82 |
} |
| 83 |
], |
| 84 |
"test": { |
| 85 |
"type": "NumericLiteral", |
| 86 |
"start":54,"end":55,"loc":{"start":{"line":4,"column":9,"index":54},"end":{"line":4,"column":10,"index":55}}, |
| 87 |
"extra": { |
| 88 |
"rawValue": 1, |
| 89 |
"raw": "1" |
| 90 |
}, |
| 91 |
"value": 1 |
| 92 |
} |
| 93 |
}, |
| 94 |
{ |
| 95 |
"type": "SwitchCase", |
| 96 |
"start":65,"end":77,"loc":{"start":{"line":5,"column":4,"index":65},"end":{"line":5,"column":16,"index":77}}, |
| 97 |
"consequent": [ |
| 98 |
{ |
| 99 |
"type": "ExpressionStatement", |
| 100 |
"start":74,"end":77,"loc":{"start":{"line":5,"column":13,"index":74},"end":{"line":5,"column":16,"index":77}}, |
| 101 |
"expression": { |
| 102 |
"type": "NumericLiteral", |
| 103 |
"start":74,"end":76,"loc":{"start":{"line":5,"column":13,"index":74},"end":{"line":5,"column":15,"index":76}}, |
| 104 |
"extra": { |
| 105 |
"rawValue": 70, |
| 106 |
"raw": "70" |
| 107 |
}, |
| 108 |
"value": 70 |
| 109 |
} |
| 110 |
} |
| 111 |
], |
| 112 |
"test": null |
| 113 |
} |
| 114 |
] |
| 115 |
} |
| 116 |
], |
| 117 |
"directives": [] |
| 118 |
} |
| 119 |
} |
| 120 |
} |
| 121 |
} |
| 122 |
], |
| 123 |
"directives": [] |
| 124 |
} |
| 125 |
} |