(id: string)
| 5016 | // place in the file's budget. |
| 5017 | const TYPE_KINDS = new Set(['class', 'struct', 'union', 'interface', 'trait', 'protocol', 'enum', 'type_alias']); |
| 5018 | const isTypeDeclaration = (id: string): boolean => TYPE_KINDS.has(subgraph.nodes.get(id)?.kind ?? ''); |
| 5019 | // A C or C++ class's edge to the type of a member, or an alias's to what it |
| 5020 | // names, says who holds what, not where the code goes: rocksdb's classes |
| 5021 | // reach everything through them, and they would pull a flow's rank and its |