| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":47}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":47}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":10,"end":47,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":5,"column":2,"index":47}}, |
| 13 |
"expression": { |
| 14 |
"type": "ObjectExpression", |
| 15 |
"start":11,"end":46,"loc":{"start":{"line":3,"column":1,"index":11},"end":{"line":5,"column":1,"index":46}}, |
| 16 |
"properties": [ |
| 17 |
{ |
| 18 |
"type": "ObjectMethod", |
| 19 |
"start":17,"end":44,"loc":{"start":{"line":4,"column":4,"index":17},"end":{"line":4,"column":31,"index":44}}, |
| 20 |
"method": true, |
| 21 |
"key": { |
| 22 |
"type": "Identifier", |
| 23 |
"start":17,"end":28,"loc":{"start":{"line":4,"column":4,"index":17},"end":{"line":4,"column":15,"index":28},"identifierName":"constructor"}, |
| 24 |
"name": "constructor" |
| 25 |
}, |
| 26 |
"computed": false, |
| 27 |
"kind": "method", |
| 28 |
"id": null, |
| 29 |
"generator": false, |
| 30 |
"async": false, |
| 31 |
"params": [ |
| 32 |
{ |
| 33 |
"type": "Identifier", |
| 34 |
"start":29,"end":41,"loc":{"start":{"line":4,"column":16,"index":29},"end":{"line":4,"column":28,"index":41},"identifierName":"this"}, |
| 35 |
"name": "this", |
| 36 |
"typeAnnotation": { |
| 37 |
"type": "TypeAnnotation", |
| 38 |
"start":33,"end":41,"loc":{"start":{"line":4,"column":20,"index":33},"end":{"line":4,"column":28,"index":41}}, |
| 39 |
"typeAnnotation": { |
| 40 |
"type": "NumberTypeAnnotation", |
| 41 |
"start":35,"end":41,"loc":{"start":{"line":4,"column":22,"index":35},"end":{"line":4,"column":28,"index":41}} |
| 42 |
} |
| 43 |
} |
| 44 |
} |
| 45 |
], |
| 46 |
"body": { |
| 47 |
"type": "BlockStatement", |
| 48 |
"start":42,"end":44,"loc":{"start":{"line":4,"column":29,"index":42},"end":{"line":4,"column":31,"index":44}}, |
| 49 |
"body": [], |
| 50 |
"directives": [] |
| 51 |
} |
| 52 |
} |
| 53 |
], |
| 54 |
"extra": { |
| 55 |
"parenthesized": true, |
| 56 |
"parenStart": 10 |
| 57 |
} |
| 58 |
}, |
| 59 |
"leadingComments": [ |
| 60 |
{ |
| 61 |
"type": "CommentLine", |
| 62 |
"value": " @flow", |
| 63 |
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}} |
| 64 |
} |
| 65 |
] |
| 66 |
} |
| 67 |
], |
| 68 |
"directives": [] |
| 69 |
}, |
| 70 |
"comments": [ |
| 71 |
{ |
| 72 |
"type": "CommentLine", |
| 73 |
"value": " @flow", |
| 74 |
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}} |
| 75 |
} |
| 76 |
] |
| 77 |
} |