MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / wasm

Function wasm

__tests__/ts-variance-annotations.test.ts:157–160  ·  view source on GitHub ↗
(file: string, source: string, language: Language)

Source from the content-addressed store, hash-verified

155
156 const preParsed = (file: string, source: string): string => typescriptExtractor.preParse!(source, file);
157 const wasm = (file: string, source: string, language: Language): ExtractionResult => {
158 process.env.CODEGRAPH_KERNEL = '0';
159 return extractFromSource(file, source, language);
160 };
161 const kernel = (file: string, source: string, language: Language): ExtractionResult | null => {
162 delete process.env.CODEGRAPH_KERNEL;
163 process.env.CODEGRAPH_KERNEL_LANGS = 'all';

Callers 1

Calls 1

extractFromSourceFunction · 0.90

Tested by

no test coverage detected