Files

81 lines
3.0 KiB
JSON

{
"type": "File",
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":47}},
"program": {
"type": "Program",
"start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":47}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":10,"end":47,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":5,"column":2,"index":47}},
"expression": {
"type": "ObjectExpression",
"start":11,"end":46,"loc":{"start":{"line":3,"column":1,"index":11},"end":{"line":5,"column":1,"index":46}},
"properties": [
{
"type": "ObjectMethod",
"start":17,"end":44,"loc":{"start":{"line":4,"column":4,"index":17},"end":{"line":4,"column":31,"index":44}},
"method": true,
"key": {
"type": "Identifier",
"start":17,"end":28,"loc":{"start":{"line":4,"column":4,"index":17},"end":{"line":4,"column":15,"index":28},"identifierName":"constructor"},
"name": "constructor"
},
"computed": false,
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":29,"end":41,"loc":{"start":{"line":4,"column":16,"index":29},"end":{"line":4,"column":28,"index":41},"identifierName":"this"},
"name": "this",
"typeAnnotation": {
"type": "TypeAnnotation",
"start":33,"end":41,"loc":{"start":{"line":4,"column":20,"index":33},"end":{"line":4,"column":28,"index":41}},
"typeAnnotation": {
"type": "NumberTypeAnnotation",
"start":35,"end":41,"loc":{"start":{"line":4,"column":22,"index":35},"end":{"line":4,"column":28,"index":41}}
}
}
}
],
"body": {
"type": "BlockStatement",
"start":42,"end":44,"loc":{"start":{"line":4,"column":29,"index":42},"end":{"line":4,"column":31,"index":44}},
"body": [],
"directives": []
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 10
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @flow",
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
}
]
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
},
"comments": [
{
"type": "CommentLine",
"value": " @flow",
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
}
]
}