MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isTypeDeclaration

Method isTypeDeclaration

src/mcp/tools.ts:4940–4940  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

hasMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected