| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":82,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":82}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":82,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":82}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":0,"end":82,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":82}}, |
| 13 |
"expression": { |
| 14 |
"type": "BinaryExpression", |
| 15 |
"start":0,"end":82,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":82}}, |
| 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":82,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":4,"column":1,"index":82}}, |
| 25 |
"async": false, |
| 26 |
"body": { |
| 27 |
"type": "BlockStatement", |
| 28 |
"start":12,"end":82,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":4,"column":1,"index":82}}, |
| 29 |
"body": [ |
| 30 |
{ |
| 31 |
"type": "TryStatement", |
| 32 |
"start":16,"end":80,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":3,"column":41,"index":80}}, |
| 33 |
"block": { |
| 34 |
"type": "BlockStatement", |
| 35 |
"start":20,"end":38,"loc":{"start":{"line":2,"column":6,"index":20},"end":{"line":2,"column":24,"index":38}}, |
| 36 |
"body": [ |
| 37 |
{ |
| 38 |
"type": "ExpressionStatement", |
| 39 |
"start":22,"end":36,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":22,"index":36}}, |
| 40 |
"expression": { |
| 41 |
"type": "CallExpression", |
| 42 |
"start":22,"end":35,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":21,"index":35}}, |
| 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": "TopicReference", |
| 61 |
"start":33,"end":34,"loc":{"start":{"line":2,"column":19,"index":33},"end":{"line":2,"column":20,"index":34}} |
| 62 |
} |
| 63 |
] |
| 64 |
} |
| 65 |
} |
| 66 |
], |
| 67 |
"directives": [] |
| 68 |
}, |
| 69 |
"handler": { |
| 70 |
"type": "CatchClause", |
| 71 |
"start":41,"end":80,"loc":{"start":{"line":3,"column":2,"index":41},"end":{"line":3,"column":41,"index":80}}, |
| 72 |
"param": { |
| 73 |
"type": "Identifier", |
| 74 |
"start":48,"end":53,"loc":{"start":{"line":3,"column":9,"index":48},"end":{"line":3,"column":14,"index":53},"identifierName":"error"}, |
| 75 |
"name": "error" |
| 76 |
}, |
| 77 |
"body": { |
| 78 |
"type": "BlockStatement", |
| 79 |
"start":55,"end":80,"loc":{"start":{"line":3,"column":16,"index":55},"end":{"line":3,"column":41,"index":80}}, |
| 80 |
"body": [ |
| 81 |
{ |
| 82 |
"type": "ExpressionStatement", |
| 83 |
"start":57,"end":78,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":39,"index":78}}, |
| 84 |
"expression": { |
| 85 |
"type": "CallExpression", |
| 86 |
"start":57,"end":77,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":38,"index":77}}, |
| 87 |
"callee": { |
| 88 |
"type": "MemberExpression", |
| 89 |
"start":57,"end":70,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":31,"index":70}}, |
| 90 |
"object": { |
| 91 |
"type": "Identifier", |
| 92 |
"start":57,"end":64,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":25,"index":64},"identifierName":"console"}, |
| 93 |
"name": "console" |
| 94 |
}, |
| 95 |
"computed": false, |
| 96 |
"property": { |
| 97 |
"type": "Identifier", |
| 98 |
"start":65,"end":70,"loc":{"start":{"line":3,"column":26,"index":65},"end":{"line":3,"column":31,"index":70},"identifierName":"error"}, |
| 99 |
"name": "error" |
| 100 |
} |
| 101 |
}, |
| 102 |
"arguments": [ |
| 103 |
{ |
| 104 |
"type": "Identifier", |
| 105 |
"start":71,"end":76,"loc":{"start":{"line":3,"column":32,"index":71},"end":{"line":3,"column":37,"index":76},"identifierName":"error"}, |
| 106 |
"name": "error" |
| 107 |
} |
| 108 |
] |
| 109 |
} |
| 110 |
} |
| 111 |
], |
| 112 |
"directives": [] |
| 113 |
} |
| 114 |
}, |
| 115 |
"finalizer": null |
| 116 |
} |
| 117 |
], |
| 118 |
"directives": [] |
| 119 |
} |
| 120 |
} |
| 121 |
} |
| 122 |
} |
| 123 |
], |
| 124 |
"directives": [] |
| 125 |
} |
| 126 |
} |