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