(
id: number,
source: string,
rustMacroExpOutput: unknown,
compilerName: string,
editorid: number,
treeid: number,
)
| 925 | |
| 926 | /** Get a rust macro exp view with the given configuration. */ |
| 927 | export function getRustMacroExpViewWith( |
| 928 | id: number, |
| 929 | source: string, |
| 930 | rustMacroExpOutput: unknown, |
| 931 | compilerName: string, |
| 932 | editorid: number, |
| 933 | treeid: number, |
| 934 | ): ComponentConfig<typeof RUST_MACRO_EXP_VIEW_COMPONENT_NAME> { |
| 935 | return { |
| 936 | type: 'component', |
| 937 | componentName: RUST_MACRO_EXP_VIEW_COMPONENT_NAME, |
| 938 | componentState: { |
| 939 | id, |
| 940 | source, |
| 941 | rustMacroExpOutput, |
| 942 | compilerName, |
| 943 | editorid, |
| 944 | treeid, |
| 945 | }, |
| 946 | }; |
| 947 | } |
| 948 | |
| 949 | /** Get an empty rust hir view component. */ |
| 950 | export function getRustHirView(): ComponentConfig<typeof RUST_HIR_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected