MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / classCallTargets

Function classCallTargets

graph-ui/src/provider/cypher.ts:363–367  ·  view source on GitHub ↗
(qualifiedName: string, limit = DEFAULT_LIMIT)

Source from the content-addressed store, hash-verified

361 * separates `new Foo()` from `foo()` without a labels() function.
362 */
363export function classCallTargets(qualifiedName: string, limit = DEFAULT_LIMIT): string {
364 return `MATCH (a)-[r:${RELATIONS.invocation}]->(b:${CLASS_LABEL})`
365 + ` WHERE a.${NODE_PROPS.qualifiedName} = "${escapeLiteral(qualifiedName)}"`
366 + ` ${ret(COLUMNS.classTargets)} LIMIT ${safeLimit(limit)}`;
367}
368
369/**
370 * Incoming invocations of a symbol. Returns the source's test flag so the

Callers 2

outgoingHopFactsMethod · 0.90
calleesFactMethod · 0.90

Calls 3

escapeLiteralFunction · 0.85
retFunction · 0.85
safeLimitFunction · 0.85

Tested by

no test coverage detected