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