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

Method onCompilerChange

static/panes/executor.ts:1099–1105  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1097 }
1098
1099 async onCompilerChange(value: string): Promise<void> {
1100 this.compiler = await this.hub.compilerService.findCompiler(this.currentLangId, value);
1101 this.updateLibraries();
1102 this.updateState();
1103 this.compile();
1104 this.updateCompilerUI();
1105 }
1106
1107 onToggleWrapChange(): void {
1108 const state = this.getCurrentState();

Callers 1

initializeMethod · 0.45

Calls 5

updateLibrariesMethod · 0.95
updateStateMethod · 0.95
compileMethod · 0.95
updateCompilerUIMethod · 0.95
findCompilerMethod · 0.45

Tested by

no test coverage detected