• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ETSPackageDeclaration",
6      "name": {
7        "type": "TSQualifiedName",
8        "left": {
9          "type": "TSQualifiedName",
10          "left": {
11            "type": "TSQualifiedName",
12            "left": {
13              "type": "TSQualifiedName",
14              "left": {
15                "type": "Identifier",
16                "name": "com",
17                "decorators": [],
18                "loc": {
19                  "start": {
20                    "line": 16,
21                    "column": 9
22                  },
23                  "end": {
24                    "line": 16,
25                    "column": 12
26                  }
27                }
28              },
29              "right": {
30                "type": "Identifier",
31                "name": "huawei",
32                "decorators": [],
33                "loc": {
34                  "start": {
35                    "line": 16,
36                    "column": 13
37                  },
38                  "end": {
39                    "line": 16,
40                    "column": 19
41                  }
42                }
43              },
44              "loc": {
45                "start": {
46                  "line": 16,
47                  "column": 9
48                },
49                "end": {
50                  "line": 16,
51                  "column": 19
52                }
53              }
54            },
55            "right": {
56              "type": "Identifier",
57              "name": "migrationtool",
58              "decorators": [],
59              "loc": {
60                "start": {
61                  "line": 16,
62                  "column": 20
63                },
64                "end": {
65                  "line": 16,
66                  "column": 33
67                }
68              }
69            },
70            "loc": {
71              "start": {
72                "line": 16,
73                "column": 9
74              },
75              "end": {
76                "line": 16,
77                "column": 33
78              }
79            }
80          },
81          "right": {
82            "type": "Identifier",
83            "name": "teets",
84            "decorators": [],
85            "loc": {
86              "start": {
87                "line": 16,
88                "column": 34
89              },
90              "end": {
91                "line": 16,
92                "column": 39
93              }
94            }
95          },
96          "loc": {
97            "start": {
98              "line": 16,
99              "column": 9
100            },
101            "end": {
102              "line": 16,
103              "column": 39
104            }
105          }
106        },
107        "right": {
108          "type": "Identifier",
109          "name": "sts",
110          "decorators": [],
111          "loc": {
112            "start": {
113              "line": 16,
114              "column": 40
115            },
116            "end": {
117              "line": 16,
118              "column": 43
119            }
120          }
121        },
122        "loc": {
123          "start": {
124            "line": 16,
125            "column": 9
126          },
127          "end": {
128            "line": 16,
129            "column": 44
130          }
131        }
132      },
133      "loc": {
134        "start": {
135          "line": 16,
136          "column": 1
137        },
138        "end": {
139          "line": 16,
140          "column": 44
141        }
142      }
143    },
144    {
145      "type": "ClassDeclaration",
146      "definition": {
147        "id": {
148          "type": "Identifier",
149          "name": "A",
150          "decorators": [],
151          "loc": {
152            "start": {
153              "line": 18,
154              "column": 7
155            },
156            "end": {
157              "line": 18,
158              "column": 8
159            }
160          }
161        },
162        "superClass": null,
163        "implements": [],
164        "body": [
165          {
166            "type": "MethodDefinition",
167            "key": {
168              "type": "Identifier",
169              "name": "foo",
170              "decorators": [],
171              "loc": {
172                "start": {
173                  "line": 19,
174                  "column": 13
175                },
176                "end": {
177                  "line": 19,
178                  "column": 16
179                }
180              }
181            },
182            "kind": "method",
183            "accessibility": "public",
184            "static": false,
185            "optional": false,
186            "computed": false,
187            "value": {
188              "type": "FunctionExpression",
189              "function": {
190                "type": "ScriptFunction",
191                "id": {
192                  "type": "Identifier",
193                  "name": "foo",
194                  "decorators": [],
195                  "loc": {
196                    "start": {
197                      "line": 19,
198                      "column": 13
199                    },
200                    "end": {
201                      "line": 19,
202                      "column": 16
203                    }
204                  }
205                },
206                "generator": false,
207                "async": false,
208                "expression": false,
209                "params": [],
210                "returnType": {
211                  "type": "ETSPrimitiveType",
212                  "loc": {
213                    "start": {
214                      "line": 19,
215                      "column": 20
216                    },
217                    "end": {
218                      "line": 19,
219                      "column": 24
220                    }
221                  }
222                },
223                "body": {
224                  "type": "BlockStatement",
225                  "statements": [],
226                  "loc": {
227                    "start": {
228                      "line": 19,
229                      "column": 25
230                    },
231                    "end": {
232                      "line": 20,
233                      "column": 6
234                    }
235                  }
236                },
237                "loc": {
238                  "start": {
239                    "line": 19,
240                    "column": 16
241                  },
242                  "end": {
243                    "line": 20,
244                    "column": 6
245                  }
246                }
247              },
248              "loc": {
249                "start": {
250                  "line": 19,
251                  "column": 16
252                },
253                "end": {
254                  "line": 20,
255                  "column": 6
256                }
257              }
258            },
259            "overloads": [
260              {
261                "type": "MethodDefinition",
262                "key": {
263                  "type": "Identifier",
264                  "name": "foo",
265                  "decorators": [],
266                  "loc": {
267                    "start": {
268                      "line": 21,
269                      "column": 13
270                    },
271                    "end": {
272                      "line": 21,
273                      "column": 16
274                    }
275                  }
276                },
277                "kind": "method",
278                "accessibility": "private",
279                "static": false,
280                "optional": false,
281                "computed": false,
282                "value": {
283                  "type": "FunctionExpression",
284                  "function": {
285                    "type": "ScriptFunction",
286                    "id": {
287                      "type": "Identifier",
288                      "name": "foo",
289                      "decorators": [],
290                      "loc": {
291                        "start": {
292                          "line": 21,
293                          "column": 13
294                        },
295                        "end": {
296                          "line": 21,
297                          "column": 16
298                        }
299                      }
300                    },
301                    "generator": false,
302                    "async": false,
303                    "expression": false,
304                    "params": [
305                      {
306                        "type": "ETSParameterExpression",
307                        "name": {
308                          "type": "Identifier",
309                          "name": "i",
310                          "typeAnnotation": {
311                            "type": "ETSPrimitiveType",
312                            "loc": {
313                              "start": {
314                                "line": 21,
315                                "column": 21
316                              },
317                              "end": {
318                                "line": 21,
319                                "column": 24
320                              }
321                            }
322                          },
323                          "decorators": [],
324                          "loc": {
325                            "start": {
326                              "line": 21,
327                              "column": 17
328                            },
329                            "end": {
330                              "line": 21,
331                              "column": 24
332                            }
333                          }
334                        },
335                        "loc": {
336                          "start": {
337                            "line": 21,
338                            "column": 17
339                          },
340                          "end": {
341                            "line": 21,
342                            "column": 24
343                          }
344                        }
345                      }
346                    ],
347                    "returnType": {
348                      "type": "ETSPrimitiveType",
349                      "loc": {
350                        "start": {
351                          "line": 21,
352                          "column": 27
353                        },
354                        "end": {
355                          "line": 21,
356                          "column": 31
357                        }
358                      }
359                    },
360                    "body": {
361                      "type": "BlockStatement",
362                      "statements": [],
363                      "loc": {
364                        "start": {
365                          "line": 21,
366                          "column": 32
367                        },
368                        "end": {
369                          "line": 22,
370                          "column": 6
371                        }
372                      }
373                    },
374                    "loc": {
375                      "start": {
376                        "line": 21,
377                        "column": 16
378                      },
379                      "end": {
380                        "line": 22,
381                        "column": 6
382                      }
383                    }
384                  },
385                  "loc": {
386                    "start": {
387                      "line": 21,
388                      "column": 16
389                    },
390                    "end": {
391                      "line": 22,
392                      "column": 6
393                    }
394                  }
395                },
396                "overloads": [],
397                "decorators": [],
398                "loc": {
399                  "start": {
400                    "line": 21,
401                    "column": 5
402                  },
403                  "end": {
404                    "line": 22,
405                    "column": 6
406                  }
407                }
408              }
409            ],
410            "decorators": [],
411            "loc": {
412              "start": {
413                "line": 19,
414                "column": 5
415              },
416              "end": {
417                "line": 20,
418                "column": 6
419              }
420            }
421          },
422          {
423            "type": "MethodDefinition",
424            "key": {
425              "type": "Identifier",
426              "name": "foo",
427              "decorators": [],
428              "loc": {
429                "start": {
430                  "line": 23,
431                  "column": 12
432                },
433                "end": {
434                  "line": 23,
435                  "column": 15
436                }
437              }
438            },
439            "kind": "method",
440            "accessibility": "public",
441            "static": true,
442            "optional": false,
443            "computed": false,
444            "value": {
445              "type": "FunctionExpression",
446              "function": {
447                "type": "ScriptFunction",
448                "id": {
449                  "type": "Identifier",
450                  "name": "foo",
451                  "decorators": [],
452                  "loc": {
453                    "start": {
454                      "line": 23,
455                      "column": 12
456                    },
457                    "end": {
458                      "line": 23,
459                      "column": 15
460                    }
461                  }
462                },
463                "generator": false,
464                "async": false,
465                "expression": false,
466                "params": [
467                  {
468                    "type": "ETSParameterExpression",
469                    "name": {
470                      "type": "Identifier",
471                      "name": "d",
472                      "typeAnnotation": {
473                        "type": "ETSPrimitiveType",
474                        "loc": {
475                          "start": {
476                            "line": 23,
477                            "column": 20
478                          },
479                          "end": {
480                            "line": 23,
481                            "column": 26
482                          }
483                        }
484                      },
485                      "decorators": [],
486                      "loc": {
487                        "start": {
488                          "line": 23,
489                          "column": 16
490                        },
491                        "end": {
492                          "line": 23,
493                          "column": 26
494                        }
495                      }
496                    },
497                    "loc": {
498                      "start": {
499                        "line": 23,
500                        "column": 16
501                      },
502                      "end": {
503                        "line": 23,
504                        "column": 26
505                      }
506                    }
507                  }
508                ],
509                "returnType": {
510                  "type": "ETSPrimitiveType",
511                  "loc": {
512                    "start": {
513                      "line": 23,
514                      "column": 29
515                    },
516                    "end": {
517                      "line": 23,
518                      "column": 33
519                    }
520                  }
521                },
522                "body": {
523                  "type": "BlockStatement",
524                  "statements": [],
525                  "loc": {
526                    "start": {
527                      "line": 23,
528                      "column": 34
529                    },
530                    "end": {
531                      "line": 24,
532                      "column": 6
533                    }
534                  }
535                },
536                "loc": {
537                  "start": {
538                    "line": 23,
539                    "column": 15
540                  },
541                  "end": {
542                    "line": 24,
543                    "column": 6
544                  }
545                }
546              },
547              "loc": {
548                "start": {
549                  "line": 23,
550                  "column": 15
551                },
552                "end": {
553                  "line": 24,
554                  "column": 6
555                }
556              }
557            },
558            "overloads": [],
559            "decorators": [],
560            "loc": {
561              "start": {
562                "line": 23,
563                "column": 5
564              },
565              "end": {
566                "line": 24,
567                "column": 6
568              }
569            }
570          },
571          {
572            "type": "MethodDefinition",
573            "key": {
574              "type": "Identifier",
575              "name": "constructor",
576              "decorators": [],
577              "loc": {
578                "start": {
579                  "line": 1,
580                  "column": 1
581                },
582                "end": {
583                  "line": 1,
584                  "column": 1
585                }
586              }
587            },
588            "kind": "constructor",
589            "static": false,
590            "optional": false,
591            "computed": false,
592            "value": {
593              "type": "FunctionExpression",
594              "function": {
595                "type": "ScriptFunction",
596                "id": {
597                  "type": "Identifier",
598                  "name": "constructor",
599                  "decorators": [],
600                  "loc": {
601                    "start": {
602                      "line": 1,
603                      "column": 1
604                    },
605                    "end": {
606                      "line": 1,
607                      "column": 1
608                    }
609                  }
610                },
611                "generator": false,
612                "async": false,
613                "expression": false,
614                "params": [],
615                "body": {
616                  "type": "BlockStatement",
617                  "statements": [],
618                  "loc": {
619                    "start": {
620                      "line": 1,
621                      "column": 1
622                    },
623                    "end": {
624                      "line": 1,
625                      "column": 1
626                    }
627                  }
628                },
629                "loc": {
630                  "start": {
631                    "line": 1,
632                    "column": 1
633                  },
634                  "end": {
635                    "line": 1,
636                    "column": 1
637                  }
638                }
639              },
640              "loc": {
641                "start": {
642                  "line": 1,
643                  "column": 1
644                },
645                "end": {
646                  "line": 1,
647                  "column": 1
648                }
649              }
650            },
651            "overloads": [],
652            "decorators": [],
653            "loc": {
654              "start": {
655                "line": 25,
656                "column": 2
657              },
658              "end": {
659                "line": 25,
660                "column": 2
661              }
662            }
663          }
664        ],
665        "loc": {
666          "start": {
667            "line": 18,
668            "column": 10
669          },
670          "end": {
671            "line": 25,
672            "column": 2
673          }
674        }
675      },
676      "loc": {
677        "start": {
678          "line": 18,
679          "column": 1
680        },
681        "end": {
682          "line": 25,
683          "column": 2
684        }
685      }
686    },
687    {
688      "type": "ClassDeclaration",
689      "definition": {
690        "id": {
691          "type": "Identifier",
692          "name": "ETSGLOBAL",
693          "decorators": [],
694          "loc": {
695            "start": {
696              "line": 1,
697              "column": 1
698            },
699            "end": {
700              "line": 1,
701              "column": 1
702            }
703          }
704        },
705        "superClass": null,
706        "implements": [],
707        "body": [],
708        "loc": {
709          "start": {
710            "line": 1,
711            "column": 1
712          },
713          "end": {
714            "line": 1,
715            "column": 1
716          }
717        }
718      },
719      "loc": {
720        "start": {
721          "line": 1,
722          "column": 1
723        },
724        "end": {
725          "line": 1,
726          "column": 1
727        }
728      }
729    }
730  ],
731  "loc": {
732    "start": {
733      "line": 1,
734      "column": 1
735    },
736    "end": {
737      "line": 26,
738      "column": 1
739    }
740  }
741}
742