(
compilerId: number,
compilerName: string,
editorid: number,
toolId: string,
args: string,
monacoStdin: boolean,
tree: number,
)
| 255 | |
| 256 | /** Get a tool view component with the given configuration. */ |
| 257 | export function getToolViewWith( |
| 258 | compilerId: number, |
| 259 | compilerName: string, |
| 260 | editorid: number, |
| 261 | toolId: string, |
| 262 | args: string, |
| 263 | monacoStdin: boolean, |
| 264 | tree: number, |
| 265 | ): ComponentConfig<typeof TOOL_COMPONENT_NAME> { |
| 266 | return { |
| 267 | type: 'component', |
| 268 | componentName: TOOL_COMPONENT_NAME, |
| 269 | componentState: { |
| 270 | id: compilerId, |
| 271 | compilerName, |
| 272 | editorid, |
| 273 | toolId, |
| 274 | args, |
| 275 | tree, |
| 276 | monacoStdin, |
| 277 | }, |
| 278 | }; |
| 279 | } |
| 280 | |
| 281 | /** Get an empty tool input view component. */ |
| 282 | export function getToolInputView(): ComponentConfig<typeof TOOL_INPUT_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected