* Whether other units see a unit's routine: one its unit's interface section * declares (`function Foo…` above `implementation`), whatever file implements * it. One its implementation alone declares is the unit's own (mORMot's * `IdemPChar` in `mormot.core.os.posix.inc`, which `mormot.core.os`'s
(routine: Node, context: ResolutionContext)
| 2210 | * hides nothing. |
| 2211 | */ |
| 2212 | function exportedRoutine(routine: Node, context: ResolutionContext): boolean { |
| 2213 | const names = interfaceRoutineNames(unitFilesOf(routine.filePath, context)[0]!, context); |
| 2214 | return names === null || names.has(routine.name.toLowerCase()); |
| 2215 | } |
| 2216 | |
| 2217 | /** |
| 2218 | * The names of the routines a unit file's interface section declares, |
no test coverage detected