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

Function getOutput

static/components.ts:240–254  ·  view source on GitHub ↗
(
    compiler: number,
    editor: number,
    tree: number,
)

Source from the content-addressed store, hash-verified

238
239/** Get an output component with the given configuration. */
240export function getOutput(
241 compiler: number,
242 editor: number,
243 tree: number,
244): ComponentConfig<typeof OUTPUT_COMPONENT_NAME> {
245 return {
246 type: 'component',
247 componentName: OUTPUT_COMPONENT_NAME,
248 componentState: {
249 compiler,
250 editor,
251 tree,
252 },
253 };
254}
255
256/** Get a tool view component with the given configuration. */
257export function getToolViewWith(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected