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

Function getStackUsageViewWith

static/components.ts:371–391  ·  view source on GitHub ↗
(
    id: number,
    source: string,
    suOutput: unknown,
    compilerName: string,
    editorid: number,
    treeid: number,
)

Source from the content-addressed store, hash-verified

369 };
370}
371export function getStackUsageViewWith(
372 id: number,
373 source: string,
374 suOutput: unknown,
375 compilerName: string,
376 editorid: number,
377 treeid: number,
378): ComponentConfig<typeof STACK_USAGE_VIEW_COMPONENT_NAME> {
379 return {
380 type: 'component',
381 componentName: STACK_USAGE_VIEW_COMPONENT_NAME,
382 componentState: {
383 id,
384 source,
385 suOutput,
386 compilerName,
387 editorid,
388 treeid,
389 },
390 };
391}
392
393/** Get an empty flags view component. */
394export function getFlagsView(): ComponentConfig<typeof FLAGS_VIEW_COMPONENT_NAME> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected