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

279 lines
5.9 KiB
JSON

{
"type": "Program",
"body": [
{
"type": "InterfaceDeclaration",
"id": {
"type": "Identifier",
"name": "A",
"range": [
10,
11
],
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 11
}
}
},
"typeParameters": {
"type": "TypeParameterDeclaration",
"params": [
{
"type": "Identifier",
"name": "T",
"range": [
12,
13
],
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
}
}
],
"range": [
11,
14
],
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 14
}
}
},
"body": {
"type": "ObjectTypeAnnotation",
"properties": [],
"indexers": [],
"callProperties": [],
"range": [
34,
36
],
"loc": {
"start": {
"line": 1,
"column": 34
},
"end": {
"line": 1,
"column": 36
}
}
},
"extends": [
{
"type": "InterfaceExtends",
"id": {
"type": "Identifier",
"name": "B",
"range": [
23,
24
],
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
}
},
"typeParameters": {
"type": "TypeParameterInstantiation",
"params": [
{
"type": "GenericTypeAnnotation",
"id": {
"type": "Identifier",
"name": "T",
"range": [
25,
26
],
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
"typeParameters": null,
"range": [
25,
26
],
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
}
],
"range": [
24,
27
],
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 27
}
}
},
"range": [
23,
27
],
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": "InterfaceExtends",
"id": {
"type": "Identifier",
"name": "C",
"range": [
29,
30
],
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 30
}
}
},
"typeParameters": {
"type": "TypeParameterInstantiation",
"params": [
{
"type": "GenericTypeAnnotation",
"id": {
"type": "Identifier",
"name": "T",
"range": [
31,
32
],
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
},
"typeParameters": null,
"range": [
31,
32
],
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
}
],
"range": [
30,
33
],
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 33
}
}
},
"range": [
29,
33
],
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 33
}
}
}
],
"range": [
0,
36
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 36
}
}
}
]
}