(unit: RootUnit, root: BaseRoot)
| 851 | // a unit is compiled by the variant of the root it was reached from, which |
| 852 | // needn't be the one its own roots would pick |
| 853 | export const isCheckerIn = (unit: RootUnit, root: BaseRoot): boolean => |
| 854 | isChecker(root, variantsOfUnits.get(unit)!) |
| 855 | |
| 856 | // a pass can reach content-equal roots, which share a name but not a unit |
| 857 | export const unitOf = (node: BaseNode, reader: RootUnit): RootUnit => |
no test coverage detected