MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / evictParser

Function evictParser

src/utils/tree-sitter.ts:78–83  ·  view source on GitHub ↗
(language: string, parser?: Parser)

Source from the content-addressed store, hash-verified

76}
77
78function evictParser(language: string, parser?: Parser): void {
79 if (parser) {
80 maybeResetParser(parser);
81 }
82 parserCache.delete(language);
83}
84
85function setParseTimeout(parser: Parser): void {
86 const maybeSetTimeout = (

Callers 2

extractTreeSitterSymbolsFunction · 0.85

Calls 1

maybeResetParserFunction · 0.85

Tested by

no test coverage detected