TypeScript code
The MVP parses TSX, reports syntax diagnostics and never executes code.
Paste TypeScript code, choose a preset and see the node kinds, ranges, diagnostics and source slices produced by the compiler API. Parsing runs locally in the browser.
AST shows code structure the way the TypeScript parser understands it. That helps when writing lint rules, codemods, generators and refactoring tools without guessing from raw text.
Code is not sent to a backend. TypeScript compiler API loads after you run analysis and stays inside the current tab.
Choose a preset or paste your own code. The result shows the AST tree, diagnostics and details for the selected node.
Type declaration, function parameters and call expression for reviewing FunctionDeclaration, Parameter and CallExpression.
The MVP parses TSX, reports syntax diagnostics and never executes code.
Click Analyze AST to build a tree for the current code.
Best when you need native TypeScript syntax, parser diagnostics and `SyntaxKind`.
Excellent in the JavaScript transform ecosystem, but it uses a different representation than TypeScript compiler.
Fast for simple search, risky for refactoring and structural changes.
No. Parsing runs in the browser and user input is not sent to a backend.
`pos` often includes trivia such as comments and whitespace. `start` points to the first meaningful token.
Yes. The MVP creates the source file as TSX, so JSX and decorators are handled by compiler API.
No. This is a syntax AST and parser diagnostics viewer, not a full TypeScript program with type resolution.
It lets you reproduce traversal locally and start writing a rule, codemod or analysis tool.