MCPcopy
hub / github.com/colbymchenry/codegraph / getNodesInFile

Method getNodesInFile

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

Get all nodes in a file

(filePath: string)

Source from the content-addressed store, hash-verified

65export interface ResolutionContext {
66 /** Get all nodes in a file */
67 getNodesInFile(filePath: string): Node[];
68 /** Get all nodes by name */
69 getNodesByName(name: string): Node[];
70 /** Get all nodes by qualified name */

Callers 15

resolveLuaRequireFunction · 0.65
resolveRustPathReferenceFunction · 0.65
findExportedSymbolFunction · 0.65
enclosingScopeStartLineFunction · 0.65
matchMethodCallFunction · 0.65
eventEmitterEdgesFunction · 0.65
reactJsxChildEdgesFunction · 0.65
vueTemplateEdgesFunction · 0.65
rnEventEdgesFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected