MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / parser.worker.ts

File parser.worker.ts

website/src/lib/parser.worker.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Parser, Language, Query } from "web-tree-sitter";
2// Leverage Vite's asset pipeline to guarantee we receive the exact .wasm file that matches our NPM package version
3import treeSitterWasmUrl from "web-tree-sitter/tree-sitter.wasm?url";
4

Callers

nothing calls this directly

Calls 6

initParserFunction · 0.85
computeCommonPrefixFunction · 0.85
addNodeFunction · 0.85
processNextBatchFunction · 0.85
pushMethod · 0.80
mapMethod · 0.80

Tested by

no test coverage detected