Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The JavaScript language.
Link copied to clipboard
Link copied to clipboard
class TypeHandler(frontend: TypeScriptLanguageFrontend) : Handler<Type, TypeScriptNode, TypeScriptLanguageFrontend>
Link copied to clipboard
The TypeScript language.
Link copied to clipboard
class TypeScriptLanguageFrontend(language: Language<TypeScriptLanguageFrontend>, ctx: TranslationContext) : LanguageFrontend<TypeScriptNode, TypeScriptNode>
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?)