(
id: number,
compilerName: string,
editorid: number,
treeid: number,
gccDumpOutput: GccDumpOutput | undefined,
)
| 491 | |
| 492 | /** Get a gcc dump view with the given configuration. */ |
| 493 | export function getGccDumpViewWith( |
| 494 | id: number, |
| 495 | compilerName: string, |
| 496 | editorid: number, |
| 497 | treeid: number, |
| 498 | gccDumpOutput: GccDumpOutput | undefined, |
| 499 | ): ComponentConfig<typeof GCC_DUMP_VIEW_COMPONENT_NAME> { |
| 500 | return { |
| 501 | type: 'component', |
| 502 | componentName: GCC_DUMP_VIEW_COMPONENT_NAME, |
| 503 | componentState: { |
| 504 | // PopulatedGccDumpViewState |
| 505 | id, |
| 506 | compilerName, |
| 507 | editorid, |
| 508 | treeid, |
| 509 | |
| 510 | // & GccDumpFiltersState |
| 511 | ...gccDumpOutput, |
| 512 | }, |
| 513 | }; |
| 514 | } |
| 515 | |
| 516 | /** Get an empty cfg view component. */ |
| 517 | export function getCfgView(): ComponentConfig<typeof CFG_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected