(r: ExploreRange)
| 7096 | |
| 7097 | /** Rendered cost of one member on its own, context padding included. */ |
| 7098 | const paddedCost = (r: ExploreRange): number => { |
| 7099 | let chars = 0; |
| 7100 | const hi = Math.min(fileLines.length, r.end + contextPadding); |
| 7101 | for (let ln = Math.max(1, r.start - contextPadding); ln <= hi; ln++) chars += lineCost(ln); |
| 7102 | return chars; |
| 7103 | }; |
| 7104 | /** |
| 7105 | * A member the query asked for: one it named or that is an entry point |
| 7106 | * (importance >= 9), or one on the rendered call path. The rest of a |
nothing calls this directly
no outgoing calls
no test coverage detected