(
id: number,
source: string,
ppOutput: unknown,
compilerName: string,
editorid: number,
treeid: number,
)
| 427 | |
| 428 | /** Get a preprocessor view with the given configuration. */ |
| 429 | export function getPpViewWith( |
| 430 | id: number, |
| 431 | source: string, |
| 432 | ppOutput: unknown, |
| 433 | compilerName: string, |
| 434 | editorid: number, |
| 435 | treeid: number, |
| 436 | ): ComponentConfig<typeof PP_VIEW_COMPONENT_NAME> { |
| 437 | return { |
| 438 | type: 'component', |
| 439 | componentName: PP_VIEW_COMPONENT_NAME, |
| 440 | componentState: { |
| 441 | id, |
| 442 | source, |
| 443 | ppOutput, |
| 444 | compilerName, |
| 445 | editorid, |
| 446 | treeid, |
| 447 | }, |
| 448 | }; |
| 449 | } |
| 450 | |
| 451 | /** Get an empty ast view component. */ |
| 452 | export function getAstView(): ComponentConfig<typeof AST_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected