| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":118,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":118}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":118,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":118}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":0,"end":118,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":118}}, |
| 13 |
"expression": { |
| 14 |
"type": "BinaryExpression", |
| 15 |
"start":0,"end":118,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":118}}, |
| 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":118,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":5,"column":1,"index":118}}, |
| 25 |
"async": false, |
| 26 |
"body": { |
| 27 |
"type": "BlockStatement", |
| 28 |
"start":12,"end":118,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":5,"column":1,"index":118}}, |
| 29 |
"body": [ |
| 30 |
{ |
| 31 |
"type": "TryStatement", |
| 32 |
"start":16,"end":116,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":4,"column":28,"index":116}}, |
| 33 |
"block": { |
| 34 |
"type": "BlockStatement", |
| 35 |
"start":20,"end":45,"loc":{"start":{"line":2,"column":6,"index":20},"end":{"line":2,"column":31,"index":45}}, |
| 36 |
"body": [ |
| 37 |
{ |
| 38 |
"type": "ExpressionStatement", |
| 39 |
"start":22,"end":43,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":29,"index":43}}, |
| 40 |
"expression": { |
| 41 |
"type": "CallExpression", |
| 42 |
"start":22,"end":42,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":28,"index":42}}, |
| 43 |
"callee": { |
| 44 |
"type": "MemberExpression", |
| 45 |
"start":22,"end":32,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":18,"index":32}}, |
| 46 |
"object": { |
| 47 |
"type": "Identifier", |
| 48 |
"start":22,"end":26,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":12,"index":26},"identifierName":"JSON"}, |
| 49 |
"name": "JSON" |
| 50 |
}, |
| 51 |
"computed": false, |
| 52 |
"property": { |
| 53 |
"type": "Identifier", |
| 54 |
"start":27,"end":32,"loc":{"start":{"line":2,"column":13,"index":27},"end":{"line":2,"column":18,"index":32},"identifierName":"parse"}, |
| 55 |
"name": "parse" |
| 56 |
} |
| 57 |
}, |
| 58 |
"arguments": [ |
| 59 |
{ |
| 60 |
"type": "Identifier", |
| 61 |
"start":33,"end":41,"loc":{"start":{"line":2,"column":19,"index":33},"end":{"line":2,"column":27,"index":41},"identifierName":"whatever"}, |
| 62 |
"name": "whatever" |
| 63 |
} |
| 64 |
] |
| 65 |
} |
| 66 |
} |
| 67 |
], |
| 68 |
"directives": [] |
| 69 |
}, |
| 70 |
"handler": { |
| 71 |
"type": "CatchClause", |
| 72 |
"start":48,"end":87,"loc":{"start":{"line":3,"column":2,"index":48},"end":{"line":3,"column":41,"index":87}}, |
| 73 |
"param": { |
| 74 |
"type": "Identifier", |
| 75 |
"start":55,"end":60,"loc":{"start":{"line":3,"column":9,"index":55},"end":{"line":3,"column":14,"index":60},"identifierName":"error"}, |
| 76 |
"name": "error" |
| 77 |
}, |
| 78 |
"body": { |
| 79 |
"type": "BlockStatement", |
| 80 |
"start":62,"end":87,"loc":{"start":{"line":3,"column":16,"index":62},"end":{"line":3,"column":41,"index":87}}, |
| 81 |
"body": [ |
| 82 |
{ |
| 83 |
"type": "ExpressionStatement", |
| 84 |
"start":64,"end":85,"loc":{"start":{"line":3,"column":18,"index":64},"end":{"line":3,"column":39,"index":85}}, |
| 85 |
"expression": { |
| 86 |
"type": "CallExpression", |
| 87 |
"start":64,"end":84,"loc":{"start":{"line":3,"column":18,"index":64},"end":{"line":3,"column":38,"index":84}}, |
| 88 |
"callee": { |
| 89 |
"type": "MemberExpression", |
| 90 |
"start":64,"end":77,"loc":{"start":{"line":3,"column":18,"index":64},"end":{"line":3,"column":31,"index":77}}, |
| 91 |
"object": { |
| 92 |
"type": "Identifier", |
| 93 |
"start":64,"end":71,"loc":{"start":{"line":3,"column":18,"index":64},"end":{"line":3,"column":25,"index":71},"identifierName":"console"}, |
| 94 |
"name": "console" |
| 95 |
}, |
| 96 |
"computed": false, |
| 97 |
"property": { |
| 98 |
"type": "Identifier", |
| 99 |
"start":72,"end":77,"loc":{"start":{"line":3,"column":26,"index":72},"end":{"line":3,"column":31,"index":77},"identifierName":"error"}, |
| 100 |
"name": "error" |
| 101 |
} |
| 102 |
}, |
| 103 |
"arguments": [ |
| 104 |
{ |
| 105 |
"type": "Identifier", |
| 106 |
"start":78,"end":83,"loc":{"start":{"line":3,"column":32,"index":78},"end":{"line":3,"column":37,"index":83},"identifierName":"error"}, |
| 107 |
"name": "error" |
| 108 |
} |
| 109 |
] |
| 110 |
} |
| 111 |
} |
| 112 |
], |
| 113 |
"directives": [] |
| 114 |
} |
| 115 |
}, |
| 116 |
"finalizer": { |
| 117 |
"type": "BlockStatement", |
| 118 |
"start":98,"end":116,"loc":{"start":{"line":4,"column":10,"index":98},"end":{"line":4,"column":28,"index":116}}, |
| 119 |
"body": [ |
| 120 |
{ |
| 121 |
"type": "ExpressionStatement", |
| 122 |
"start":100,"end":114,"loc":{"start":{"line":4,"column":12,"index":100},"end":{"line":4,"column":26,"index":114}}, |
| 123 |
"expression": { |
| 124 |
"type": "CallExpression", |
| 125 |
"start":100,"end":113,"loc":{"start":{"line":4,"column":12,"index":100},"end":{"line":4,"column":25,"index":113}}, |
| 126 |
"callee": { |
| 127 |
"type": "Identifier", |
| 128 |
"start":100,"end":109,"loc":{"start":{"line":4,"column":12,"index":100},"end":{"line":4,"column":21,"index":109},"identifierName":"something"}, |
| 129 |
"name": "something" |
| 130 |
}, |
| 131 |
"arguments": [ |
| 132 |
{ |
| 133 |
"type": "TopicReference", |
| 134 |
"start":110,"end":112,"loc":{"start":{"line":4,"column":22,"index":110},"end":{"line":4,"column":24,"index":112}} |
| 135 |
} |
| 136 |
] |
| 137 |
} |
| 138 |
} |
| 139 |
], |
| 140 |
"directives": [] |
| 141 |
} |
| 142 |
} |
| 143 |
], |
| 144 |
"directives": [] |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
} |
| 149 |
], |
| 150 |
"directives": [] |
| 151 |
} |
| 152 |
} |