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

Function getGnatDebugViewWith

static/components.ts:895–915  ·  view source on GitHub ↗
(
    id: number,
    source: string,
    gnatDebugOutput: unknown,
    compilerName: string,
    editorid: number,
    treeid: number,
)

Source from the content-addressed store, hash-verified

893
894/** Get a gnat debug info view with the given configuration. */
895export function getGnatDebugViewWith(
896 id: number,
897 source: string,
898 gnatDebugOutput: unknown,
899 compilerName: string,
900 editorid: number,
901 treeid: number,
902): ComponentConfig<typeof GNAT_DEBUG_VIEW_COMPONENT_NAME> {
903 return {
904 type: 'component',
905 componentName: GNAT_DEBUG_VIEW_COMPONENT_NAME,
906 componentState: {
907 id,
908 source,
909 gnatDebugOutput,
910 compilerName,
911 editorid,
912 treeid,
913 },
914 };
915}
916
917/** Get an empty rust macro exp view component. */
918export function getRustMacroExpView(): ComponentConfig<typeof RUST_MACRO_EXP_VIEW_COMPONENT_NAME> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected