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

Method getCompilerStates

static/panes/editor.ts:725–743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

723 }
724
725 getCompilerStates(): any[] {
726 const states: any[] = [];
727
728 for (const compilerIdStr of Object.keys(this.ourCompilers)) {
729 const compilerId = Number.parseInt(compilerIdStr, 10);
730
731 const glCompiler: Compiler | undefined = _.find(
732 this.container.layoutManager.root.getComponentsByName('compiler'),
733 c => c.id === compilerId,
734 );
735
736 if (glCompiler) {
737 const state = glCompiler.getCurrentState();
738 states.push(state);
739 }
740 }
741
742 return states;
743 }
744
745 updateOpenInCppInsights(): void {
746 if (options.thirdPartyIntegrationEnabled) {

Callers 2

Calls 3

findMethod · 0.80
pushMethod · 0.80
getCurrentStateMethod · 0.45

Tested by

no test coverage detected