(treeId: number, lang: string)
| 118 | |
| 119 | /** Get a compiler for a tree mode component. */ |
| 120 | export function getCompilerForTree(treeId: number, lang: string): ComponentConfig<typeof COMPILER_COMPONENT_NAME> { |
| 121 | return { |
| 122 | type: 'component', |
| 123 | componentName: COMPILER_COMPONENT_NAME, |
| 124 | componentState: { |
| 125 | tree: treeId, |
| 126 | lang, |
| 127 | }, |
| 128 | }; |
| 129 | } |
| 130 | |
| 131 | /** Get an empty executor component. */ |
| 132 | export function getExecutor(editorId: number, lang: string): ComponentConfig<typeof EXECUTOR_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected