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

129 lines
2.7 KiB
JSON

{
"type": "Program",
"body": [
{
"type": "DeclareFunction",
"id": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": {
"type": "TypeAnnotation",
"typeAnnotation": {
"type": "FunctionTypeAnnotation",
"params": [],
"returnType": {
"type": "VoidTypeAnnotation",
"range": [
27,
31
],
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
"typeParameters": {
"type": "TypeParameterDeclaration",
"params": [
{
"type": "Identifier",
"name": "T",
"range": [
21,
22
],
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 22
}
}
}
],
"range": [
20,
23
],
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 23
}
}
},
"range": [
20,
31
],
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 31
}
}
},
"range": [
20,
31
],
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 31
}
}
},
"range": [
17,
31
],
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 31
}
}
},
"range": [
0,
32
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 32
}
}
}
]
}