| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":37}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":37}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":37}}, |
| 13 |
"decorators": [ |
| 14 |
{ |
| 15 |
"type": "Decorator", |
| 16 |
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}}, |
| 17 |
"expression": { |
| 18 |
"type": "CallExpression", |
| 19 |
"start":1,"end":24,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":24,"index":24}}, |
| 20 |
"callee": { |
| 21 |
"type": "Identifier", |
| 22 |
"start":1,"end":9,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":9,"index":9},"identifierName":"decorate"}, |
| 23 |
"name": "decorate" |
| 24 |
}, |
| 25 |
"arguments": [ |
| 26 |
{ |
| 27 |
"type": "ArrowFunctionExpression", |
| 28 |
"start":10,"end":23,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":23,"index":23}}, |
| 29 |
"id": null, |
| 30 |
"generator": false, |
| 31 |
"async": false, |
| 32 |
"params": [ |
| 33 |
{ |
| 34 |
"type": "Identifier", |
| 35 |
"start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14},"identifierName":"arg"}, |
| 36 |
"name": "arg" |
| 37 |
} |
| 38 |
], |
| 39 |
"body": { |
| 40 |
"type": "NullLiteral", |
| 41 |
"start":19,"end":23,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":23,"index":23}} |
| 42 |
} |
| 43 |
} |
| 44 |
] |
| 45 |
} |
| 46 |
} |
| 47 |
], |
| 48 |
"id": { |
| 49 |
"type": "Identifier", |
| 50 |
"start":31,"end":33,"loc":{"start":{"line":2,"column":6,"index":31},"end":{"line":2,"column":8,"index":33},"identifierName":"Ex"}, |
| 51 |
"name": "Ex" |
| 52 |
}, |
| 53 |
"superClass": null, |
| 54 |
"body": { |
| 55 |
"type": "ClassBody", |
| 56 |
"start":34,"end":37,"loc":{"start":{"line":2,"column":9,"index":34},"end":{"line":3,"column":1,"index":37}}, |
| 57 |
"body": [] |
| 58 |
} |
| 59 |
} |
| 60 |
], |
| 61 |
"directives": [] |
| 62 |
} |
| 63 |
} |