( filePath: string, source: string, language: Language )
| 217 | |
| 218 | /** The hoisted preParse output for a just-deferred file, if it matches. */ |
| 219 | export function takeDeferredPreParse( |
| 220 | filePath: string, |
| 221 | source: string, |
| 222 | language: Language |
| 223 | ): string | null { |
| 224 | if ( |
| 225 | deferSlot && |
| 226 | deferSlot.filePath === filePath && |
| 227 | deferSlot.source === source && |
| 228 | deferSlot.language === language |
| 229 | ) { |
| 230 | return deferSlot.pre; |
| 231 | } |
| 232 | return null; |
| 233 | } |
| 234 | |
| 235 | /** The raw table buffers + the cheap facts the orchestrator needs pre-decode. */ |
| 236 | export interface KernelRawResult { |
no outgoing calls
no test coverage detected