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

Method getNodeById

src/resolution/types.ts:132–132  ·  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

130 * without it.
131 */
132 getNodeById?(id: string): Node | null;
133 /** Get cached import mappings for a file */
134 getImportMappings(filePath: string, language: Language): ImportMapping[];
135 /**

Callers 15

getNodeMethod · 0.65
matchFunctionRefFunction · 0.65
createContextMethod · 0.65
resolveOneMethod · 0.65
createEdgesMethod · 0.65
getFilePathFromNodeIdMethod · 0.65
getLanguageFromNodeIdMethod · 0.65
fieldChannelEdgesFunction · 0.65
reactRenderEdgesFunction · 0.65
flutterBuildEdgesFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected