@hpbyte/h-codex-core
Version:
Core indexing and search functionality for h-codex
11 lines (10 loc) • 374 B
TypeScript
import Parser from 'tree-sitter';
import type { SupportedLanguage } from '../../types';
export declare class TreeSitterParser {
private parser;
constructor();
parseFile(filePath: string, language: SupportedLanguage): Promise<Parser.SyntaxNode>;
private getLanguageParser;
private getParserName;
}
export declare const treeSitterParser: TreeSitterParser;