MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/co2.ts:74–77  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

72 }
73
74 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
75 super(info, env);
76 this.compileFilename = 'example.co2';
77 }
78
79 override async writeAllFiles(dirPath: string, source: string, files: FiledataPair[]) {
80 if (!source) throw new Error(`File ${this.compileFilename} has no content or file is missing`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected