MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / preProcess

Method preProcess

lib/base-compiler.ts:3847–3852  ·  view source on GitHub ↗
(source: string, filters: CompilerOutputOptions)

Source from the content-addressed store, hash-verified

3845 }
3846
3847 preProcess(source: string, filters: CompilerOutputOptions): string {
3848 if (filters.binary && !this.stubRe.test(source)) {
3849 source += `\n${this.stubText}\n`;
3850 }
3851 return source;
3852 }
3853
3854 async postProcess(
3855 result: CompilationResult,

Callers 1

compileMethod · 0.95

Calls 1

testMethod · 0.80

Tested by

no test coverage detected