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