MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions5,753 in github.com/colbymchenry/codegraph

↓ 13 callersFunctionloadExtensionOverrides
(rootDir: string)
src/project-config.ts:342
↓ 13 callersMethodpragma
(str: string, options?: { simple?: boolean })
src/db/sqlite-adapter.ts:29
↓ 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
↓ 12 callersFunctionenclosingFn
Innermost function/method node whose line range contains `line`.
src/resolution/callback-synthesizer.ts:155
↓ 12 callersFunctionfn
(name: string)
__tests__/resolution.test.ts:1302
↓ 12 callersMethodgetFiles
* Get all tracked files
src/index.ts:1605
↓ 12 callersFunctiongetMcpServerConfig
()
src/installer/targets/shared.ts:24
↓ 12 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:840
↓ 12 callersFunctionisInitialized
(projectRoot: string)
src/directory.ts:93
↓ 12 callersMethodpostMessage
(msg: unknown)
src/mcp/query-pool.ts:41
↓ 12 callersMethodstart
(handler: MessageHandler)
src/mcp/transport.ts:75
↓ 12 callersMethodstop
()
src/mcp/transport.ts:76
↓ 11 callersMethodclear
* Clear all data from the database
src/db/queries.ts:2886
↓ 11 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/swift.rs:330
↓ 11 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/php.rs:314
↓ 11 callersFunctiondetectLanguage
(filePath: string, source?: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:477
↓ 11 callersMethodgetCodeGraph
* Get CodeGraph instance for a project * * If projectPath is provided, opens that project's CodeGraph (cached). * Otherwise returns the defau
src/mcp/tools.ts:1562
↓ 11 callersMethodgetIncomingEdges
* Get incoming edges to a node
src/index.ts:1587
↓ 11 callersFunctionisSourceFile
(filePath: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:184
↓ 11 callersFunctionis_word_at
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:106
↓ 11 callersFunctionloadAllGrammars
()
src/extraction/grammars.ts:438
↓ 11 callersMethodposition
A short description of where in the chain this link sits.
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:257
↓ 11 callersMethodpush_ref
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/tsjs/mod.rs:294
↓ 11 callersFunctionrowToNode
* Convert database row to Node object
src/db/queries.ts:158
↓ 11 callersMethodtextResult
(text: string)
src/mcp/tools.ts:7043
↓ 11 callersFunctionvalidatePathWithinRoot
( projectRoot: string, filePath: string, options?: { allowSymlinkEscape?: boolean } )
src/utils.ts:110
↓ 11 callersMethodvisitNode
Visit a child node (dispatches through the standard visitNode logic)
src/extraction/tree-sitter-types.ts:54
↓ 11 callersFunctionword_end
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:148
↓ 10 callersFunctioncollect
Collect candidate files.
scripts/kernel-parity.mjs:74
↓ 10 callersFunctioncreateYielder
(budgetMs: number = DEFAULT_YIELD_BUDGET_MS)
src/resolution/cooperative-yield.ts:42
↓ 10 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/kotlin.rs:321
↓ 10 callersMethodgetCallers
* Find all callers of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (def
src/graph/traversal.ts:261
↓ 10 callersMethodgetFile
* Get a file record by path
src/index.ts:1598
↓ 10 callersFunctiongetTelemetry
()
src/telemetry/index.ts:543
↓ 10 callersMethodgetWalSizeBytes
* Size of the `-wal` sidecar file in bytes. 0 when it doesn't exist (non-WAL * journal mode, in-memory DB, or no write since the last checkpoint+re
src/db/index.ts:489
↓ 10 callersMethodis_ts
TS-family (typescript/tsx): type annotations, interfaces, enums, aliases, visibility, isStatic. The JS family lacks all of those hooks.
codegraph-kernel/src/tsjs/mod.rs:46
↓ 10 callersFunctionjsonDeepEqual
(a: unknown, b: unknown)
src/installer/targets/shared.ts:111
↓ 9 callersFunctionatomText
Text of an atom with quoted-atom quotes stripped (`'EXIT'` → `EXIT`).
src/extraction/languages/erlang.ts:31
↓ 9 callersFunctionattributeSourceBytes
(finalText: string)
src/mcp/explore-diagnostics.ts:639
↓ 9 callersMethodcollect
(n: Node<'t>, depth: u32, out: &mut Vec<Node<'t>>)
codegraph-kernel/src/tsjs/extractors.rs:877
↓ 9 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ccpp/mod.rs:482
↓ 9 callersFunctionextractName
* Extract the name from a node based on language
src/extraction/tree-sitter.ts:91
↓ 9 callersFunctiongetDaemonPidPath
(projectRoot: string)
src/mcp/daemon-paths.ts:93
↓ 9 callersMethodgetNodesByQualifiedName
Get all nodes by qualified name
src/resolution/types.ts:74
↓ 9 callersMethodinsertEdges
* Insert multiple edges in a transaction
src/db/queries.ts:1774
↓ 9 callersMethodinsertUnresolvedRefsBatch
* Insert multiple unresolved references in a transaction
src/db/queries.ts:2232
↓ 9 callersFunctionisLanguageSupported
(language: Language)
src/extraction/grammars.ts:568
↓ 9 callersFunctiononProgress
(progress: IndexProgress)
src/ui/shimmer-progress.ts:74
↓ 9 callersFunctionsafeJsonParse
(value: string, fallback: T)
src/utils.ts:193
↓ 9 callersMethodvisitNode
* Visit a node and extract information
src/extraction/tree-sitter.ts:943
↓ 8 callersFunction$
(root, role)
telemetry-dashboard/public/app.js:95
↓ 8 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/dart.rs:263
↓ 8 callersMethodextract_name
extractName incl. the resolveName hook: a multi-segment extension name (`extension KF.Builder`) takes the LAST type_identifier's text.
codegraph-kernel/src/swift.rs:432
↓ 8 callersMethodgetCallees
* Find all functions/methods called by a function * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to tra
src/graph/traversal.ts:319
↓ 8 callersFunctiongetDatabasePath
(projectRoot: string)
src/db/index.ts:822
↓ 8 callersFunctiongetKernel
()
src/extraction/kernel/loader.ts:144
↓ 8 callersMethodinfo
(stream: ReadableStream<Uint8Array>)
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:238
↓ 8 callersFunctionisGeneratedFile
(filePath: string)
src/extraction/generated-detection.ts:100
↓ 8 callersFunctionis_word
(b: u8)
codegraph-kernel/src/cfnptr.rs:101
↓ 8 callersMethodpostMessage
(msg: unknown)
src/extraction/parse-pool.ts:40
↓ 8 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/scala.rs:271
↓ 8 callersFunctionresolveMethodOnType
( typeName: string, methodName: string, ref: UnresolvedRef, context: ResolutionContext, confidence:
src/resolution/name-matcher.ts:664
↓ 8 callersFunctionsliceLines
(content: string, startLine?: number, endLine?: number)
src/resolution/callback-synthesizer.ts:107
↓ 8 callersMethodtop_row
(&self)
codegraph-kernel/src/tsjs/mod.rs:282
↓ 7 callersFunctionadvance
codegraph-kernel/grammars/kotlin/scanner.c:60
↓ 7 callersFunctionblankRange
* Replace every char in a slice with spaces, but keep newlines so line * numbers computed downstream remain valid.
src/resolution/strip-comments.ts:72
↓ 7 callersFunctionbuildScopeIgnore
(rootDir: string, embeddedRoots?: Iterable<string>)
src/extraction/index.ts:710
↓ 7 callersFunctioncreateDatabase
(dbPath: string, opts?: { readOnly?: boolean })
src/db/sqlite-adapter.ts:154
↓ 7 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/rustlang.rs:250
↓ 7 callersFunctiondefaultsOnlyIgnore
* Defaults-only ignore matcher (no root `.gitignore` merged). Used wherever the * parent repo's own ignore rules must NOT apply — inside embedded chi
src/extraction/index.ts:323
↓ 7 callersMethoddetect
Detect if project uses this framework (project-level, called once at startup)
src/resolution/types.ts:202
↓ 7 callersMethodextract
* Parse and extract from the source code
src/extraction/tree-sitter.ts:455
↓ 7 callersMethodextractFunction
* Extract a function
src/extraction/tree-sitter.ts:1530
↓ 7 callersMethodextract_function
(&mut self, node: Node<'t>, name_override: Option<String>)
codegraph-kernel/src/tsjs/extractors.rs:17
↓ 7 callersMethodextract_name
extractName — the zero-field grammar means the nameField lookup always misses; names come from the shared fallback scan (first direct identifier-famil
codegraph-kernel/src/kotlin.rs:443
↓ 7 callersMethodextract_name
extractName (tree-sitter.ts:90) — the C#-reachable paths: the `name` field (always present on named declarations), else the shared identifier scan, el
codegraph-kernel/src/csharp.rs:486
↓ 7 callersMethodextract_name
extractName: extractNameRaw + the universal recoverMangledName net (wired for BOTH c and cpp in languages/c-cpp.ts).
codegraph-kernel/src/ccpp/mod.rs:581
↓ 7 callersMethodextract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:739
↓ 7 callersFunctioninit_signature
The `= <first 100 UTF-16 units>[...]` initializer signature used by extractVariable (its `.length >= 100` check fires exactly when the slice hit the c
codegraph-kernel/src/textutil.rs:150
↓ 7 callersFunctionpreferCallSiteFile
(nodes: Node[], callSiteFile: string)
src/resolution/name-matcher.ts:564
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:292
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/rustlang.rs:227
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/dart.rs:238
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/php.rs:308
↓ 7 callersFunctionregister
(f: fn())
__tests__/fixtures/kernel-parity/torture.rs:239
↓ 7 callersMethodrelease
* Release the lock
src/utils.ts:284
↓ 7 callersFunctionsameLanguageFamily
(a: string, b: string)
src/resolution/name-matcher.ts:151
↓ 7 callersFunctionscanDirectory
( rootDir: string, onProgress?: (current: number, file: string) => void )
src/extraction/index.ts:1208
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/php.rs:278
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/ccpp/mod.rs:452
↓ 7 callersMethodtruncateOutput
* Truncate output if it exceeds the maximum length
src/mcp/tools.ts:6904
↓ 7 callersMethodvisibility_of
getVisibility: FIRST `modifier` child whose text is one of the four levels wins; none → private (the C# default).
codegraph-kernel/src/csharp.rs:419
↓ 6 callersMethodacquire
* Acquire the lock * * @returns A release function to call when done
src/utils.ts:384
↓ 6 callersFunctionbody_of
resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
codegraph-kernel/src/tsjs/mod.rs:899
↓ 6 callersFunctionbuildDefaultIgnore
(rootDir: string)
src/extraction/index.ts:311
↓ 6 callersFunctionbytes_to_string
(bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1141
↓ 6 callersFunctionclamp
(value: number, min: number, max: number)
src/utils.ts:205
↓ 6 callersMethodclear
()
src/resolution/lru-cache.ts:59
↓ 6 callersMethodclearCaches
* Clear internal caches
src/resolution/index.ts:388
← previousnext →101–200 of 5,753, ranked by callers