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

Method isTypeDeclaration

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

hasMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected