( filePath: string, source: string, language: Language )
| 201 | |
| 202 | /** The hoisted preParse output for a just-deferred file, if it matches. */ |
| 203 | export function takeDeferredPreParse( |
| 204 | filePath: string, |
| 205 | source: string, |
| 206 | language: Language |
| 207 | ): string | null { |
| 208 | if ( |
| 209 | deferSlot && |
| 210 | deferSlot.filePath === filePath && |
| 211 | deferSlot.source === source && |
| 212 | deferSlot.language === language |
| 213 | ) { |
| 214 | return deferSlot.pre; |
| 215 | } |
| 216 | return null; |
| 217 | } |
| 218 | |
| 219 | /** The raw table buffers + the cheap facts the orchestrator needs pre-decode. */ |
| 220 | export interface KernelRawResult { |
no outgoing calls
no test coverage detected