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

Method getNodeById

src/resolution/types.ts:208–208  ·  view source on GitHub ↗

* Look up a node by its id. Lets matchers derive the FROM-symbol's * enclosing-class scope (Swift implicit-self method scoping, `this.X` * member resolution). Optional so external/test contexts compile * without it.

(id: string)

Source from the content-addressed store, hash-verified

206 * without it.
207 */
208 getNodeById?(id: string): Node | null;
209 /** Get cached import mappings for a file */
210 getImportMappings(filePath: string, language: Language): ImportMapping[];
211 /** Import lookup supplied by the coordinator, keeping name matching from

Callers 15

getNodeMethod · 0.65
scopeStartLineFunction · 0.65
receiverTypeFunction · 0.65
receiverAtFunction · 0.65
readThroughFunction · 0.65
matchJsSuperCallFunction · 0.65
nodeByIdMethod · 0.65
cppDeclaresLocalAliasFunction · 0.65
resolveCppAliasedTypeFunction · 0.65
cppAliasWrittenAtFunction · 0.65
resolveAliasBindingFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected