Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 807 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 807 Bytes

TypeScript AST

This library provides a way to parse TypeScript source code into an abstract syntax tree (AST) in Golang. The packages are laid out similar to the standard go library.

Package Documentation

The main two packages are:

  • parser: Parse TypeScript source code into an AST.
  • ast: The AST nodes and visitor for TypeScript source code.

This library was originally created in order to parse TypeScript type definitions specifically for the Language Server Protocol Specification. As a result, it is not feature complete and may not work for all TypeScript source code.