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