Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,683 in github.com/colbymchenry/codegraph
⨍
Functions
13,683
◇
Types & classes
2,010
↳
Endpoints
1
↓ 3 callers
Function
directiveLines
(source: string)
src/resolution/cpp-macro-visibility.ts:168
↓ 3 callers
Function
discoverEmbeddedRepoRoots
(rootDir: string)
src/extraction/index.ts:1307
↓ 3 callers
Method
diskContext
* The resolution context, reading build configs from disk rather than the * file cache. Whether the top of the project has a Python tool's own conf
src/resolution/index.ts:3670
↓ 3 callers
Function
docstring_for
(node: Node, src: &str)
codegraph-kernel/src/python.rs:103
↓ 3 callers
Function
done
()
src/mcp/proxy.ts:386
↓ 3 callers
Function
done
()
scripts/agent-eval/parse-run.mjs:973
↓ 3 callers
Function
edge
(over: Partial<WireFlowEdge> = {})
__tests__/ui-flow-model.test.ts:47
↓ 3 callers
Function
edge
(over: Partial<WireFlowEdge> = {})
__tests__/ui-export-svg.test.ts:47
↓ 3 callers
Function
edgeLabel
(links: ReadonlyArray<{ when: string; sites?: ReadonlyArray<{ when: string }> }>)
ui/src/lib/screens-model.ts:263
↓ 3 callers
Function
edgeWord
(edge: WireEdge)
ui/src/lib/symbol-model.ts:62
↓ 3 callers
Function
edges
()
__tests__/csharp-declared-receivers.test.ts:310
↓ 3 callers
Function
edgesOf
(graph: CodeGraph)
__tests__/python-attr-types.test.ts:395
↓ 3 callers
Function
elementTag
(value: string | undefined)
src/resolution/frameworks/react.ts:1086
↓ 3 callers
Method
emit
(report: ExploreDiagnosticReport)
src/mcp/explore-diagnostics.ts:624
↓ 3 callers
Method
emitMessage
(m: unknown)
__tests__/query-pool.test.ts:56
↓ 3 callers
Function
enclosingDeclarations
(at: { filePath: string; line: number }, context: ResolutionContext)
src/resolution/type-parameters.ts:153
↓ 3 callers
Function
enclosingOpener
The `(`, `[` or `{` around `from`, past balanced brackets; -1 when none is near.
src/resolution/callback-synthesizer.ts:2478
↓ 3 callers
Function
enclosingType
The class, structure or interface (not a `Module`) a VB.NET type is nested in, or null.
src/resolution/vbnet-receivers.ts:746
↓ 3 callers
Function
enclosingValue
(nodesInFile: readonly Node[], line: number)
src/resolution/synth-utils.ts:155
↓ 3 callers
Function
encode
(info: WriterLockInfo)
src/mcp/writer-lock.ts:53
↓ 3 callers
Function
endCapText
(boundary: WireFlowBoundary)
ui/src/lib/flow-model.ts:141
↓ 3 callers
Function
endLineOf
(node: SyntaxNode)
src/extraction/languages/cobol.ts:51
↓ 3 callers
Function
endsWith
Whether `tail` is the end of `full`.
src/resolution/vbnet-receivers.ts:739
↓ 3 callers
Method
ensureDetectedFrameworks
* Detect frameworks on demand using the current scanned files (or a fresh * scan if none are provided). Cached on the orchestrator so repeat calls
src/extraction/index.ts:2512
↓ 3 callers
Function
ensureTestDist
(root: string, runBuild: BuildRunner = build)
__tests__/global-setup-dist.ts:61
↓ 3 callers
Method
enterAtDepth
* Depth-limited walks record the SHALLOWEST depth each node was expanded at. * A node first reached through a longer path at the depth limit is exp
src/graph/traversal.ts:290
↓ 3 callers
Function
escapeRegExp
(s: string)
src/resolution/cpp-template-instantiations.ts:333
↓ 3 callers
Function
expand
* Continue from the type an alias names, as written (`rest` followed the * alias in the name; `parameters` are the template parameters where it is *
src/resolution/cpp-type-aliases.ts:930
↓ 3 callers
Function
extract
(src: string, file = 'src/app.ts')
__tests__/elysia-routes.test.ts:21
↓ 3 callers
Function
extract
(source: string)
__tests__/pascal-implementation-matching.test.ts:22
↓ 3 callers
Method
extractCMemberTypeRefs
* A C or C++ class, struct or union references the types its members are * declared with, as the class: members mint no nodes, and impact never cli
src/extraction/tree-sitter.ts:3201
↓ 3 callers
Function
extractCodeTokens
(prompt: string)
src/directory.ts:772
↓ 3 callers
Method
extractFile
* `parseBudgetMs`: how long the native parse may run before it is cancelled, * with a `timeout:` error (#3274). An older binary ignores it.
src/extraction/kernel/loader.ts:87
↓ 3 callers
Method
extractImport
* Extract an import * * Creates an import node with the full import statement stored in signature for searchability. * Also creates unresolve
src/extraction/tree-sitter.ts:5035
↓ 3 callers
Method
extractPascalCall
* Extract function calls from a Pascal expression. A `receiverLink` call is * a link inside another call's receiver chain (#2547): it is recorded o
src/extraction/tree-sitter.ts:9821
↓ 3 callers
Method
extractPascalReceiverCall
A receiver call, read as any call is, its arguments' routine values included (#756).
src/extraction/tree-sitter.ts:9952
↓ 3 callers
Method
extractPascalReceiverCalls
* The calls inside the receiver of a Pascal call or member access, which * the outer reference doesn't cover (#2547): `MD5FileSized(…)` and the
src/extraction/tree-sitter.ts:9919
↓ 3 callers
Function
extractQueryPaths
( query: string, indexedPaths: readonly string[], opts: { maxPins?: number; maxMatchesPerSpan?:
src/search/query-paths.ts:294
↓ 3 callers
Method
extractTypeRefsFromSubtree
* Recursively walk a subtree and extract all type_identifier references. * Handles unions, intersections, generics, arrays, etc.
src/extraction/tree-sitter.ts:9053
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — kotlin annotations inside `modifiers`: `@Marker` (user_type child) → decorates ref; `@Anno(args)` (constructor_invocation) → NO
codegraph-kernel/src/kotlin.rs:1561
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — python decorators are PRECEDING SIBLINGS inside decorated_definition. Only bare-identifier decorators yield a target (python's
codegraph-kernel/src/python.rs:797
↓ 3 callers
Method
extract_decorators_for
(&mut self, decl: Node<'t>, decorated_row: u32)
codegraph-kernel/src/dart.rs:1941
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:952
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:1270
↓ 3 callers
Method
extract_inheritance
extractInheritance — delegation_specifier: user_type ?? its constructor_invocation's user_type ?? its explicit_delegation's user_type (`I by impl`) →
codegraph-kernel/src/kotlin.rs:1420
↓ 3 callers
Method
extract_inheritance
extractInheritance — the Java clauses (type_list-aware).
codegraph-kernel/src/java.rs:1027
↓ 3 callers
Method
extract_inheritance
extractInheritance — the rust-reachable cases: trait_bounds (supertraits; a scoped `fmt::Debug` bound matches NO case and is dropped) and the field_de
codegraph-kernel/src/rustlang.rs:1150
↓ 3 callers
Method
extract_inheritance
extractInheritance — base_clause takes ONLY the first base (interface multi-extends drops the rest); class_interface_clause takes ALL children unfilte
codegraph-kernel/src/php.rs:1316
↓ 3 callers
Method
extract_inheritance
(&mut self, node: Node<'t>, class_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2127
↓ 3 callers
Method
extract_name
extractName (tree-sitter.ts:98-192) — the lua-reachable branches.
codegraph-kernel/src/lua.rs:364
↓ 3 callers
Method
extract_type_annotations
extractTypeAnnotations — Java's returnField is `type`.
codegraph-kernel/src/java.rs:1132
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/swift.rs:1235
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2223
↓ 3 callers
Method
extract_variable_type_annotation
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2211
↓ 3 callers
Method
fail
(err: Error)
src/resolution/resolver-pool.ts:335
↓ 3 callers
Function
fetch
(request, env, ctx)
telemetry-worker/src/index.ts:431
↓ 3 callers
Function
fetch
(request, env)
telemetry-dashboard/src/index.ts:230
↓ 3 callers
Method
file
One file: outline, import rails, dependencies, drift.
ui/src/lib/adapter.ts:218
↓ 3 callers
Function
fileDrift
(index: DriftIndex, relPath: string, content?: string)
src/graph/file-drift.ts:40
↓ 3 callers
Function
fileFingerprint
(content: string)
src/mcp/explore-dedup.ts:97
↓ 3 callers
Function
fileName
(filePath: string)
src/resolution/cpp-includers.ts:57
↓ 3 callers
Function
fileSectionHeader
(filePath: string, suffix: string)
src/mcp/tools.ts:1097
↓ 3 callers
Function
fill
`unit(i)` repeated until the text is `bytes` long, between a head and a tail.
__tests__/large-file-indexing.test.ts:40
↓ 3 callers
Function
finalAnswerText
(events)
scripts/agent-eval/parse-run.mjs:679
↓ 3 callers
Method
findCircularDependencies
* Find circular imports between files * * @returns Groups of file paths that all reach each other through imports, * smallest group first
src/index.ts:3321
↓ 3 callers
Function
findFileCycles
(pairs: ReadonlyArray<{ source: string; target: string }>)
src/graph/file-cycles.ts:17
↓ 3 callers
Function
findIgnoredEmbeddedRepos
* Discover embedded repos hidden by `repoDir`'s OWN gitignore rules: for each * gitignored directory, search for nested `.git` roots. Returns repo pa
src/extraction/index.ts:1436
↓ 3 callers
Function
findIndexedSubprojectRoots
( root: string, opts: { maxDepth?: number; max?: number } = {}, )
src/directory.ts:420
↓ 3 callers
Function
findMarkedSections
* Every well-formed marker block in `content`, in file order. Each end * marker closes the nearest start marker before it, so a block never * contai
src/installer/targets/shared.ts:320
↓ 3 callers
Function
findSourceForEmittedSpecifier
( relativePath: string, language: Language, context: ResolutionContext, exists: (file: string) => bool
src/resolution/import-resolver.ts:1725
↓ 3 callers
Method
findTagOccurrences
* Every occurrence of a Liquid tag, in BOTH spellings it can be written in. * * Inside a `{% liquid %}` tag, each line of the body is a tag *
src/extraction/liquid-extractor.ts:187
↓ 3 callers
Function
findUnindexedIgnoredRepos
(rootDir: string)
src/extraction/index.ts:1385
↓ 3 callers
Function
find_bytes
(s: &[u8], needle: &[u8], from: usize)
codegraph-kernel/src/cfnptr.rs:161
↓ 3 callers
Function
find_word
`\bWORD\b` occurrence search from `from`.
codegraph-kernel/src/cfnptr.rs:187
↓ 3 callers
Function
finish
()
src/mcp/project-lifecycle.ts:99
↓ 3 callers
Function
finish_block_comment
codegraph-kernel/grammars/scala/scanner.c:423
↓ 3 callers
Function
fitExploreEpilogue
(opts: { room: number; noteCandidates: ReadonlyArray<readonly string[]>; noteYields: boolean; pointerE
src/mcp/tools.ts:1569
↓ 3 callers
Method
flow
* The value every call of `method` passes `parameter`, or why there is none. * `path` holds the parameters being followed: a call passing one of th
src/resolution/parameter-flow.ts:314
↓ 3 callers
Method
flush
* Flush pending changes by running sync. * * pendingFiles is NOT cleared at the start of sync — entries are removed * only after sync commits
src/sync/watcher.ts:1080
↓ 3 callers
Method
foldNow
* Phase-boundary fold: backfill the ENTIRE WAL now (off-thread, awaited). * Called between bulk phases — e.g. after parsing, before resolution's
src/db/wal-valve.ts:232
↓ 3 callers
Function
foldPathCase
* A path in the form the sensitive-folder check compares: lower-cased where the * file system ignores case by default (NTFS, APFS), so `~/.SSH` is `~
src/utils.ts:253
↓ 3 callers
Function
foldScriptResult
(result: ExtractionResult, fold: ScriptFold, sink: ScriptSink)
src/extraction/sfc-script.ts:473
↓ 3 callers
Function
follow
( name: TypeName, scope: string, ref: UnresolvedRef, context: ResolutionContext, hops: number, )
src/resolution/cpp-type-aliases.ts:908
↓ 3 callers
Function
followed_by_arrow
After scan_for_word has matched "else", peek past optional whitespace and comments for "->". If found, this is a when-entry's `else ->`, not an if-els
codegraph-kernel/grammars/kotlin/scanner.c:502
↓ 3 callers
Function
formatAllocation
(s, indent = ' ')
scripts/agent-eval/parse-run.mjs:692
↓ 3 callers
Function
formatCallSiteLines
(lines: readonly number[], max: number)
src/graph/call-sites.ts:19
↓ 3 callers
Method
formatNodeListEntry
* One callers/callees entry. Compact: name, kind, location (the caller's * call sites when `locations` has them, else the declaration's line), the
src/mcp/tools.ts:9474
↓ 3 callers
Function
formatReportRow
(category: string, amountCents: number, currency: string)
__tests__/fixtures/oversize-member-ts/src/report/format.ts:4
↓ 3 callers
Function
frameworkPhrase
(frameworks: readonly string[])
ui/src/lib/entry-model.ts:205
↓ 3 callers
Function
functionParts
* An arrow function's or a `function`'s parameter list and body, its * `async` and return type skipped. Null for any other expression.
src/resolution/frameworks/react.ts:1671
↓ 3 callers
Method
fuzzyNames
* The distinct node names, in {@link getAllNodeNames} order, and the same * names lowercased and newline-joined: name `i` lowercased is * `lower
src/db/queries.ts:4734
↓ 3 callers
Method
gateLanguage
(result: ResolvedRef | null, ref: UnresolvedRef)
src/resolution/index.ts:5256
↓ 3 callers
Method
getAllNodes
* Get all nodes in the database
src/db/queries.ts:1687
↓ 3 callers
Method
getAncestors
* Get the containment hierarchy for a node (ancestors) * * @param nodeId - ID of the node * @returns Array of ancestor nodes from immediate p
src/graph/traversal.ts:805
↓ 3 callers
Method
getCode
* Get the source code for a node * * Reads the file and extracts the code between startLine and endLine. * * @param nodeId - ID of the nod
src/index.ts:3374
↓ 3 callers
Method
getContext
* Get the context for a node (ancestors, children, references) * * Returns comprehensive context about a node including its containment * hie
src/index.ts:3151
↓ 3 callers
Method
getDbFileSizeBytes
Size of the main DB file in bytes (0 for in-memory/unknown) — the WAL * valve scales its fold caps with it (resolveWalValveMb).
src/db/index.ts:704
↓ 3 callers
Method
getDetectedFrameworks
* Get detected frameworks
src/resolution/index.ts:3689
↓ 3 callers
Function
getExploreBudget
(fileCount: number)
src/mcp/tools.ts:273
↓ 3 callers
Method
getFailedCallSites
A language's failed calls of a method name, or made by one caller.
src/db/parameter-flow-queries.ts:202
← previous
next →
1,301–1,400 of 13,683, ranked by callers