2015-07-25 05:19:32 +01:00

147 lines
3.2 KiB
JSON

{
"type": "Program",
"body": [
{
"type": "DeclareModule",
"id": {
"type": "Identifier",
"name": "A",
"range": [
15,
16
],
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 16
}
}
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "DeclareFunction",
"id": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": {
"type": "TypeAnnotation",
"typeAnnotation": {
"type": "FunctionTypeAnnotation",
"params": [],
"returnType": {
"type": "NumberTypeAnnotation",
"range": [
43,
49
],
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 49
}
}
},
"typeParameters": null,
"range": [
39,
49
],
"loc": {
"start": {
"line": 1,
"column": 39
},
"end": {
"line": 1,
"column": 49
}
}
},
"range": [
39,
49
],
"loc": {
"start": {
"line": 1,
"column": 39
},
"end": {
"line": 1,
"column": 49
}
}
},
"range": [
36,
49
],
"loc": {
"start": {
"line": 1,
"column": 36
},
"end": {
"line": 1,
"column": 49
}
}
},
"range": [
19,
50
],
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 50
}
}
}
],
"range": [
17,
52
],
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 52
}
}
},
"range": [
0,
52
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 52
}
}
}
]
}