()
| 54 | } |
| 55 | |
| 56 | get names(): UsedNames { |
| 57 | return (this._names ??= this._items.reduce((names: UsedNames, c) => { |
| 58 | if (c instanceof Name) names[c.str] = (names[c.str] || 0) + 1 |
| 59 | return names |
| 60 | }, {})) |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | export type CodeItem = Name | string | number | boolean | null |
nothing calls this directly
no outgoing calls
no test coverage detected