TypeScript Code Info
Uses TypeScript compiler api to extract type info.
Extract info for:
- modules
- variables
- types
- functions
- classes and class members
Extracts:
- name
- documentation
- argumnets and return types
- modifiers
Also provides typescript parser's nodes (ts.Node), types and symbols for each item.
Example: Flexible documentation generator
Check src/example.doc.ts file.
Example: Functions list
; .files .functions .mapf.name; console.logfuncs;/*[ 'isNodeExported', 'typeOfSymbol', 'typeOfInfo', 'symbolInfo', 'parseSymbol', 'parseVariable', 'parseParameter', 'parseSignature', 'parseFunc', 'parseTypeAlias', 'parseClass', 'parseClassMethod', 'parseClassMember', 'parseModuleBody', 'parseModule', 'parseSourceFile', 'parseModifiers' ]*/