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

Function getAstView

static/components.ts:452–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450
451/** Get an empty ast view component. */
452export function getAstView(): ComponentConfig<typeof AST_VIEW_COMPONENT_NAME> {
453 return {
454 type: 'component',
455 componentName: AST_VIEW_COMPONENT_NAME,
456 componentState: {},
457 };
458}
459
460/** Get an ast view with the given configuration. */
461export function getAstViewWith(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected