(
id: number,
source: string,
astOutput: unknown,
compilerName: string,
editorid: number,
treeid: number,
)
| 459 | |
| 460 | /** Get an ast view with the given configuration. */ |
| 461 | export function getAstViewWith( |
| 462 | id: number, |
| 463 | source: string, |
| 464 | astOutput: unknown, |
| 465 | compilerName: string, |
| 466 | editorid: number, |
| 467 | treeid: number, |
| 468 | ): ComponentConfig<typeof AST_VIEW_COMPONENT_NAME> { |
| 469 | return { |
| 470 | type: 'component', |
| 471 | componentName: AST_VIEW_COMPONENT_NAME, |
| 472 | componentState: { |
| 473 | id, |
| 474 | source, |
| 475 | astOutput, |
| 476 | compilerName, |
| 477 | editorid, |
| 478 | treeid, |
| 479 | }, |
| 480 | }; |
| 481 | } |
| 482 | |
| 483 | /** Get an empty gcc dump view component. */ |
| 484 | export function getGccDumpView(): ComponentConfig<typeof GCC_DUMP_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected