149 lines
3.0 KiB
JSON
149 lines
3.0 KiB
JSON
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"id": {
|
|
"type": "Identifier",
|
|
"name": "bar",
|
|
"range": [
|
|
9,
|
|
12
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [],
|
|
"range": [
|
|
27,
|
|
29
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
"generator": false,
|
|
"expression": false,
|
|
"typeParameters": {
|
|
"type": "TypeParameterDeclaration",
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "T",
|
|
"typeAnnotation": {
|
|
"type": "TypeAnnotation",
|
|
"typeAnnotation": {
|
|
"type": "NullableTypeAnnotation",
|
|
"typeAnnotation": {
|
|
"type": "NumberTypeAnnotation",
|
|
"range": [
|
|
17,
|
|
23
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
16,
|
|
23
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
14,
|
|
23
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
13,
|
|
23
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
12,
|
|
24
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
29
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 29
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |