MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / tokenize-worker.ts

File tokenize-worker.ts

src/ui-server/highlight/tokenize-worker.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * The worker side of bounded highlighting (`bounded-tokenize.ts`): classifies
3 * one slice per message with the engine's own grammars, off the server's
4 * thread, so a grammar that never finishes a slice can be terminated.

Callers

nothing calls this directly

Calls 3

tokenizeSourceFunction · 0.90
onMethod · 0.65
postMessageMethod · 0.65

Tested by

no test coverage detected