| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":50}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":50}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "DeclareFunction", |
| 12 |
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":17,"end":26,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":26,"index":26},"identifierName":"A"}, |
| 16 |
"name": "A", |
| 17 |
"typeAnnotation": { |
| 18 |
"type": "TypeAnnotation", |
| 19 |
"start":18,"end":26,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":26,"index":26}}, |
| 20 |
"typeAnnotation": { |
| 21 |
"type": "FunctionTypeAnnotation", |
| 22 |
"start":18,"end":26,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":26,"index":26}}, |
| 23 |
"typeParameters": null, |
| 24 |
"params": [], |
| 25 |
"rest": null, |
| 26 |
"this": null, |
| 27 |
"returnType": { |
| 28 |
"type": "VoidTypeAnnotation", |
| 29 |
"start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26}} |
| 30 |
} |
| 31 |
} |
| 32 |
} |
| 33 |
}, |
| 34 |
"predicate": null |
| 35 |
}, |
| 36 |
{ |
| 37 |
"type": "DeclareVariable", |
| 38 |
"start":28,"end":50,"loc":{"start":{"line":2,"column":0,"index":28},"end":{"line":2,"column":22,"index":50}}, |
| 39 |
"id": { |
| 40 |
"type": "Identifier", |
| 41 |
"start":40,"end":49,"loc":{"start":{"line":2,"column":12,"index":40},"end":{"line":2,"column":21,"index":49},"identifierName":"A"}, |
| 42 |
"name": "A", |
| 43 |
"typeAnnotation": { |
| 44 |
"type": "TypeAnnotation", |
| 45 |
"start":41,"end":49,"loc":{"start":{"line":2,"column":13,"index":41},"end":{"line":2,"column":21,"index":49}}, |
| 46 |
"typeAnnotation": { |
| 47 |
"type": "NumberTypeAnnotation", |
| 48 |
"start":43,"end":49,"loc":{"start":{"line":2,"column":15,"index":43},"end":{"line":2,"column":21,"index":49}} |
| 49 |
} |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
], |
| 54 |
"directives": [] |
| 55 |
} |
| 56 |
} |