MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 519 callersMethodjoin
(prefix: string, seg: string)
src/extraction/tree-sitter.ts:3453
↓ 267 callersMethodhas
(key: K)
src/resolution/lru-cache.ts:42
↓ 264 callersMethodget
(...params: any[])
src/db/sqlite-adapter.ts:15
↓ 187 callersMethodunwrap
__tests__/fixtures/kernel-parity/torture.cpp:67
↓ 154 callersMethodset
(key: K, value: V)
src/resolution/lru-cache.ts:46
↓ 142 callersFunctiongetNodeText
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:35
↓ 137 callersMethodexec
(sql: string)
src/db/sqlite-adapter.ts:28
↓ 122 callersMethodprepare
(sql: string)
src/db/sqlite-adapter.ts:27
↓ 117 callersFunctionedge_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:131
↓ 110 callersFunctiongetChildByField
(node: SyntaxNode, fieldName: string)
src/extraction/tree-sitter-helpers.ts:42
↓ 95 callersMethodall
(...params: any[])
src/db/sqlite-adapter.ts:16
↓ 93 callersMethodresolve
Resolve a reference using framework-specific patterns
src/resolution/types.ts:204
↓ 91 callersMethodclose
()
src/db/sqlite-adapter.ts:31
↓ 91 callersMethodput
(&mut self, s: &str)
codegraph-kernel/src/buffers.rs:147
↓ 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
↓ 80 callersMethodindexAll
* Index all files in the project * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:436
↓ 73 callersMethodgetNodesByName
Get all nodes by name
src/resolution/types.ts:72
↓ 69 callersMethodwrite
(line: string)
src/mcp/transport.ts:327
↓ 62 callersMethodcollect
(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>)
codegraph-kernel/src/rustlang.rs:719
↓ 59 callersMethodreadFile
Read file content
src/resolution/types.ts:89
↓ 58 callersMethodlen
(&self)
codegraph-kernel/src/buffers.rs:174
↓ 56 callersMethoderror
(message: string, context?: Record<string, unknown>)
src/errors.ts:173
↓ 53 callersMethodgetNodesInFile
Get all nodes in a file
src/resolution/types.ts:70
↓ 50 callersMethodinit
(raw: String)
__tests__/fixtures/kernel-parity/torture.swift:31
↓ 45 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 callersMethodinitSync
* Initialize synchronously (without indexing)
src/index.ts:274
↓ 42 callersFunctionextractFromSource
( filePath: string, source: string, language?: Language, frameworkNames?: string[] )
src/extraction/tree-sitter.ts:6655
↓ 40 callersMethoddestroy
* Alias for close() for backwards compatibility. * @deprecated Use close() instead
src/index.ts:1813
↓ 40 callersMethodon
(event: 'message', cb: (m: unknown) => void)
src/mcp/query-pool.ts:43
↓ 37 callersMethodgetNodesByKind
Get all nodes of a kind
src/resolution/types.ts:76
↓ 35 callersMethodrun
(...params: any[])
src/db/sqlite-adapter.ts:14
↓ 34 callersMethodexecute
* Execute a tool by name
src/mcp/tools.ts:1354
↓ 34 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
↓ 34 callersMethodset
(&mut self, pair: u16, value: bool)
codegraph-kernel/src/buffers.rs:188
↓ 33 callersMethodpush_edge
(&mut self, r: &EdgeRow)
codegraph-kernel/src/buffers.rs:297
↓ 33 callersFunctionresolve
(p: string)
src/directory.ts:127
↓ 31 callersFunctioninitGrammars
()
src/extraction/grammars.ts:244
↓ 31 callersMethodpush_node
(&mut self, r: &NodeRow)
codegraph-kernel/src/buffers.rs:273
↓ 30 callersFunctionnode_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:127
↓ 30 callersFunctionstripCommentsForRegex
(content: string, lang: CommentLang)
src/resolution/strip-comments.ts:41
↓ 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:1308
↓ 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
↓ 27 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/tsjs/mod.rs:266
↓ 26 callersFunctiontryKernelExtract
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:282
↓ 24 callersMethodfileExists
Check if a file exists
src/resolution/types.ts:87
↓ 24 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/db/queries.ts:1716
↓ 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 callersFunctionreadJsonFile
(filePath: string)
src/installer/targets/shared.ts:58
↓ 22 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/java.rs:250
↓ 21 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/csharp.rs:267
↓ 20 callersFunctionlogDebug
(message: string, context?: Record<string, unknown>)
src/errors.ts:224
↓ 20 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/ccpp/mod.rs:440
↓ 19 callersFunctiongenerateNodeId
( filePath: string, kind: NodeKind, name: string, line: number )
src/extraction/tree-sitter-helpers.ts:18
↓ 19 callersFunctiongetCodeGraphDir
(projectRoot: string)
src/directory.ts:85
↓ 19 callersMethodjoin
(prefix: &str, seg: &str)
codegraph-kernel/src/rustlang.rs:716
↓ 19 callersFunctionloadGrammarsForLanguages
(languages: Language[], wasmBytes?: Record<string, Uint8Array>)
src/extraction/grammars.ts:404
↓ 19 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/dart.rs:216
↓ 18 callersMethodaddUnresolvedReference
Add an unresolved reference
src/extraction/tree-sitter-types.ts:58
↓ 18 callersMethodgetDb
* Get the underlying database instance
src/db/index.ts:358
↓ 18 callersMethodgetIncomingEdges
* Get incoming edges to a node
src/db/queries.ts:1745
↓ 18 callersMethodopenSync
* Open synchronously (without sync)
src/index.ts:381
↓ 18 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/swift.rs:281
↓ 18 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/rustlang.rs:201
↓ 17 callersMethodpopScope
Pop the last node ID from the scope stack
src/extraction/tree-sitter-types.ts:62
↓ 17 callersMethodsearchNodes
* Search nodes by text
src/index.ts:1301
↓ 17 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/go.rs:180
↓ 17 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/scala.rs:248
↓ 17 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/php.rs:266
↓ 16 callersFunctionbuild_meta
(t: &Tables, arena_len: u32, errors_json: StrRef, duration_ms: f64)
codegraph-kernel/src/buffers.rs:340
↓ 16 callersMethodclear
* Clear all data from the database
src/db/queries.ts:2505
↓ 16 callersMethodgetNode
* Get a node by ID
src/index.ts:1252
↓ 16 callersFunctiongrammar_for
(language: &str)
codegraph-kernel/src/langs.rs:44
↓ 16 callersMethodignores
(rel: string)
src/extraction/index.ts:655
↓ 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 callersFunctionresolve
(ref: UnresolvedRef, context: ResolutionContext)
src/resolution/frameworks/go.ts:27
↓ 16 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/kotlin.rs:253
↓ 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:178
↓ 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 callersMethodwarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:172
↓ 15 callersFunctionwriteJsonFile
(filePath: string, data: Record<string, any>)
src/installer/targets/shared.ts:100
↓ 14 callersFunctiongetGlyphs
()
src/ui/glyphs.ts:106
↓ 14 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/index.ts:1510
↓ 14 callersMethodgetProjectRoot
Get project root
src/resolution/types.ts:111
↓ 14 callersMethodinitialize
* Initialize a new database at the given path
src/db/index.ts:67
↓ 14 callersFunctionlogWarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:231
↓ 14 callersMethodpush_ref
(&mut self, r: &RefRow)
codegraph-kernel/src/buffers.rs:312
↓ 14 callersFunctionresetKernelForTests
()
src/extraction/kernel/loader.ts:176
↓ 14 callersMethodtransaction
(fn: (...args: any[]) => T)
src/db/sqlite-adapter.ts:30
↓ 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 callersFunctionloadExtensionOverrides
(rootDir: string)
src/project-config.ts:300
↓ 13 callersFunctionskip_jsws
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:136
↓ 12 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/java.rs:298
next →1–100 of 3,841, ranked by callers