(
nameOf?: (id: NodeId) => string,
opts: UnitOptions = {},
unit?: string
)
| 604 | const noneReused: ReadonlySet<BaseNode> = new Set() |
| 605 | |
| 606 | const createLinkage = ( |
| 607 | nameOf?: (id: NodeId) => string, |
| 608 | opts: UnitOptions = {}, |
| 609 | unit?: string |
| 610 | ): UnitLinkage => ({ |
| 611 | byId: {}, |
| 612 | reused: noneReused, |
| 613 | unreached: new Set(), |
| 614 | reached: [], |
| 615 | dependencies: {}, |
| 616 | refs: new Map(), |
| 617 | members: [], |
| 618 | nameOf, |
| 619 | opts, |
| 620 | unit |
| 621 | }) |
| 622 | |
| 623 | export class TraversalCompiler extends NodeCompiler { |
| 624 | /** how the units it writes reference one another */ |
no outgoing calls
no test coverage detected