I need to get an abstract syntax tree in TypeScript. It is necessary to compare methods, you can use a small example to make it clearer. I'm not strong in TypeScript yet.