MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / token

Function token

packages/web/src/lib/codeHighlight.ts:7–10  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

5
6const plainTextLanguage = StreamLanguage.define({
7 token(stream) {
8 stream.next();
9 return null;
10 },
11});
12
13export const getCodeParserByLanguageName = async (languageName: string): Promise<Parser> => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected