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

Method getNodesInFileNamed

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

`getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file.

(filePath: string, name: string)

Source from the content-addressed store, hash-verified

96 getExportedNodesInFile?(filePath: string): Node[];
97 /** `getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file. */
98 getNodesInFileNamed?(filePath: string, name: string): Node[];
99 /** Get all nodes by name */
100 getNodesByName(name: string): Node[];
101 /** Get all nodes by qualified name */

Callers 3

nodesInFileNamedFunction · 0.80
isJavaOutsideImportFunction · 0.80
overloadSetOfFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected