• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "VariableDeclaration",
6      "declarations": [
7        {
8          "type": "VariableDeclarator",
9          "id": {
10            "type": "Identifier",
11            "name": "a",
12            "decorators": [],
13            "loc": {
14              "start": {
15                "line": 16,
16                "column": 5
17              },
18              "end": {
19                "line": 16,
20                "column": 6
21              }
22            }
23          },
24          "init": {
25            "type": "CallExpression",
26            "callee": {
27              "type": "NumberLiteral",
28              "value": 5,
29              "loc": {
30                "start": {
31                  "line": 16,
32                  "column": 9
33                },
34                "end": {
35                  "line": 16,
36                  "column": 10
37                }
38              }
39            },
40            "arguments": [],
41            "optional": false,
42            "loc": {
43              "start": {
44                "line": 16,
45                "column": 9
46              },
47              "end": {
48                "line": 16,
49                "column": 12
50              }
51            }
52          },
53          "loc": {
54            "start": {
55              "line": 16,
56              "column": 5
57            },
58            "end": {
59              "line": 16,
60              "column": 12
61            }
62          }
63        }
64      ],
65      "kind": "var",
66      "loc": {
67        "start": {
68          "line": 16,
69          "column": 1
70        },
71        "end": {
72          "line": 16,
73          "column": 13
74        }
75      }
76    }
77  ],
78  "loc": {
79    "start": {
80      "line": 1,
81      "column": 1
82    },
83    "end": {
84      "line": 17,
85      "column": 1
86    }
87  }
88}
89TypeError: This expression is not callable. [new_expression_164.ts:16:9]
90