• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ImportDeclaration",
6      "source": {
7        "type": "StringLiteral",
8        "value": "./typescript",
9        "loc": {
10          "start": {
11            "line": 16,
12            "column": 16
13          },
14          "end": {
15            "line": 16,
16            "column": 30
17          }
18        }
19      },
20      "specifiers": [
21        {
22          "type": "ImportDefaultSpecifier",
23          "local": {
24            "type": "Identifier",
25            "name": "ns",
26            "decorators": [],
27            "loc": {
28              "start": {
29                "line": 16,
30                "column": 8
31              },
32              "end": {
33                "line": 16,
34                "column": 10
35              }
36            }
37          },
38          "loc": {
39            "start": {
40              "line": 16,
41              "column": 8
42            },
43            "end": {
44              "line": 16,
45              "column": 10
46            }
47          }
48        }
49      ],
50      "loc": {
51        "start": {
52          "line": 16,
53          "column": 1
54        },
55        "end": {
56          "line": 16,
57          "column": 30
58        }
59      }
60    },
61    {
62      "type": "VariableDeclaration",
63      "declarations": [
64        {
65          "type": "VariableDeclarator",
66          "id": {
67            "type": "Identifier",
68            "name": "a",
69            "typeAnnotation": {
70              "type": "TSTypeReference",
71              "typeName": {
72                "type": "TSQualifiedName",
73                "left": {
74                  "type": "Identifier",
75                  "name": "ns",
76                  "decorators": [],
77                  "loc": {
78                    "start": {
79                      "line": 18,
80                      "column": 9
81                    },
82                    "end": {
83                      "line": 18,
84                      "column": 11
85                    }
86                  }
87                },
88                "right": {
89                  "type": "Identifier",
90                  "name": "A",
91                  "decorators": [],
92                  "loc": {
93                    "start": {
94                      "line": 18,
95                      "column": 12
96                    },
97                    "end": {
98                      "line": 18,
99                      "column": 13
100                    }
101                  }
102                },
103                "loc": {
104                  "start": {
105                    "line": 18,
106                    "column": 9
107                  },
108                  "end": {
109                    "line": 18,
110                    "column": 14
111                  }
112                }
113              },
114              "typeParameters": {
115                "type": "TSTypeParameterInstantiation",
116                "params": [
117                  {
118                    "type": "TSNumberKeyword",
119                    "loc": {
120                      "start": {
121                        "line": 18,
122                        "column": 14
123                      },
124                      "end": {
125                        "line": 18,
126                        "column": 20
127                      }
128                    }
129                  }
130                ],
131                "loc": {
132                  "start": {
133                    "line": 18,
134                    "column": 13
135                  },
136                  "end": {
137                    "line": 18,
138                    "column": 21
139                  }
140                }
141              },
142              "loc": {
143                "start": {
144                  "line": 18,
145                  "column": 9
146                },
147                "end": {
148                  "line": 18,
149                  "column": 14
150                }
151              }
152            },
153            "decorators": [],
154            "loc": {
155              "start": {
156                "line": 18,
157                "column": 5
158              },
159              "end": {
160                "line": 18,
161                "column": 6
162              }
163            }
164          },
165          "init": {
166            "type": "NewExpression",
167            "callee": {
168              "type": "MemberExpression",
169              "object": {
170                "type": "Identifier",
171                "name": "ns",
172                "decorators": [],
173                "loc": {
174                  "start": {
175                    "line": 18,
176                    "column": 28
177                  },
178                  "end": {
179                    "line": 18,
180                    "column": 30
181                  }
182                }
183              },
184              "property": {
185                "type": "Identifier",
186                "name": "A",
187                "decorators": [],
188                "loc": {
189                  "start": {
190                    "line": 18,
191                    "column": 31
192                  },
193                  "end": {
194                    "line": 18,
195                    "column": 32
196                  }
197                }
198              },
199              "computed": false,
200              "optional": false,
201              "loc": {
202                "start": {
203                  "line": 18,
204                  "column": 28
205                },
206                "end": {
207                  "line": 18,
208                  "column": 32
209                }
210              }
211            },
212            "typeParameters": {
213              "type": "TSTypeParameterInstantiation",
214              "params": [
215                {
216                  "type": "TSNumberKeyword",
217                  "loc": {
218                    "start": {
219                      "line": 18,
220                      "column": 33
221                    },
222                    "end": {
223                      "line": 18,
224                      "column": 39
225                    }
226                  }
227                }
228              ],
229              "loc": {
230                "start": {
231                  "line": 18,
232                  "column": 32
233                },
234                "end": {
235                  "line": 18,
236                  "column": 40
237                }
238              }
239            },
240            "arguments": [],
241            "loc": {
242              "start": {
243                "line": 18,
244                "column": 24
245              },
246              "end": {
247                "line": 18,
248                "column": 42
249              }
250            }
251          },
252          "loc": {
253            "start": {
254              "line": 18,
255              "column": 5
256            },
257            "end": {
258              "line": 18,
259              "column": 42
260            }
261          }
262        }
263      ],
264      "kind": "let",
265      "loc": {
266        "start": {
267          "line": 18,
268          "column": 1
269        },
270        "end": {
271          "line": 18,
272          "column": 43
273        }
274      }
275    }
276  ],
277  "loc": {
278    "start": {
279      "line": 1,
280      "column": 1
281    },
282    "end": {
283      "line": 20,
284      "column": 1
285    }
286  }
287}
288