Documentation
¶
Overview ¶
Package typescript implements the TypeScript language extractor.
Mirrors src/main/java/.../intelligence/extractor/typescript/TypeScriptLanguageExtractor.java. The tree-sitter TypeScript grammar parses .ts/.tsx and is also used (via the typescript alias in the orchestrator) for plain JavaScript files — the grammar is a superset.
Capabilities:
- METHOD nodes: emit CALLS edges for call_expression children of the matching function_declaration / method_definition / arrow_function. Callee names come from the call_expression's `function` field.
- MODULE nodes: emit a `module_exports` type-hint listing every export_statement declaration in the file.
Confidence: PARTIAL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct{}
Extractor implements LanguageExtractor for TypeScript. Stateless.
func (*Extractor) Extract ¶
Extract dispatches by node kind: METHOD -> call edges, MODULE -> exports hint. Single-node convenience wrapper; production paths use ExtractFromTree.
Click to show internal directories.
Click to hide internal directories.