• 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": "test",
84            "decorators": [],
85            "loc": {
86              "start": {
87                "line": 16,
88                "column": 34
89              },
90              "end": {
91                "line": 16,
92                "column": 38
93              }
94            }
95          },
96          "loc": {
97            "start": {
98              "line": 16,
99              "column": 9
100            },
101            "end": {
102              "line": 16,
103              "column": 38
104            }
105          }
106        },
107        "right": {
108          "type": "Identifier",
109          "name": "sts",
110          "decorators": [],
111          "loc": {
112            "start": {
113              "line": 16,
114              "column": 39
115            },
116            "end": {
117              "line": 16,
118              "column": 42
119            }
120          }
121        },
122        "loc": {
123          "start": {
124            "line": 16,
125            "column": 9
126          },
127          "end": {
128            "line": 16,
129            "column": 43
130          }
131        }
132      },
133      "loc": {
134        "start": {
135          "line": 16,
136          "column": 1
137        },
138        "end": {
139          "line": 16,
140          "column": 43
141        }
142      }
143    },
144    {
145      "type": "ClassDeclaration",
146      "definition": {
147        "id": {
148          "type": "Identifier",
149          "name": "MyClass",
150          "decorators": [],
151          "loc": {
152            "start": {
153              "line": 18,
154              "column": 7
155            },
156            "end": {
157              "line": 18,
158              "column": 14
159            }
160          }
161        },
162        "superClass": null,
163        "implements": [],
164        "body": [
165          {
166            "type": "ClassProperty",
167            "key": {
168              "type": "Identifier",
169              "name": "a",
170              "decorators": [],
171              "loc": {
172                "start": {
173                  "line": 19,
174                  "column": 12
175                },
176                "end": {
177                  "line": 19,
178                  "column": 13
179                }
180              }
181            },
182            "value": {
183              "type": "NumberLiteral",
184              "value": 1,
185              "loc": {
186                "start": {
187                  "line": 19,
188                  "column": 22
189                },
190                "end": {
191                  "line": 19,
192                  "column": 23
193                }
194              }
195            },
196            "accessibility": "public",
197            "static": true,
198            "readonly": false,
199            "declare": false,
200            "optional": false,
201            "computed": false,
202            "typeAnnotation": {
203              "type": "ETSPrimitiveType",
204              "loc": {
205                "start": {
206                  "line": 19,
207                  "column": 16
208                },
209                "end": {
210                  "line": 19,
211                  "column": 19
212                }
213              }
214            },
215            "definite": false,
216            "decorators": [],
217            "loc": {
218              "start": {
219                "line": 19,
220                "column": 12
221              },
222              "end": {
223                "line": 19,
224                "column": 23
225              }
226            }
227          },
228          {
229            "type": "ClassStaticBlock",
230            "value": {
231              "type": "FunctionExpression",
232              "function": {
233                "type": "ScriptFunction",
234                "id": {
235                  "type": "Identifier",
236                  "name": "<cctor>",
237                  "decorators": [],
238                  "loc": {
239                    "start": {
240                      "line": 1,
241                      "column": 1
242                    },
243                    "end": {
244                      "line": 1,
245                      "column": 1
246                    }
247                  }
248                },
249                "generator": false,
250                "async": false,
251                "expression": true,
252                "params": [],
253                "body": {
254                  "type": "BlockStatement",
255                  "statements": [
256                    {
257                      "type": "ExpressionStatement",
258                      "expression": {
259                        "type": "AssignmentExpression",
260                        "operator": "=",
261                        "left": {
262                          "type": "MemberExpression",
263                          "object": {
264                            "type": "Identifier",
265                            "name": "MyClass",
266                            "decorators": [],
267                            "loc": {
268                              "start": {
269                                "line": 21,
270                                "column": 9
271                              },
272                              "end": {
273                                "line": 21,
274                                "column": 16
275                              }
276                            }
277                          },
278                          "property": {
279                            "type": "Identifier",
280                            "name": "a",
281                            "decorators": [],
282                            "loc": {
283                              "start": {
284                                "line": 21,
285                                "column": 17
286                              },
287                              "end": {
288                                "line": 21,
289                                "column": 18
290                              }
291                            }
292                          },
293                          "computed": false,
294                          "optional": false,
295                          "loc": {
296                            "start": {
297                              "line": 21,
298                              "column": 9
299                            },
300                            "end": {
301                              "line": 21,
302                              "column": 18
303                            }
304                          }
305                        },
306                        "right": {
307                          "type": "NumberLiteral",
308                          "value": 2,
309                          "loc": {
310                            "start": {
311                              "line": 21,
312                              "column": 21
313                            },
314                            "end": {
315                              "line": 21,
316                              "column": 22
317                            }
318                          }
319                        },
320                        "loc": {
321                          "start": {
322                            "line": 21,
323                            "column": 9
324                          },
325                          "end": {
326                            "line": 21,
327                            "column": 22
328                          }
329                        }
330                      },
331                      "loc": {
332                        "start": {
333                          "line": 21,
334                          "column": 9
335                        },
336                        "end": {
337                          "line": 21,
338                          "column": 23
339                        }
340                      }
341                    },
342                    {
343                      "type": "ExpressionStatement",
344                      "expression": {
345                        "type": "AssignmentExpression",
346                        "operator": "+=",
347                        "left": {
348                          "type": "MemberExpression",
349                          "object": {
350                            "type": "Identifier",
351                            "name": "MyClass",
352                            "decorators": [],
353                            "loc": {
354                              "start": {
355                                "line": 22,
356                                "column": 9
357                              },
358                              "end": {
359                                "line": 22,
360                                "column": 16
361                              }
362                            }
363                          },
364                          "property": {
365                            "type": "Identifier",
366                            "name": "a",
367                            "decorators": [],
368                            "loc": {
369                              "start": {
370                                "line": 22,
371                                "column": 17
372                              },
373                              "end": {
374                                "line": 22,
375                                "column": 18
376                              }
377                            }
378                          },
379                          "computed": false,
380                          "optional": false,
381                          "loc": {
382                            "start": {
383                              "line": 22,
384                              "column": 9
385                            },
386                            "end": {
387                              "line": 22,
388                              "column": 18
389                            }
390                          }
391                        },
392                        "right": {
393                          "type": "NumberLiteral",
394                          "value": 3,
395                          "loc": {
396                            "start": {
397                              "line": 22,
398                              "column": 22
399                            },
400                            "end": {
401                              "line": 22,
402                              "column": 23
403                            }
404                          }
405                        },
406                        "loc": {
407                          "start": {
408                            "line": 22,
409                            "column": 9
410                          },
411                          "end": {
412                            "line": 22,
413                            "column": 23
414                          }
415                        }
416                      },
417                      "loc": {
418                        "start": {
419                          "line": 22,
420                          "column": 9
421                        },
422                        "end": {
423                          "line": 22,
424                          "column": 24
425                        }
426                      }
427                    },
428                    {
429                      "type": "ExpressionStatement",
430                      "expression": {
431                        "type": "AssignmentExpression",
432                        "operator": "=",
433                        "left": {
434                          "type": "MemberExpression",
435                          "object": {
436                            "type": "Identifier",
437                            "name": "MyClass",
438                            "decorators": [],
439                            "loc": {
440                              "start": {
441                                "line": 23,
442                                "column": 9
443                              },
444                              "end": {
445                                "line": 23,
446                                "column": 16
447                              }
448                            }
449                          },
450                          "property": {
451                            "type": "Identifier",
452                            "name": "b",
453                            "decorators": [],
454                            "loc": {
455                              "start": {
456                                "line": 23,
457                                "column": 17
458                              },
459                              "end": {
460                                "line": 23,
461                                "column": 18
462                              }
463                            }
464                          },
465                          "computed": false,
466                          "optional": false,
467                          "loc": {
468                            "start": {
469                              "line": 23,
470                              "column": 9
471                            },
472                            "end": {
473                              "line": 23,
474                              "column": 18
475                            }
476                          }
477                        },
478                        "right": {
479                          "type": "NumberLiteral",
480                          "value": 5,
481                          "loc": {
482                            "start": {
483                              "line": 23,
484                              "column": 21
485                            },
486                            "end": {
487                              "line": 23,
488                              "column": 22
489                            }
490                          }
491                        },
492                        "loc": {
493                          "start": {
494                            "line": 23,
495                            "column": 9
496                          },
497                          "end": {
498                            "line": 23,
499                            "column": 22
500                          }
501                        }
502                      },
503                      "loc": {
504                        "start": {
505                          "line": 23,
506                          "column": 9
507                        },
508                        "end": {
509                          "line": 23,
510                          "column": 23
511                        }
512                      }
513                    },
514                    {
515                      "type": "ExpressionStatement",
516                      "expression": {
517                        "type": "AssignmentExpression",
518                        "operator": "-=",
519                        "left": {
520                          "type": "MemberExpression",
521                          "object": {
522                            "type": "Identifier",
523                            "name": "MyClass",
524                            "decorators": [],
525                            "loc": {
526                              "start": {
527                                "line": 24,
528                                "column": 9
529                              },
530                              "end": {
531                                "line": 24,
532                                "column": 16
533                              }
534                            }
535                          },
536                          "property": {
537                            "type": "Identifier",
538                            "name": "b",
539                            "decorators": [],
540                            "loc": {
541                              "start": {
542                                "line": 24,
543                                "column": 17
544                              },
545                              "end": {
546                                "line": 24,
547                                "column": 18
548                              }
549                            }
550                          },
551                          "computed": false,
552                          "optional": false,
553                          "loc": {
554                            "start": {
555                              "line": 24,
556                              "column": 9
557                            },
558                            "end": {
559                              "line": 24,
560                              "column": 18
561                            }
562                          }
563                        },
564                        "right": {
565                          "type": "NumberLiteral",
566                          "value": 6,
567                          "loc": {
568                            "start": {
569                              "line": 24,
570                              "column": 22
571                            },
572                            "end": {
573                              "line": 24,
574                              "column": 23
575                            }
576                          }
577                        },
578                        "loc": {
579                          "start": {
580                            "line": 24,
581                            "column": 9
582                          },
583                          "end": {
584                            "line": 24,
585                            "column": 23
586                          }
587                        }
588                      },
589                      "loc": {
590                        "start": {
591                          "line": 24,
592                          "column": 9
593                        },
594                        "end": {
595                          "line": 24,
596                          "column": 24
597                        }
598                      }
599                    }
600                  ],
601                  "loc": {
602                    "start": {
603                      "line": 1,
604                      "column": 1
605                    },
606                    "end": {
607                      "line": 1,
608                      "column": 1
609                    }
610                  }
611                },
612                "loc": {
613                  "start": {
614                    "line": 1,
615                    "column": 1
616                  },
617                  "end": {
618                    "line": 1,
619                    "column": 1
620                  }
621                }
622              },
623              "loc": {
624                "start": {
625                  "line": 1,
626                  "column": 1
627                },
628                "end": {
629                  "line": 1,
630                  "column": 1
631                }
632              }
633            },
634            "loc": {
635              "start": {
636                "line": 25,
637                "column": 5
638              },
639              "end": {
640                "line": 25,
641                "column": 6
642              }
643            }
644          },
645          {
646            "type": "ClassProperty",
647            "key": {
648              "type": "Identifier",
649              "name": "b",
650              "decorators": [],
651              "loc": {
652                "start": {
653                  "line": 27,
654                  "column": 12
655                },
656                "end": {
657                  "line": 27,
658                  "column": 13
659                }
660              }
661            },
662            "value": {
663              "type": "NumberLiteral",
664              "value": 4,
665              "loc": {
666                "start": {
667                  "line": 27,
668                  "column": 22
669                },
670                "end": {
671                  "line": 27,
672                  "column": 23
673                }
674              }
675            },
676            "accessibility": "public",
677            "static": true,
678            "readonly": false,
679            "declare": false,
680            "optional": false,
681            "computed": false,
682            "typeAnnotation": {
683              "type": "ETSPrimitiveType",
684              "loc": {
685                "start": {
686                  "line": 27,
687                  "column": 16
688                },
689                "end": {
690                  "line": 27,
691                  "column": 19
692                }
693              }
694            },
695            "definite": false,
696            "decorators": [],
697            "loc": {
698              "start": {
699                "line": 27,
700                "column": 12
701              },
702              "end": {
703                "line": 27,
704                "column": 23
705              }
706            }
707          },
708          {
709            "type": "MethodDefinition",
710            "key": {
711              "type": "Identifier",
712              "name": "constructor",
713              "decorators": [],
714              "loc": {
715                "start": {
716                  "line": 1,
717                  "column": 1
718                },
719                "end": {
720                  "line": 1,
721                  "column": 1
722                }
723              }
724            },
725            "kind": "constructor",
726            "static": false,
727            "optional": false,
728            "computed": false,
729            "value": {
730              "type": "FunctionExpression",
731              "function": {
732                "type": "ScriptFunction",
733                "id": {
734                  "type": "Identifier",
735                  "name": "constructor",
736                  "decorators": [],
737                  "loc": {
738                    "start": {
739                      "line": 1,
740                      "column": 1
741                    },
742                    "end": {
743                      "line": 1,
744                      "column": 1
745                    }
746                  }
747                },
748                "generator": false,
749                "async": false,
750                "expression": false,
751                "params": [],
752                "body": {
753                  "type": "BlockStatement",
754                  "statements": [],
755                  "loc": {
756                    "start": {
757                      "line": 1,
758                      "column": 1
759                    },
760                    "end": {
761                      "line": 1,
762                      "column": 1
763                    }
764                  }
765                },
766                "loc": {
767                  "start": {
768                    "line": 1,
769                    "column": 1
770                  },
771                  "end": {
772                    "line": 1,
773                    "column": 1
774                  }
775                }
776              },
777              "loc": {
778                "start": {
779                  "line": 1,
780                  "column": 1
781                },
782                "end": {
783                  "line": 1,
784                  "column": 1
785                }
786              }
787            },
788            "overloads": [],
789            "decorators": [],
790            "loc": {
791              "start": {
792                "line": 28,
793                "column": 2
794              },
795              "end": {
796                "line": 28,
797                "column": 2
798              }
799            }
800          }
801        ],
802        "loc": {
803          "start": {
804            "line": 18,
805            "column": 16
806          },
807          "end": {
808            "line": 28,
809            "column": 2
810          }
811        }
812      },
813      "loc": {
814        "start": {
815          "line": 18,
816          "column": 1
817        },
818        "end": {
819          "line": 28,
820          "column": 2
821        }
822      }
823    },
824    {
825      "type": "ClassDeclaration",
826      "definition": {
827        "id": {
828          "type": "Identifier",
829          "name": "ETSGLOBAL",
830          "decorators": [],
831          "loc": {
832            "start": {
833              "line": 1,
834              "column": 1
835            },
836            "end": {
837              "line": 1,
838              "column": 1
839            }
840          }
841        },
842        "superClass": null,
843        "implements": [],
844        "body": [],
845        "loc": {
846          "start": {
847            "line": 1,
848            "column": 1
849          },
850          "end": {
851            "line": 1,
852            "column": 1
853          }
854        }
855      },
856      "loc": {
857        "start": {
858          "line": 1,
859          "column": 1
860        },
861        "end": {
862          "line": 1,
863          "column": 1
864        }
865      }
866    }
867  ],
868  "loc": {
869    "start": {
870      "line": 1,
871      "column": 1
872    },
873    "end": {
874      "line": 29,
875      "column": 1
876    }
877  }
878}
879