185 lines
3.6 KiB
JSON
185 lines
3.6 KiB
JSON
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"id": {
|
|
"type": "Identifier",
|
|
"name": "Foo",
|
|
"range": [
|
|
6,
|
|
9
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
"superClass": {
|
|
"type": "Identifier",
|
|
"name": "Bar",
|
|
"range": [
|
|
18,
|
|
21
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"body": [],
|
|
"range": [
|
|
50,
|
|
52
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
"implements": [
|
|
{
|
|
"type": "ClassImplements",
|
|
"id": {
|
|
"type": "Identifier",
|
|
"name": "Bat",
|
|
"range": [
|
|
33,
|
|
36
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
"typeParameters": null,
|
|
"range": [
|
|
33,
|
|
36
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassImplements",
|
|
"id": {
|
|
"type": "Identifier",
|
|
"name": "Man",
|
|
"range": [
|
|
38,
|
|
41
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
"typeParameters": {
|
|
"type": "TypeParameterInstantiation",
|
|
"params": [
|
|
{
|
|
"type": "NumberTypeAnnotation",
|
|
"range": [
|
|
42,
|
|
48
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 48
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
41,
|
|
49
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
38,
|
|
49
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 49
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
52
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 52
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |