MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions5,753 in github.com/colbymchenry/codegraph

↓ 653 callersMethodjoin
(prefix: string, seg: string)
src/extraction/tree-sitter.ts:3479
↓ 317 callersMethodhas
(key: K)
src/resolution/lru-cache.ts:42
↓ 294 callersMethodget
(...params: any[])
src/db/sqlite-adapter.ts:15
↓ 250 callersMethodtext
()
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:28
↓ 188 callersMethodunwrap
__tests__/fixtures/kernel-parity/torture.cpp:67
↓ 175 callersMethodset
(key: K, value: V)
src/resolution/lru-cache.ts:46
↓ 158 callersMethodprepare
(sql: string)
src/db/sqlite-adapter.ts:27
↓ 153 callersMethodexec
(sql: string)
src/db/sqlite-adapter.ts:28
↓ 143 callersFunctiongetNodeText
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:35
↓ 117 callersFunctionedge_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:132
↓ 113 callersMethodall
(...params: any[])
src/db/sqlite-adapter.ts:16
↓ 113 callersFunctiongetChildByField
(node: SyntaxNode, fieldName: string)
src/extraction/tree-sitter-helpers.ts:42
↓ 107 callersMethodindexAll
* Index all files in the project * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:471
↓ 93 callersMethodput
( key: string, value: ReadableStream<Uint8Array>, options?: { httpMetadata?: { contentType?: strin
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:8
↓ 83 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:133
↓ 82 callersMethodclose
()
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:26
↓ 81 callersMethodgetNodesByName
Get all nodes by name
src/resolution/types.ts:72
↓ 79 callersMethoderror
(message: string, context?: Record<string, unknown>)
src/errors.ts:173
↓ 75 callersMethodwrite
(frame: Uint8Array, timeoutMs: number)
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:24
↓ 69 callersMethodget
(key: string)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:13
↓ 68 callersMethodresolve
Resolve a reference using framework-specific patterns
src/resolution/types.ts:204
↓ 67 callersMethodinitSync
* Initialize synchronously (without indexing)
src/index.ts:309
↓ 66 callersMethodgetNodesInFile
Get all nodes in a file
src/resolution/types.ts:70
↓ 65 callersMethodset
(&mut self, pair: u16, value: bool)
codegraph-kernel/src/buffers.rs:189
↓ 62 callersMethoddestroy
* Alias for close() for backwards compatibility. * @deprecated Use close() instead
src/index.ts:1930
↓ 60 callersMethodcollect
(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>)
codegraph-kernel/src/rustlang.rs:732
↓ 60 callersMethodreadFile
Read file content
src/resolution/types.ts:89
↓ 57 callersMethodexecute
* Execute a tool by name. * * `sessionState` is the CALLER's per-session explore history (CG-17). The * daemon shares one ToolHandler across
src/mcp/tools.ts:1954
↓ 57 callersMethodlen
(&self)
codegraph-kernel/src/buffers.rs:175
↓ 56 callersMethodinit
(raw: String)
__tests__/fixtures/kernel-parity/torture.swift:31
↓ 55 callersMethoddelete
(key: string | string[])
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:15
↓ 51 callersMethodfrom
(n: u32)
__tests__/fixtures/kernel-parity/torture.rs:172
↓ 50 callersFunctionresolve
(p: string)
src/directory.ts:127
↓ 46 callersMethodgetAllFiles
Get all files
src/resolution/types.ts:113
↓ 44 callersFunctioncol16
Column (UTF-16 units) of `byte_pos` on line `row`, given `line_starts`.
codegraph-kernel/src/textutil.rs:99
↓ 44 callersFunctionextractFromSource
( filePath: string, source: string, language?: Language, frameworkNames?: string[] )
src/extraction/tree-sitter.ts:6708
↓ 42 callersMethodrun
(...params: any[])
src/db/sqlite-adapter.ts:14
↓ 38 callersMethodgetNodesByKind
Get all nodes of a kind
src/resolution/types.ts:76
↓ 37 callersMethodresolve
(location: string, original: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:31
↓ 36 callersMethodnext
(&mut self)
__tests__/fixtures/kernel-parity/torture.rs:152
↓ 35 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:132
↓ 35 callersFunctioninitGrammars
()
src/extraction/grammars.ts:244
↓ 33 callersMethodpush_edge
(&mut self, r: &EdgeRow)
codegraph-kernel/src/buffers.rs:298
↓ 32 callersMethodclose
()
src/db/sqlite-adapter.ts:31
↓ 31 callersMethodpush_node
(&mut self, r: &NodeRow)
codegraph-kernel/src/buffers.rs:274
↓ 30 callersFunctionnode_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:128
↓ 30 callersFunctionstripCommentsForRegex
(content: string, lang: CommentLang)
src/resolution/strip-comments.ts:41
↓ 29 callersMethodon
(event: 'message', cb: (m: unknown) => void)
src/mcp/query-pool.ts:43
↓ 27 callersMethodcreateNode
Create a node and add it to the extraction result
src/extraction/tree-sitter-types.ts:52
↓ 27 callersMethodcreateNode
* Create a Node object
src/extraction/tree-sitter.ts:1320
↓ 27 callersFunctionis_generated_file
isGeneratedFile (src/extraction/generated-detection.ts) — full pattern list ported so future language walkers share it.
codegraph-kernel/src/textutil.rs:43
↓ 26 callersFunctiontryKernelExtract
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:282
↓ 25 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/db/queries.ts:1822
↓ 25 callersFunctionreadJsonFile
(filePath: string)
src/installer/targets/shared.ts:58
↓ 24 callersMethodfileExists
Check if a file exists
src/resolution/types.ts:87
↓ 24 callersMethodopenSync
* Open synchronously (without sync)
src/index.ts:416
↓ 23 callersMethoditerateNodesByKind
* Stream nodes of a kind one at a time instead of materializing (and, unlike * `getNodesByKind`, without populating the resolver's per-kind array c
src/resolution/types.ts:85
↓ 22 callersFunctionloadGrammarsForLanguages
(languages: Language[], wasmBytes?: Record<string, Uint8Array>)
src/extraction/grammars.ts:404
↓ 22 callersFunctionlogDebug
(message: string, context?: Record<string, unknown>)
src/errors.ts:224
↓ 21 callersMethodsearchNodes
* Search nodes by text
src/index.ts:1371
↓ 20 callersFunctiongetCodeGraphDir
(projectRoot: string)
src/directory.ts:85
↓ 20 callersMethodgetDb
* Get the underlying database instance
src/db/index.ts:414
↓ 20 callersMethodjoin
(prefix: &str, seg: &str)
codegraph-kernel/src/rustlang.rs:729
↓ 19 callersFunctiongenerateNodeId
( filePath: string, kind: NodeKind, name: string, line: number )
src/extraction/tree-sitter-helpers.ts:18
↓ 19 callersMethodgetIncomingEdges
* Get incoming edges to a node
src/db/queries.ts:1851
↓ 18 callersMethodaddUnresolvedReference
Add an unresolved reference
src/extraction/tree-sitter-types.ts:58
↓ 18 callersMethodgetNode
* Get a node by ID
src/index.ts:1322
↓ 18 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/index.ts:1580
↓ 18 callersMethodignores
(rel: string)
src/extraction/index.ts:670
↓ 18 callersMethodon
(event: string, handler: (chunk: unknown) => void)
__tests__/fixtures/tail-render-ts/src/lib/socket.ts:3
↓ 18 callersFunctionresolve
(ref: UnresolvedRef, context: ResolutionContext)
src/resolution/frameworks/go.ts:27
↓ 17 callersMethodgetProjectRoot
Get project root
src/resolution/types.ts:111
↓ 17 callersMethodpopScope
Pop the last node ID from the scope stack
src/extraction/tree-sitter-types.ts:62
↓ 17 callersFunctionwriteJsonFile
(filePath: string, data: Record<string, any>)
src/installer/targets/shared.ts:100
↓ 16 callersFunctionbuild_meta
(t: &Tables, arena_len: u32, errors_json: StrRef, duration_ms: f64)
codegraph-kernel/src/buffers.rs:341
↓ 16 callersMethodbytes
()
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:54
↓ 16 callersFunctiongrammar_for
(language: &str)
codegraph-kernel/src/langs.rs:44
↓ 16 callersMethodinitialize
* Initialize a new database at the given path
src/db/index.ts:96
↓ 16 callersFunctionline_starts
Byte offsets of each line start, for UTF-16 column conversion.
codegraph-kernel/src/textutil.rs:82
↓ 16 callersMethodpushScope
Push a node ID onto the scope stack (for containment/qualified name building)
src/extraction/tree-sitter-types.ts:60
↓ 16 callersMethodsync
* Sync with current file state (incremental update) * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:777
↓ 16 callersMethodtransaction
(fn: (...args: any[]) => T)
src/db/sqlite-adapter.ts:30
↓ 16 callersFunctionutf16_len
UTF-16 code units in `s` — what web-tree-sitter (and JS string ops) count, so kernel-emitted columns are byte-identical to the wasm path's.
codegraph-kernel/src/textutil.rs:94
↓ 15 callersMethodcreate_node
createNode (tree-sitter.ts): id, qualified name from the scope stack, contains edge from the parent scope, value-ref bookkeeping.
codegraph-kernel/src/tsjs/mod.rs:324
↓ 15 callersFunctionfile_node_id
(file_path: &str)
codegraph-kernel/src/ids.rs:36
↓ 15 callersMethodinto_vec
(self)
codegraph-kernel/src/buffers.rs:179
↓ 15 callersFunctionlogWarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:231
↓ 15 callersFunctionnode_id
(file_path: &str, kind: &str, name: &str, line: u32)
codegraph-kernel/src/ids.rs:16
↓ 15 callersFunctionnormalizePath
(filePath: string)
src/utils.ts:213
↓ 15 callersFunctionresetKernelForTests
()
src/extraction/kernel/loader.ts:176
↓ 15 callersMethodwarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:172
↓ 14 callersMethodadvance
* The next link in the chain: the same chain with the cursor moved on and the * timeouts carried over. Cloning here is what keeps each interceptor
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:75
↓ 14 callersFunctionatomicWriteFileSync
(filePath: string, content: string)
src/installer/targets/shared.ts:81
↓ 14 callersMethoddestroy
Terminate all workers and answer any outstanding calls gracefully.
src/mcp/query-pool.ts:312
↓ 14 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:1719
↓ 14 callersFunctiongetGlyphs
()
src/ui/glyphs.ts:106
↓ 14 callersMethodpush_ref
(&mut self, r: &RefRow)
codegraph-kernel/src/buffers.rs:313
↓ 13 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/csharp.rs:315
↓ 13 callersFunctiongetPrecedingDocstring
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:95
↓ 13 callersMethodgetStats
* Get statistics about the knowledge graph
src/index.ts:1289
next →1–100 of 5,753, ranked by callers