MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / getExplainViewWith

Function getExplainViewWith

static/components.ts:1051–1063  ·  view source on GitHub ↗
(
    id: number,
    compilerName: string,
    editorid: number,
    treeid: number,
)

Source from the content-addressed store, hash-verified

1049
1050/** Get an explain view with the given configuration. */
1051export function getExplainViewWith(
1052 id: number,
1053 compilerName: string,
1054 editorid: number,
1055 treeid: number,
1056): ComponentConfig<typeof EXPLAIN_VIEW_COMPONENT_NAME> {
1057 return createComponentConfig(EXPLAIN_VIEW_COMPONENT_NAME, {
1058 id,
1059 compilerName,
1060 editorid,
1061 treeid,
1062 });
1063}
1064
1065/**
1066 * Helper function to create a typed component configuration

Callers

nothing calls this directly

Calls 1

createComponentConfigFunction · 0.85

Tested by

no test coverage detected