( filePath: string, source: string, language: Language )
| 174 | |
| 175 | /** The hoisted preParse output for a just-deferred file, if it matches. */ |
| 176 | export function takeDeferredPreParse( |
| 177 | filePath: string, |
| 178 | source: string, |
| 179 | language: Language |
| 180 | ): string | null { |
| 181 | if ( |
| 182 | deferSlot && |
| 183 | deferSlot.filePath === filePath && |
| 184 | deferSlot.source === source && |
| 185 | deferSlot.language === language |
| 186 | ) { |
| 187 | return deferSlot.pre; |
| 188 | } |
| 189 | return null; |
| 190 | } |
| 191 | |
| 192 | /** The raw table buffers + the cheap facts the orchestrator needs pre-decode. */ |
| 193 | export interface KernelRawResult { |
no outgoing calls
no test coverage detected