(
id: number,
source: string,
rustMirOutput: unknown,
compilerName: string,
editorid: number,
treeid: number,
)
| 670 | |
| 671 | /** Get a rust mir view with the given configuration. */ |
| 672 | export function getRustMirViewWith( |
| 673 | id: number, |
| 674 | source: string, |
| 675 | rustMirOutput: unknown, |
| 676 | compilerName: string, |
| 677 | editorid: number, |
| 678 | treeid: number, |
| 679 | ): ComponentConfig<typeof RUST_MIR_VIEW_COMPONENT_NAME> { |
| 680 | return { |
| 681 | type: 'component', |
| 682 | componentName: RUST_MIR_VIEW_COMPONENT_NAME, |
| 683 | componentState: { |
| 684 | id, |
| 685 | source, |
| 686 | rustMirOutput, |
| 687 | compilerName, |
| 688 | editorid, |
| 689 | treeid, |
| 690 | }, |
| 691 | }; |
| 692 | } |
| 693 | |
| 694 | /** Get an empty haskell core view component. */ |
| 695 | export function getHaskellCoreView(): ComponentConfig<typeof HASKELL_CORE_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected