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

Method sendCompilerChangesToEditor

static/panes/tree.ts:254–264  ·  view source on GitHub ↗
(compilerId: number)

Source from the content-addressed store, hash-verified

252 }
253
254 private sendCompilerChangesToEditor(compilerId: number) {
255 this.multifileService.forEachOpenFile((file: MultifileFile) => {
256 if (file.isIncluded) {
257 this.eventHub.emit('treeCompilerEditorIncludeChange', this.id, file.editorId, compilerId);
258 } else {
259 this.eventHub.emit('treeCompilerEditorExcludeChange', this.id, file.editorId, compilerId);
260 }
261 });
262
263 this.eventHub.emit('resendCompilation', compilerId);
264 }
265
266 private sendCompileRequests() {
267 this.eventHub.emit('requestCompilation', false, this.id);

Callers 2

onCompilerOpenMethod · 0.95

Calls 2

forEachOpenFileMethod · 0.80
emitMethod · 0.45

Tested by

no test coverage detected