{ "type": "Program", "statements": [ { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func", "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 14 } } }, "generator": false, "async": false, "expression": false, "params": [], "typeParameters": { "type": "TSTypeParameterDeclaration", "params": [ { "type": "TSTypeParameter", "name": { "type": "Identifier", "name": "T", "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, "in": false, "out": false, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 17 } } } ], "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 17 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 22 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 22 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 22 } } }, { "type": "ExpressionStatement", "expression": { "type": "ChainExpression", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "func", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 5 } } }, "arguments": [], "optional": true, "typeParameters": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 14 } } } ], "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 18, "column": 15 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 17 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 17 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 18 } } }, { "type": "ExpressionStatement", "expression": { "type": "ChainExpression", "expression": { "type": "CallExpression", "callee": { "type": "TypeArgumentsExpression", "leftHandExpression": { "type": "Identifier", "name": "func", "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 5 } } }, "typeArguments": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "Number", "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 12 } } }, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 12 } } } ], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 13 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 13 } } }, "arguments": [], "optional": true, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 17 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 17 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 18 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 20, "column": 1 } } }