MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/scala.rs:295
↓ 6 callersMethoddrain
()
src/mcp/query-pool.ts:262
↓ 6 callersMethodensureInitialized
* Walk up from `searchFrom` to find the nearest `.codegraph/` and open it. * Idempotent: concurrent callers share one in-flight init; subsequent
src/mcp/engine.ts:133
↓ 6 callersMethodextractDecoratorsFor
* Scan `declNode` and its preceding siblings (within the parent's * named children) for decorator nodes, emitting a `decorates` * reference from
src/extraction/tree-sitter.ts:4897
↓ 6 callersMethodextractTypeAnnotations
* Extract type references from type annotations on a function/method/field node. * Creates 'references' edges for parameter types, return types, an
src/extraction/tree-sitter.ts:5788
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/java.rs:471
↓ 6 callersMethodextract_name
extractName — nameField `name`, else the identifier-like child scan.
codegraph-kernel/src/rustlang.rs:343
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/php.rs:407
↓ 6 callersFunctionfacts
(src: &str)
codegraph-kernel/src/cfnptr.rs:1251
↓ 6 callersFunctionfindNearestCodeGraphRoot
(startPath: string)
src/directory.ts:158
↓ 6 callersMethodflushNow
* Drain in-memory state to the buffer, then send completed-day rollups and * lifecycle events. Bounded by `timeoutMs`; leftovers stay buffered for
src/telemetry/index.ts:277
↓ 6 callersFunctiongetDaemonPidPath
(projectRoot: string)
src/mcp/daemon-paths.ts:92
↓ 6 callersMethodgetFileByPath
* Get a file record by path
src/db/queries.ts:1909
↓ 6 callersMethodgetUnresolvedReferencesCount
* Get the count of PENDING (never-attempted) references without loading * them into memory. Rows marked status='failed' — attempted by a completed
src/db/queries.ts:2066
↓ 6 callersMethodis_exported
isExported: walk the parent chain for an export_statement.
codegraph-kernel/src/tsjs/mod.rs:795
↓ 6 callersFunctionnorm
(name: string)
src/resolution/callback-synthesizer.ts:1688
↓ 6 callersMethodnormalize
(p: string)
src/mcp/tools.ts:3870
↓ 6 callersFunctionpreferCallSiteFile
(nodes: Node[], callSiteFile: string)
src/resolution/name-matcher.ts:523
↓ 6 callersFunctionpreferredMcpConfigPath
* Pick the right MCP config path to write to. * * Prefers the unified `~/.gemini/config/mcp_config.json` when Antigravity * has signalled it's migr
src/installer/targets/antigravity.ts:99
↓ 6 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/swift.rs:323
↓ 6 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/csharp.rs:309
↓ 6 callersFunctionpush_str
(out: &mut Vec<String>, bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1118
↓ 6 callersMethodresolveReferences
* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them u
src/index.ts:1149
↓ 6 callersMethodresolve_body
resolveBody (kotlin.ts:219): first ERROR child whose child(0) is `{` (fun-interface parent body — unreachable post-defer, kept for contract), else fir
codegraph-kernel/src/kotlin.rs:302
↓ 6 callersMethodrunBatched
* Run `rows` through a multi-row `INSERT` built as `head + (tuple,)*n`, * decomposed greedily into the cached batch sizes. Preserves row order.
src/db/queries.ts:264
↓ 6 callersFunctionsameLanguageFamily
(a: string, b: string)
src/resolution/name-matcher.ts:151
↓ 6 callersMethodsearchNodes
* Search nodes by name using FTS with fallback to LIKE for better matching * * Search strategy: * 1. Try FTS5 prefix match (query*) for word-
src/db/queries.ts:1163
↓ 6 callersFunctionslice_utf16
JS `String.prototype.slice(0, n)` in UTF-16 units, without splitting a surrogate pair (when the cut would split one, we stop one code unit short — a l
codegraph-kernel/src/textutil.rs:111
↓ 6 callersMethodspawnOne
()
src/extraction/parse-pool.ts:250
↓ 6 callersMethodsupportsLocation
* Whether this target supports the given install location. * * Some agents (Codex CLI as of 2026-05) have no project-local * config concept —
src/installer/targets/types.ts:95
↓ 6 callersMethodterminate
()
src/mcp/query-pool.ts:42
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/java.rs:262
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/swift.rs:293
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/ruby.rs:219
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/scala.rs:260
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/rustlang.rs:213
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/dart.rs:228
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/csharp.rs:279
↓ 6 callersMethodvalidateString
* Validate that a value is a non-empty string within length bounds. * * The `maxLength` cap protects against MCP clients that ship huge * pay
src/mcp/tools.ts:1151
↓ 6 callersMethodvisibility_of
getVisibility: whole-text substring matching over `modifiers` children; default INTERNAL. `open` → internal, `fileprivate` → private (via the 'private
codegraph-kernel/src/swift.rs:461
↓ 6 callersMethodvisitFunctionBody
(body: SyntaxNode, _functionId: string)
src/extraction/tree-sitter.ts:5129
↓ 6 callersMethodvisit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:684
↓ 6 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:502
↓ 5 callersFunctionadvance
codegraph-kernel/grammars/scala/scanner.c:135
↓ 5 callersFunctionbuildScopeIgnore
(rootDir: string, embeddedRoots?: Iterable<string>)
src/extraction/index.ts:695
↓ 5 callersFunctioncodeGraphDirName
()
src/directory.ts:35
↓ 5 callersFunctionconfigPath
()
src/installer/targets/hermes.ts:111
↓ 5 callersFunctionconfigPath
(loc: Location)
src/installer/targets/opencode.ts:90
↓ 5 callersMethodcreateEdges
* Create edges from resolved references
src/resolution/index.ts:1052
↓ 5 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/lua.rs:201
↓ 5 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:185
↓ 5 callersFunctioncurrentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 5 callersFunctiondecodeLockInfo
(raw: string)
src/mcp/daemon-paths.ts:117
↓ 5 callersMethoderrorResult
(message: string)
src/mcp/tools.ts:4704
↓ 5 callersMethodextractInheritance
* Extract inheritance relationships
src/extraction/tree-sitter.ts:5291
↓ 5 callersMethodextract_name
extractName (tree-sitter.ts:90-192) — resolveName (ctor names) → name field → the method_signature inner unwrap → identifier-ish child → `<anonymous>`
codegraph-kernel/src/dart.rs:560
↓ 5 callersMethodextract_type_annotations
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1270
↓ 5 callersMethodfindAllSymbols
* Find ALL symbols matching a name. Used by callers/callees/impact to aggregate * results across all matching symbols (e.g., multiple classes with
src/mcp/tools.ts:4498
↓ 5 callersFunctionfinish
( peers: { pid: number | null; hostPid: number | null }, putBack?: Buffer, )
src/mcp/daemon.ts:800
↓ 5 callersFunctiongetCurrentVersion
(db: SqliteDatabase)
src/db/migrations.ts:158
↓ 5 callersFunctiongetDaemonSocketCandidates
(projectRoot: string)
src/mcp/daemon-paths.ts:69
↓ 5 callersFunctiongetDaemonSocketPath
(projectRoot: string)
src/mcp/daemon-paths.ts:86
↓ 5 callersMethodgetImportMappings
Get cached import mappings for a file
src/resolution/types.ts:134
↓ 5 callersMethodgetJournalMode
* The journal mode actually in effect ('wal', 'delete', …). 'wal' means * readers never block on a concurrent writer; anything else means they can,
src/index.ts:1241
↓ 5 callersMethodgetLanguageFromNodeId
* Get language from node ID
src/resolution/index.ts:2086
↓ 5 callersMethodgetStats
* Get graph statistics
src/db/queries.ts:2424
↓ 5 callersMethodisEnabled
()
src/telemetry/index.ts:205
↓ 5 callersMethodmb
(n: number)
src/db/wal-valve.ts:127
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/kiro.ts:48
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/claude.ts:49
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/cursor.ts:56
↓ 5 callersMethodopen
__tests__/fixtures/kernel-parity/torture.cpp:43
↓ 5 callersFunctionpathFor
* Path math keyed on the TARGET platform (not the host) — same convention as * `detectInstallMethod`, so the planner is deterministic when unit-teste
src/upgrade/remove-binary.ts:103
↓ 5 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/kotlin.rs:295
↓ 5 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/go.rs:202
↓ 5 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/ccpp/mod.rs:462
↓ 5 callersMethodreadConfig
()
src/telemetry/index.ts:338
↓ 5 callersMethodrecordLifecycle
install / index / uninstall — buffered like everything else.
src/telemetry/index.ts:256
↓ 5 callersMethodrecordUsage
In-memory increment — safe on the MCP tool-call hot path.
src/telemetry/index.ts:236
↓ 5 callersFunctionremoveMarkedSection
( filePath: string, startMarker: string, endMarker: string, )
src/installer/targets/shared.ts:205
↓ 5 callersFunctionresolveImportPath
( importPath: string, fromFile: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:113
↓ 5 callersMethodsend
(response: JsonRpcResponse)
src/mcp/transport.ts:77
↓ 5 callersFunctionsettingsJsonPath
(loc: Location)
src/installer/targets/claude.ts:67
↓ 5 callersFunctionsettingsJsonPath
(loc: Location)
src/installer/targets/gemini.ts:53
↓ 5 callersMethodsettle
(job: ParseJob, result?: ExtractionResult, err?: Error)
src/extraction/parse-pool.ts:424
↓ 5 callersFunctionsplitLines
(content: string)
src/installer/targets/hermes.ts:141
↓ 5 callersFunctionsplitTopLevel
Split `body` on `sep` at brace/paren/bracket depth 0 (commas inside `{…}` / `(…)` stay together).
src/resolution/c-fnptr-synthesizer.ts:144
↓ 5 callersFunctionstripCppTemplateArgs
(name: string)
src/extraction/languages/c-cpp.ts:157
↓ 5 callersFunctionsupervisionLostReason
(state: SupervisionState)
src/mcp/ppid-watchdog.ts:44
↓ 5 callersMethodterminate
()
src/extraction/parse-pool.ts:41
↓ 5 callersFunctiontomlConfigPath
()
src/installer/targets/codex.ts:44
↓ 5 callersFunctiontopLevelRange
(lines: string[], key: string)
src/installer/targets/hermes.ts:150
↓ 5 callersMethodtop_row
(&self)
codegraph-kernel/src/kotlin.rs:265
↓ 5 callersMethodtop_row
(&self)
codegraph-kernel/src/go.rs:192
↓ 5 callersMethodvisibility_of
(&self, node: Node)
codegraph-kernel/src/java.rs:405
↓ 5 callersMethodvisibility_of
getVisibility: any `visibility_modifier` child with one of the three texts; none → public (the php default).
codegraph-kernel/src/php.rs:425
↓ 5 callersMethodvisibility_of
cppExtractor.getVisibility: the FIRST access_specifier among the parent's children decides (document order, not nearest-preceding — bug-for-bug with t
codegraph-kernel/src/ccpp/mod.rs:716
↓ 5 callersMethodvisibility_of
typescriptExtractor.getVisibility (TS only — JS has no hook).
codegraph-kernel/src/tsjs/mod.rs:776
↓ 5 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/java.rs:487
↓ 5 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/swift.rs:562
← previousnext →201–300 of 3,841, ranked by callers