{
"type": "Program",
"statements": [
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func1",
"loc": {
"start": {
"line": 17,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 17,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 17,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 17,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 17,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSVoidKeyword",
"loc": {
"start": {
"line": 17,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 17,
"column": 32,
"program": "functionCall.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 17,
"column": 33,
"program": "functionCall.ts"
},
"end": {
"line": 19,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 19,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 19,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func1",
"loc": {
"start": {
"line": 20,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 20,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 20,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 20,
"column": 8,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 20,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 20,
"column": 9,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 20,
"column": 10,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func2",
"loc": {
"start": {
"line": 22,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 22,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 22,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 22,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 22,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 22,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 22,
"column": 34,
"program": "functionCall.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 23,
"column": 13,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 23,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 23,
"column": 14,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 22,
"column": 35,
"program": "functionCall.ts"
},
"end": {
"line": 24,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 24,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 24,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "TSTypeAliasDeclaration",
"id": {
"type": "Identifier",
"name": "callAbleObj1",
"loc": {
"start": {
"line": 26,
"column": 6,
"program": "functionCall.ts"
},
"end": {
"line": 26,
"column": 18,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 27,
"column": 9,
"program": "functionCall.ts"
},
"end": {
"line": 27,
"column": 15,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 27,
"column": 6,
"program": "functionCall.ts"
},
"end": {
"line": 27,
"column": 7,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 27,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 27,
"column": 24,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 27,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 28,
"column": 2,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 26,
"column": 21,
"program": "functionCall.ts"
},
"end": {
"line": 28,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 26,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 9,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func3",
"loc": {
"start": {
"line": 30,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "fn",
"typeAnnotation": {
"type": "TSTypeReference",
"typeName": {
"type": "Identifier",
"name": "callAbleObj1",
"loc": {
"start": {
"line": 30,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 18,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 30,
"column": 35,
"program": "functionCall.ts"
},
"end": {
"line": 30,
"column": 41,
"program": "functionCall.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "fn",
"loc": {
"start": {
"line": 31,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 31,
"column": 14,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 31,
"column": 15,
"program": "functionCall.ts"
},
"end": {
"line": 31,
"column": 16,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 31,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 31,
"column": 17,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 31,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 31,
"column": 18,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 30,
"column": 42,
"program": "functionCall.ts"
},
"end": {
"line": 32,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 32,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 32,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "obj1",
"typeAnnotation": {
"type": "TSTypeReference",
"typeName": {
"type": "Identifier",
"name": "callAbleObj1",
"loc": {
"start": {
"line": 34,
"column": 11,
"program": "functionCall.ts"
},
"end": {
"line": 34,
"column": 23,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 11,
"program": "functionCall.ts"
},
"end": {
"line": 34,
"column": 23,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 34,
"column": 9,
"program": "functionCall.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 34,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 34,
"column": 9,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 34,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 34,
"column": 24,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func1",
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func2",
"loc": {
"start": {
"line": 35,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 12,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func3",
"loc": {
"start": {
"line": 35,
"column": 13,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 18,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "obj1",
"loc": {
"start": {
"line": 35,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 23,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 35,
"column": 13,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 24,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 35,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 25,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 26,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 35,
"column": 27,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func4",
"loc": {
"start": {
"line": 37,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 37,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 37,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 37,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 37,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 37,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 37,
"column": 34,
"program": "functionCall.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "UpdateExpression",
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 38,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 38,
"column": 6,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 38,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 38,
"column": 8,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 38,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 38,
"column": 9,
"program": "functionCall.ts"
}
}
},
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 39,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 13,
"program": "functionCall.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 0,
"loc": {
"start": {
"line": 39,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 17,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 17,
"program": "functionCall.ts"
}
}
},
"consequent": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func4",
"loc": {
"start": {
"line": 39,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 25,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 39,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 27,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 39,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 28,
"program": "functionCall.ts"
}
}
},
"alternate": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 39,
"column": 31,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 39,
"column": 33,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 37,
"column": 35,
"program": "functionCall.ts"
},
"end": {
"line": 40,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 40,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 40,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func4",
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 42,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "UnaryExpression",
"operator": "-",
"prefix": true,
"argument": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 42,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 42,
"column": 9,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 42,
"column": 9,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 42,
"column": 10,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 42,
"column": 11,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func4",
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 43,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 0,
"loc": {
"start": {
"line": 43,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 43,
"column": 8,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 43,
"column": 9,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 43,
"column": 10,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func5",
"loc": {
"start": {
"line": 45,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 45,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 45,
"column": 30,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 36,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 28,
"program": "functionCall.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 45,
"column": 41,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 42,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 38,
"program": "functionCall.ts"
},
"end": {
"line": 45,
"column": 42,
"program": "functionCall.ts"
}
}
}
],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 46,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 46,
"column": 13,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 46,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 46,
"column": 14,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 45,
"column": 44,
"program": "functionCall.ts"
},
"end": {
"line": 47,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 47,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 47,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func5",
"loc": {
"start": {
"line": 49,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 49,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 49,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 49,
"column": 8,
"program": "functionCall.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 49,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 49,
"column": 15,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 49,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 49,
"column": 16,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 49,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func5",
"loc": {
"start": {
"line": 50,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 50,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 8,
"program": "functionCall.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 50,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 15,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 50,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 18,
"program": "functionCall.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 50,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 24,
"program": "functionCall.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 50,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 28,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 50,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 29,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 50,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 50,
"column": 30,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func6",
"loc": {
"start": {
"line": 52,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 52,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 22,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 52,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 52,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 34,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 52,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 36,
"program": "functionCall.ts"
}
}
},
"optional": true,
"loc": {
"start": {
"line": 52,
"column": 24,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "c",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 52,
"column": 44,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 50,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 52,
"column": 44,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 52,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 52,
"column": 41,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 42,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 52,
"column": 38,
"program": "functionCall.ts"
},
"end": {
"line": 52,
"column": 42,
"program": "functionCall.ts"
}
}
}
],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 53,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 53,
"column": 16,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 53,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 53,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 52,
"column": 54,
"program": "functionCall.ts"
},
"end": {
"line": 54,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 52,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 54,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 52,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 54,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func6",
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 56,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 56,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 56,
"column": 8,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 56,
"column": 9,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 56,
"column": 10,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func6",
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 57,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 12,
"program": "functionCall.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 57,
"column": 15,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 20,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 57,
"column": 14,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 21,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 22,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 57,
"column": 23,
"program": "functionCall.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func6",
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 6,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 58,
"column": 7,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 9,
"program": "functionCall.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 58,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 58,
"column": 11,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 18,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 58,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 21,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 58,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 24,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 4,
"loc": {
"start": {
"line": 58,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 27,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 28,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 58,
"column": 29,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "func7",
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 60,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 24,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 15,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 16,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 60,
"column": 29,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 35,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 27,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 60,
"column": 38,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 44,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 14,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 45,
"program": "functionCall.ts"
}
}
},
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 60,
"column": 50,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 51,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 51,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 60,
"column": 54,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 60,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 46,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 62,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 60,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 62,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 10,
"program": "functionCall.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 60,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 10,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 60,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 60,
"column": 63,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 61,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 61,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func7",
"loc": {
"start": {
"line": 61,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [],
"optional": false,
"loc": {
"start": {
"line": 61,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 24,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 61,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 24,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 61,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 61,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "c",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 62,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 62,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func7",
"loc": {
"start": {
"line": 62,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 62,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 24,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 62,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 62,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 25,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 62,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 62,
"column": 26,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "d",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 63,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 63,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func7",
"loc": {
"start": {
"line": 63,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 63,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 24,
"program": "functionCall.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 63,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 31,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 63,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 63,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 32,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 63,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 63,
"column": 33,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "func8",
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 65,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 25,
"program": "functionCall.ts"
}
}
},
"optional": true,
"loc": {
"start": {
"line": 65,
"column": 15,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 16,
"program": "functionCall.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 65,
"column": 30,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 31,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 31,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 65,
"column": 34,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 41,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 14,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 42,
"program": "functionCall.ts"
}
}
},
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 65,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 50,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 44,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 45,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 65,
"column": 55,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 61,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 65,
"column": 55,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 63,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 52,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 53,
"program": "functionCall.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "c",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 65,
"column": 71,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 77,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 65,
"column": 71,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 79,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 68,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 69,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 65,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 69,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 65,
"column": 82,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 88,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 43,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 89,
"program": "functionCall.ts"
}
}
},
{
"type": "TSCallSignatureDeclaration",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 65,
"column": 94,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 100,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 91,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 92,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 65,
"column": 105,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 112,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 102,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 103,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 65,
"column": 115,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 121,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 90,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 123,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 65,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 123,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 10,
"program": "functionCall.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 65,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 10,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 65,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 65,
"column": 124,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "e",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 66,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 15,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 66,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 66,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 23,
"program": "functionCall.ts"
}
}
},
"arguments": [],
"optional": false,
"loc": {
"start": {
"line": 66,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 66,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 25,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 66,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 66,
"column": 26,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "f",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 67,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 15,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 67,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 67,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 23,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 67,
"column": 24,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 25,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 67,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 26,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 67,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 26,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 67,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 67,
"column": 27,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "g",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 68,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 15,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 68,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 68,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 23,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 68,
"column": 24,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 68,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 31,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 68,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 68,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 32,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 68,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 68,
"column": 33,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "h",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 69,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 15,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 69,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 69,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 23,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 69,
"column": 24,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 69,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 33,
"program": "functionCall.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 69,
"column": 35,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 40,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 69,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 41,
"program": "functionCall.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 69,
"column": 43,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 45,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 69,
"column": 18,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 46,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 69,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 46,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 69,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 69,
"column": 47,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "i",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 70,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 70,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 70,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 70,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 70,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 33,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 70,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 34,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 70,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 35,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 70,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 35,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 70,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 70,
"column": 36,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "j",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 71,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 71,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func8",
"loc": {
"start": {
"line": 71,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 71,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 71,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 33,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 71,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 34,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 71,
"column": 36,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 37,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 4,
"loc": {
"start": {
"line": 71,
"column": 39,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 40,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 71,
"column": 42,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 43,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 71,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 44,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 71,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 44,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 71,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 71,
"column": 45,
"program": "functionCall.ts"
}
}
},
{
"type": "TSDeclareFunction",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func9",
"loc": {
"start": {
"line": 73,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 73,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 73,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 73,
"column": 30,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 36,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 73,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 28,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 73,
"column": 39,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 45,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 73,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 46,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 73,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 73,
"column": 46,
"program": "functionCall.ts"
}
}
},
{
"type": "TSDeclareFunction",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func9",
"loc": {
"start": {
"line": 74,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 74,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 25,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 74,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 74,
"column": 30,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 36,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 74,
"column": 27,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 28,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 74,
"column": 39,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 45,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 74,
"column": 48,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 54,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 74,
"column": 39,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 54,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 74,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 55,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 74,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 74,
"column": 55,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func9",
"loc": {
"start": {
"line": 75,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 15,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 75,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 25,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 75,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 34,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 75,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 34,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 75,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 75,
"column": 40,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 46,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 75,
"column": 49,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 55,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 75,
"column": 40,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 55,
"program": "functionCall.ts"
}
}
},
"optional": true,
"loc": {
"start": {
"line": 75,
"column": 36,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 37,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 75,
"column": 58,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 64,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 75,
"column": 67,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 73,
"program": "functionCall.ts"
}
}
},
{
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 75,
"column": 76,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 83,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 75,
"column": 58,
"program": "functionCall.ts"
},
"end": {
"line": 75,
"column": 83,
"program": "functionCall.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 76,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 76,
"column": 16,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 76,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 76,
"column": 17,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 75,
"column": 84,
"program": "functionCall.ts"
},
"end": {
"line": 77,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 75,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 77,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 75,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 77,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "k",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 79,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 14,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func9",
"loc": {
"start": {
"line": 79,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 22,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 79,
"column": 23,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 24,
"program": "functionCall.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 79,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 31,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 79,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 32,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 32,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 79,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 79,
"column": 33,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "l",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 80,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 14,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 80,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 23,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 80,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 23,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 80,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func9",
"loc": {
"start": {
"line": 80,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 31,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 80,
"column": 32,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 37,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 80,
"column": 39,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 40,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 80,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 41,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 80,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 41,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 80,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 80,
"column": 42,
"program": "functionCall.ts"
}
}
},
{
"type": "TSDeclareFunction",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func10",
"loc": {
"start": {
"line": 82,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 16,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 82,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 23,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 82,
"column": 25,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 31,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 82,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 32,
"program": "functionCall.ts"
}
}
},
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 82,
"column": 33,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 34,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 82,
"column": 36,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 42,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 82,
"column": 33,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 44,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 82,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 44,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 82,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 18,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 82,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 53,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 82,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 55,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 82,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 56,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 82,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 82,
"column": 56,
"program": "functionCall.ts"
}
}
},
{
"type": "TSDeclareFunction",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func10",
"loc": {
"start": {
"line": 83,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 16,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 83,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 23,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 83,
"column": 25,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 31,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 32,
"program": "functionCall.ts"
}
}
},
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 83,
"column": 33,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 34,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 83,
"column": 36,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 42,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 33,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 44,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 83,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 44,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 18,
"program": "functionCall.ts"
}
}
}
],
"returnType": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 83,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 53,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 83,
"column": 47,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 55,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 56,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 83,
"column": 56,
"program": "functionCall.ts"
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "func10",
"loc": {
"start": {
"line": 84,
"column": 10,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 16,
"program": "functionCall.ts"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSTypeLiteral",
"members": [
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 84,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 23,
"program": "functionCall.ts"
}
}
},
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 84,
"column": 25,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 31,
"program": "functionCall.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 84,
"column": 34,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 40,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 84,
"column": 25,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 40,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 84,
"column": 22,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 42,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 84,
"column": 20,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 42,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 84,
"column": 17,
"program": "functionCall.ts"
},
"end": {
"line": 84,
"column": 18,
"program": "functionCall.ts"
}
}
}
],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 85,
"column": 13,
"program": "functionCall.ts"
},
"end": {
"line": 85,
"column": 14,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 85,
"column": 16,
"program": "functionCall.ts"
},
"end": {
"line": 85,
"column": 17,
"program": "functionCall.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 85,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 85,
"column": 20,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 85,
"column": 12,
"program": "functionCall.ts"
},
"end": {
"line": 85,
"column": 21,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 85,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 85,
"column": 22,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 84,
"column": 44,
"program": "functionCall.ts"
},
"end": {
"line": 86,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 84,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 86,
"column": 2,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 84,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 86,
"column": 2,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "m",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 88,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 14,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 88,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 16,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 88,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func10",
"loc": {
"start": {
"line": 88,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 25,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 88,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 29,
"program": "functionCall.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 88,
"column": 31,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 32,
"program": "functionCall.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 88,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 32,
"program": "functionCall.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 88,
"column": 34,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 35,
"program": "functionCall.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 88,
"column": 37,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 42,
"program": "functionCall.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 88,
"column": 34,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 42,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 88,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 44,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 88,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 45,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 88,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 45,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 88,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 88,
"column": 46,
"program": "functionCall.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "m",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 89,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 14,
"program": "functionCall.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 89,
"column": 8,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 16,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 89,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 6,
"program": "functionCall.ts"
}
}
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "func10",
"loc": {
"start": {
"line": 89,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 25,
"program": "functionCall.ts"
}
}
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 89,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 29,
"program": "functionCall.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 89,
"column": 31,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 36,
"program": "functionCall.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 89,
"column": 28,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 36,
"program": "functionCall.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 89,
"column": 38,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 39,
"program": "functionCall.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 89,
"column": 41,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 42,
"program": "functionCall.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 89,
"column": 38,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 42,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 89,
"column": 26,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 44,
"program": "functionCall.ts"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 89,
"column": 19,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 45,
"program": "functionCall.ts"
}
}
},
"loc": {
"start": {
"line": 89,
"column": 5,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 45,
"program": "functionCall.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 89,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 89,
"column": 46,
"program": "functionCall.ts"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "functionCall.ts"
},
"end": {
"line": 90,
"column": 1,
"program": "functionCall.ts"
}
}
}