MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions12,468 in github.com/colbymchenry/codegraph

↓ 2,208 callersMethodjoin
(prefix: string, seg: string)
src/extraction/tree-sitter.ts:5114
↓ 2,118 callersMethodmap
The repository at module granularity, layered.
ui/src/lib/adapter.ts:224
↓ 1,775 callersMethodpush
(msg: string)
__tests__/fixtures/kernel-parity/torture.tsx:262
↓ 956 callersMethodhas
(key: K)
src/resolution/lru-cache.ts:50
↓ 853 callersFunctiondescribe
(item: string)
__tests__/fixtures/kernel-parity/torture.tsx:277
↓ 692 callersMethodclose
()
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:26
↓ 617 callersMethodinit
(raw: String)
__tests__/fixtures/kernel-parity/torture.swift:31
↓ 611 callersMethodset
(key: K, value: V)
src/resolution/lru-cache.ts:54
↓ 561 callersMethodexec
(sql: string)
src/db/sqlite-adapter.ts:50
↓ 555 callersMethodgetNode
* Get a node by ID
src/index.ts:2382
↓ 538 callersMethodgetNodesInFile
Get all nodes in a file
src/resolution/types.ts:97
↓ 481 callersMethodget
(...params: unknown[])
src/db/queries.ts:280
↓ 439 callersMethodget
A method or a function; a pass reads no others.
src/resolution/parameter-flow.ts:79
↓ 353 callersMethodprepare
(sql: string)
src/db/sqlite-adapter.ts:49
↓ 346 callersMethodadd
(node: Node)
src/context/index.ts:1377
↓ 332 callersMethodgetNodesByKind
Get all nodes of a kind
src/resolution/types.ts:118
↓ 306 callersMethodtext
()
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:28
↓ 294 callersMethodall
(...params: unknown[])
src/db/queries.ts:279
↓ 288 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/index.ts:2926
↓ 288 callersMethodgetOutgoingEdgesFrom
* Outgoing edges for many source nodes at once — the batch form of * {@link getOutgoingEdges}. See {@link QueryBuilder.getOutgoingEdgesFrom}.
src/index.ts:2417
↓ 272 callersMethodparse
(frame: string)
__tests__/ui-events-api.test.ts:129
↓ 259 callersMethodindexAll
* Index all files in the project * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:655
↓ 225 callersMethodgetNodesByName
Get all nodes by name
src/resolution/types.ts:105
↓ 204 callersFunctiongetNodeText
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:52
↓ 204 callersMethodunwrap
__tests__/fixtures/kernel-parity/torture.cpp:69
↓ 184 callersFunctiongetChildByField
(node: SyntaxNode, fieldName: string)
src/extraction/tree-sitter-helpers.ts:59
↓ 182 callersMethodget
(key: string)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:13
↓ 182 callersMethodinitSync
* Initialize synchronously (without indexing)
src/index.ts:444
↓ 170 callersMethodreadFile
Read file content
src/resolution/types.ts:131
↓ 167 callersMethoddestroy
* Alias for close() for backwards compatibility. * @deprecated Use close() instead
src/index.ts:3350
↓ 148 callersMethoddelete
(key: string | string[])
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:15
↓ 145 callersMethodfrom
(n: u32)
__tests__/fixtures/kernel-parity/torture.rs:172
↓ 126 callersMethodset
(&mut self, pair: u16, value: bool)
codegraph-kernel/src/buffers.rs:190
↓ 125 callersFunctionedge_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:133
↓ 125 callersMethodsync
(options: IndexOptions = {})
src/index.ts:1132
↓ 122 callersFunctioninitGrammars
()
src/extraction/grammars.ts:350
↓ 116 callersMethodgetCallees
* Get callees of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default:
src/index.ts:3127
↓ 116 callersMethodresolve
(location: string, original: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:31
↓ 115 callersFunctionextractFromSource
( filePath: string, source: string, language?: Language, frameworkNames?: string[] )
src/extraction/tree-sitter.ts:9977
↓ 114 callersMethodwrite
(frame: Uint8Array, timeoutMs: number)
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:24
↓ 108 callersMethodexecute
()
__tests__/telemetry-services.test.ts:55
↓ 106 callersMethodresolve
Resolve a reference using framework-specific patterns
src/resolution/types.ts:389
↓ 93 callersMethodput
( key: string, value: ReadableStream<Uint8Array>, options?: { httpMetadata?: { contentType?: strin
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:8
↓ 88 callersMethoderror
(message: string, context?: Record<string, unknown>)
src/errors.ts:187
↓ 88 callersMethodgetAllFiles
Get all files
src/resolution/types.ts:163
↓ 83 callersMethodgetDb
* Get the underlying database instance
src/db/index.ts:618
↓ 81 callersFunctionstripCommentsForRegex
(content: string, lang: CommentLang)
src/resolution/strip-comments.ts:202
↓ 80 callersFunctionloadGrammarsForLanguages
(languages: Language[], wasmBytes?: Record<string, Uint8Array>)
src/extraction/grammars.ts:524
↓ 78 callersMethodlen
(&self)
codegraph-kernel/src/buffers.rs:176
↓ 76 callersMethodcollect
(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>)
codegraph-kernel/src/rustlang.rs:829
↓ 76 callersMethodgetNodeById
* Look up a node by its id. Lets matchers derive the FROM-symbol's * enclosing-class scope (Swift implicit-self method scoping, `this.X` * membe
src/resolution/types.ts:208
↓ 75 callersMethodwalk
(dir: string, linked: boolean)
src/sync/watcher.ts:510
↓ 74 callersMethodgetIncomingEdges
(targetId: string, kinds?: EdgeKind[])
src/graph/cobol-copybooks.ts:36
↓ 72 callersFunctionpreceding_docstring
getPrecedingDocstring — collect the comment run immediately preceding the node (climbing out of declaration wrappers first), cleaned and joined. Retur
codegraph-kernel/src/docstring.rs:135
↓ 69 callersMethodexit
(code: number)
__tests__/parse-pool.test.ts:338
↓ 68 callersFunctionresolve
()
__tests__/resolver-pool-pipeline.test.ts:171
↓ 68 callersMethodsearchNodes
(query: string, options?: { limit?: number })
src/graph/symbol-lookup.ts:197
↓ 63 callersMethodgetFiles
* Get all tracked files
src/index.ts:2959
↓ 62 callersMethodgetNodesByQualifiedName
Get all nodes by qualified name
src/resolution/types.ts:116
↓ 62 callersFunctiontryKernelExtract
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:315
↓ 59 callersMethodadd
* Adds the interval `(open, close)`. One that opens before the last one * added, or crosses one that holds it, is refused (false).
src/extraction/languages/cpp-brace-scopes.ts:38
↓ 59 callersMethodon
(event: string, handler: (chunk: unknown) => void)
__tests__/fixtures/tail-render-ts/src/lib/socket.ts:3
↓ 57 callersMethodnext
(&mut self)
__tests__/fixtures/kernel-parity/torture.rs:152
↓ 57 callersMethodopen
(root: string, open: () => CodeGraph)
src/mcp/tools.ts:2074
↓ 53 callersFunctionresetKernelForTests
()
src/extraction/kernel/loader.ts:176
↓ 49 callersFunctionmatchBracket
(s: string, open: number)
src/resolution/frameworks/object-literal.ts:20
↓ 49 callersFunctionresolveImportPath
( importPath: string, fromFile: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:416
↓ 49 callersFunctionspawn
(cwd: string, args: string[])
__tests__/status-index-health.test.ts:27
↓ 48 callersMethodgetCallers
* Get callers of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default:
src/index.ts:3116
↓ 47 callersMethodclose
()
src/ui-server/api/index.ts:146
↓ 45 callersFunctioncol16
Column (UTF-16 units) of `byte_pos` on line `row`, given `line_starts`.
codegraph-kernel/src/textutil.rs:151
↓ 43 callersMethodbind
(...params: unknown[])
__tests__/telemetry-services.test.ts:51
↓ 41 callersFunctionloadAllGrammars
()
src/extraction/grammars.ts:558
↓ 41 callersMethodrun
()
__tests__/fixtures/kernel-parity/Torture.java:147
↓ 40 callersMethodgetFileLines
* `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type * inference scans source lines for EVERY `receiver.method()` ref; split
src/resolution/types.ts:148
↓ 40 callersMethodgetOutgoingEdges
* Get outgoing edges from a node. Preserve the source/kind index order * (calls before imports/references), then break ties deterministically.
src/db/queries.ts:2740
↓ 40 callersMethodon
(event: 'message', cb: (m: unknown) => void)
src/mcp/query-pool.ts:46
↓ 39 callersMethodadd
(x: string)
__tests__/fixtures/kernel-parity/torture.tsx:271
↓ 39 callersMethodresolveReferences
* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them u
src/index.ts:2272
↓ 38 callersMethodgetImportMappings
Get cached import mappings for a file
src/resolution/types.ts:210
↓ 38 callersMethodrun
(...params: any[])
src/db/sqlite-adapter.ts:18
↓ 36 callersMethodfileExists
Check if a file exists
src/resolution/types.ts:129
↓ 35 callersMethodgetProjectRoot
Get project root
src/resolution/types.ts:161
↓ 34 callersMethodinitialize
* Initialize a new database at the given path
src/db/index.ts:125
↓ 33 callersFunctiongetCodeGraphDir
(projectRoot: string)
src/directory.ts:123
↓ 33 callersMethodpush_edge
(&mut self, r: &EdgeRow)
codegraph-kernel/src/buffers.rs:299
↓ 32 callersMethodcreateNode
* Create a Node object
src/extraction/tree-sitter.ts:2089
↓ 32 callersFunctionresolve
(caller: { filePath: string; language: Language })
src/ui-server/api/when.ts:154
↓ 31 callersMethodgetNodesByIds
* Batch lookup: fetch many nodes by ID in a single SQL round-trip. * * Replaces the N+1 pattern in graph traversal where every edge would * t
src/db/queries.ts:1210
↓ 31 callersMethodopenSync
(projectRoot: string)
__tests__/mcp-projectpath-lifecycle.test.ts:28
↓ 31 callersMethodpush_node
(&mut self, r: &NodeRow)
codegraph-kernel/src/buffers.rs:275
↓ 30 callersFunctionisTestPath
(filePath: string)
src/search/query-utils.ts:454
↓ 30 callersFunctionnode_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:129
↓ 30 callersFunctionresolve
(p: string)
src/directory.ts:260
↓ 29 callersMethodopenSync
* Open synchronously (without sync). * * `deferIndexRecovery` leaves the secondary indexes an interrupted bulk load * dropped for {@link reco
src/index.ts:571
↓ 29 callersFunctiontake
(items: readonly T[])
ui/src/lib/search-model.ts:265
↓ 28 callersMethodcreateNode
Create a node and add it to the extraction result
src/extraction/tree-sitter-types.ts:35
↓ 28 callersFunctionis_generated_file
isGeneratedFile (src/extraction/generated-detection.ts) — full pattern list ported so future language walkers share it.
codegraph-kernel/src/textutil.rs:45
↓ 28 callersFunctionsupportsBranchGuards
(language: Language | string | undefined | null)
src/graph/branch-guards.ts:78
↓ 27 callersFunctiongetDatabasePath
(projectRoot: string)
src/db/index.ts:1022
next →1–100 of 12,468, ranked by callers