(over: Partial<WireFlowEdge> = {})
| 45 | /* ------------------------------------------------------------- builders -- */ |
| 46 | |
| 47 | function edge(over: Partial<WireFlowEdge> = {}): WireFlowEdge { |
| 48 | return { |
| 49 | kind: 'calls', |
| 50 | label: 'calls', |
| 51 | upward: false, |
| 52 | uncertain: false, |
| 53 | synthesized: false, |
| 54 | ...over, |
| 55 | }; |
| 56 | } |
| 57 | |
| 58 | function hop(name: string, opts: { lines?: number; edge?: WireFlowEdge | null } = {}): WireFlowHop { |
| 59 | const lines = opts.lines ?? 7; |
no outgoing calls
no test coverage detected