Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Location(var file: String, var pos: Int, var end: Int)
Link copied to clipboard

The TypeScript language.

Link copied to clipboard

This language frontend adds experimental support for TypeScript. It is definitely not feature complete, but can be used to parse simple typescript snippets through the official typescript parser written in TypeScript / nodejs. It includes a simple nodejs script that invokes this parser in src/main/nodejs. It basically dumps the AST in a JSON structure on stdout and this input is parsed by this frontend.

Link copied to clipboard
class TypeScriptNode(var type: String, var children: List<TypeScriptNode>?, var location: Location, var code: String?)