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
↓ 5 callers
Function
lexicalPathWithinRoot
(projectRoot: string, filePath: string)
src/utils.ts:124
↓ 5 callers
Function
libraryOf
The library file `file` belongs to: itself, or for a part the library its `part of` chain ends at; null when unknown.
src/resolution/dart-libraries.ts:584
↓ 5 callers
Function
lineOf
Line (1-based) of the first line containing `needle`.
__tests__/branch-guards.test.ts:16
↓ 5 callers
Function
linesOf
The source lines of a file, through the resolver's line cache when it has one.
src/resolution/swift-type-visibility.ts:269
↓ 5 callers
Function
lookupSegments
* What a written name declares, looked up from `scopes` (innermost first), and * how many of its segments that took: a class's member is looked up in
src/resolution/cpp-type-aliases.ts:877
↓ 5 callers
Function
lowerWordAt
The word starting at `i`, lowercased, or '' when no word starts there.
src/extraction/languages/pascal-preparse.ts:356
↓ 5 callers
Function
machineIdRanges
(hexDigits: 1 | 2)
telemetry-worker/src/rollup.ts:560
↓ 5 callers
Function
macro_is_name
isName: an identifier that is no keyword, or a contextual keyword's token.
codegraph-kernel/src/rustlang.rs:1863
↓ 5 callers
Method
mappings
Its import mappings.
src/resolution/module-importers.ts:80
↓ 5 callers
Method
markReferencesFailed
* Mark refs a completed resolution pass could not resolve as status='failed' * instead of deleting them (#1240). Failed rows are invisible to the p
src/db/queries.ts:4961
↓ 5 callers
Function
matchingBracket
Offset of the bracket matching the one at `open`, in masked text; -1 when unbalanced.
src/resolution/go-func-field-synthesizer.ts:153
↓ 5 callers
Method
mb
(n: number)
src/db/wal-valve.ts:149
↓ 5 callers
Function
mcpConfigPath
()
src/installer/targets/windsurf.ts:32
↓ 5 callers
Function
mcpConfigPath
()
src/installer/targets/copilot-cli.ts:55
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/pi.ts:41
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/kiro.ts:48
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/claude.ts:75
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/droid.ts:28
↓ 5 callers
Function
mcpJsonPath
()
src/installer/targets/copilot-jetbrains.ts:81
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/kimi.ts:38
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/copilot-vscode.ts:80
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/cursor.ts:57
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/bob.ts:30
↓ 5 callers
Function
memberOfValue
* The member a name reaches on a value of a type: one the helper in scope * for the type adds (`TFooHelper = class helper for TFoo`, see * nearestHe
src/resolution/pascal-scope.ts:1981
↓ 5 callers
Function
memberOn
* A method — or, `withValues`, a field or property; or what `fits` — named * `name` on one of `owners` (the type `typed` names) or a project type the
src/resolution/vbnet-receivers.ts:1131
↓ 5 callers
Function
moduleTail
(modulePath: string)
src/db/reference-tail.ts:103
↓ 5 callers
Function
namespaceBlocks
(file: string, context: ResolutionContext)
src/resolution/ambient-modules.ts:626
↓ 5 callers
Function
needsArguments
Whether a routine has a parameter without a default value, which a call must pass.
src/resolution/pascal-scope.ts:2774
↓ 5 callers
Function
node
(qualifiedName: string, file: string)
__tests__/cpp-base-class-lookup.test.ts:371
↓ 5 callers
Function
normalizeVersion
(v: string)
src/upgrade/index.ts:274
↓ 5 callers
Function
notFound
(message: string, hint?: string)
src/ui-server/api/respond.ts:58
↓ 5 callers
Function
notify
()
__tests__/fixtures/factory-closure-ts/src/stores/dashboard-store.ts:342
↓ 5 callers
Function
number
(n)
telemetry-dashboard/public/theme.js:89
↓ 5 callers
Function
objectEntries
An object literal's own properties, each name to its value's text — shorthand and methods included — and its spreads.
src/resolution/frameworks/react.ts:1940
↓ 5 callers
Function
object_key_name
objectKeyName (tree-sitter.ts): strip ONE leading and ONE trailing quote character (`'`, `"`, or backtick).
codegraph-kernel/src/textutil.rs:228
↓ 5 callers
Function
on_small_stack
(f: impl FnOnce() -> T + Send + 'static)
codegraph-kernel/src/stack.rs:192
↓ 5 callers
Function
parseSemver
(version: string)
src/upgrade/index.ts:237
↓ 5 callers
Function
parseWithinBudget
(parser: Parser, source: string, budgetMs = REQUEST_PARSE_BUDGET_MS)
src/extraction/parse-budget.ts:66
↓ 5 callers
Function
pascalCallArgumentCount
* How many arguments a Pascal call passes: the list in parentheses after the * called name, from the reference's column on and across lines; 0 for a
src/resolution/pascal-scope.ts:523
↓ 5 callers
Function
pathFor
* 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 callers
Function
pickedExport
* The component a lazy route's loader picks from the module `spec` loads: the * export named `name`, through barrels. `reads` collects the files it r
src/resolution/frameworks/react.ts:505
↓ 5 callers
Function
posix
(p: string)
src/ui-server/api/steps.ts:1752
↓ 5 callers
Method
proceed
* Run the request through the remaining interceptors and, once they are * exhausted, hand it to the transport. This is the method the flow question
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:50
↓ 5 callers
Function
projectInfo
A file's project's root namespace (`<RootNamespace>`, else the project's name) and project-wide imports, lowercased.
src/resolution/vbnet-receivers.ts:654
↓ 5 callers
Function
pushCppRunTokens
Add a span for each macro of `run` (found at `start`), leaving what lies between them.
src/extraction/languages/c-cpp.ts:766
↓ 5 callers
Function
quotedEnd
Past the string or character literal whose quote is at `i`.
src/extraction/languages/cpp-macro-methods.ts:198
↓ 5 callers
Method
readFilteredPage
* One page of the rows `sql` returns that pass `filters`: up to `limit` of * them, after skipping the first `offset` that pass, so a source's limit
src/db/queries.ts:2040
↓ 5 callers
Function
read_word
Reads one identifier-like word into `buf`. Returns -1 when the word cannot be an ASCII keyword. The whole word is always consumed, so a failed keyword
codegraph-kernel/grammars/scala/scanner.c:451
↓ 5 callers
Method
ready
()
src/mcp/project-lifecycle.ts:52
↓ 5 callers
Function
rect
( x: number, y: number, w: number, h: number, attrs: { fill?: string; fillOpacity?: number;
ui/src/lib/export-svg.ts:168
↓ 5 callers
Function
ref
(name: string, file = 'src/a.tsx', language: WireNodeRef['language'] = 'tsx')
__tests__/ui-steps-model.test.ts:11
↓ 5 callers
Function
res
(id, chars)
scripts/agent-eval/parse-run.mjs:970
↓ 5 callers
Function
resolveDartUri
The project files a URI written in `from` names: none for `dart:` and other schemes, or a package outside the project.
src/resolution/dart-libraries.ts:517
↓ 5 callers
Function
resolveWalValveMb
(envVal: string | undefined, dbSizeBytes?: number)
src/db/wal-valve.ts:93
↓ 5 callers
Function
routeRoots
(cg: CodeGraph, routes: readonly Node[])
src/ui-server/api/route-roots.ts:73
↓ 5 callers
Function
routineKeyword
The keyword that declares a routine (`function`, `procedure`, `constructor`, …), lowercased, or null.
src/resolution/pascal-scope.ts:2797
↓ 5 callers
Function
run
(command, commandArgs, options = {})
scripts/regression/gate.mjs:118
↓ 5 callers
Function
run_guarded
Run one extraction under the guard. A walk that tripped the guard returns a `defer:` error — the TS side's routine "take the wasm path" signal — regar
codegraph-kernel/src/stack.rs:171
↓ 5 callers
Function
scanned
* The `declare module` blocks of the project's declaration files. Only those * are read: a module is declared whole in a `.d.ts`, and reading every
src/resolution/ambient-modules.ts:643
↓ 5 callers
Function
scorePathRelevance
( filePath: string, query: string, projectNameTokens?: Set<string>, isDeprioritized?: boolean, )
src/search/query-utils.ts:390
↓ 5 callers
Method
sendResult
(id: string | number, result: unknown)
src/mcp/transport.ts:81
↓ 5 callers
Method
setDefaultCodeGraph
* Update the default CodeGraph instance (e.g. after lazy initialization)
src/mcp/tools.ts:2353
↓ 5 callers
Method
setQueryPool
* Engine-only: attach (or detach with null) the worker-thread query pool. The * engine sets this after resolving its default project; the workers e
src/mcp/tools.ts:2338
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/claude.ts:96
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/gemini.ts:53
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/qwen.ts:46
↓ 5 callers
Function
settingsPath
(loc: Location)
src/installer/targets/qoder.ts:35
↓ 5 callers
Function
settleLosingCandidates
( fixture: string, holder: () => number | null | undefined, timeoutMs = 30_000, )
__tests__/daemon-candidates.ts:44
↓ 5 callers
Function
shortDay
(day)
telemetry-dashboard/public/theme.js:100
↓ 5 callers
Function
sited
`t` — and the type arguments written inside it — written at `file:line`.
src/resolution/vbnet-receivers.ts:173
↓ 5 callers
Function
skipSpace
(code: string, at: number)
src/resolution/rust-scopes.ts:206
↓ 5 callers
Function
skipSpace
(safe: string, i: number)
src/resolution/frameworks/react.ts:2388
↓ 5 callers
Method
source
(file: string)
src/resolution/cpp-template-instantiations.ts:638
↓ 5 callers
Function
splitRouteName
(url: string)
src/ui-server/api/routes.ts:78
↓ 5 callers
Function
splitTopLevel
Split `body` on `sep` at brace/paren/bracket depth 0 (commas inside `{…}` / `(…)` stay together).
src/resolution/c-fnptr-synthesizer.ts:144
↓ 5 callers
Method
stop
Graceful shutdown: close all sessions, the engine, and clean up the lock.
src/mcp/daemon.ts:476
↓ 5 callers
Function
stopDaemonAt
( root: string, options: { preserveUnverified?: boolean; shutdownGraceMs?: number } = {}, )
src/mcp/daemon-registry.ts:311
↓ 5 callers
Method
storeExtractionResult
( filePath: string, content: string, language: Language, stats: fs.Stats, result: Extracti
src/extraction/index.ts:3542
↓ 5 callers
Function
supervisionLostReason
(state: SupervisionState)
src/mcp/ppid-watchdog.ts:44
↓ 5 callers
Function
templateParametersAround
* The template parameters in scope where `node` is declared: its own * `template <…>` header and those of the class templates around it.
src/resolution/cpp-type-aliases.ts:500
↓ 5 callers
Function
terminateOnceStarted
( worker: Pick<Worker, 'terminate'>, started: Promise<void>, capMs = WORKER_START_SETTLE_MS )
src/worker-teardown.ts:50
↓ 5 callers
Function
tomlConfigPath
(loc: Location)
src/installer/targets/grok.ts:44
↓ 5 callers
Function
topLevelArgs
(args: string)
src/resolution/frameworks/express.ts:721
↓ 5 callers
Method
top_row
(&self)
codegraph-kernel/src/go.rs:195
↓ 5 callers
Function
truncate
(text: string, maxWidth: number, size: number, advance = MONO_ADVANCE)
ui/src/lib/export-svg.ts:205
↓ 5 callers
Function
typeKey
A type's key for comparing two of them: the built-in keyword or the lowercased name, `[]` for an array.
src/resolution/vbnet-receivers.ts:106
↓ 5 callers
Function
unitDeclaration
* A unit's top-level declaration of a name (its enum values included), as * code in `fromFile` sees it: another unit's member that its parse lost (se
src/resolution/pascal-scope.ts:2192
↓ 5 callers
Function
userRecordsFrom
(env: Env)
telemetry-worker/src/rollup.ts:316
↓ 5 callers
Method
visibility_of
getVisibility: modifiers text includes public/private/protected/ internal in that order; default PUBLIC. Text-includes semantics — annotation text ins
codegraph-kernel/src/kotlin.rs:601
↓ 5 callers
Method
visibility_of
(&self, node: Node)
codegraph-kernel/src/java.rs:409
↓ 5 callers
Method
visibility_of
getVisibility: any `visibility_modifier` child with one of the three texts; none → public (the php default).
codegraph-kernel/src/php.rs:429
↓ 5 callers
Method
visibility_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:997
↓ 5 callers
Function
visible
(kinds: ReadonlySet<string>)
src/resolution/pascal-scope.ts:2564
↓ 5 callers
Function
visibleClassNamed
* The class a name means in a file, when the file's unit declares it or a * unit it uses does: not the one class of that name anywhere in the project
src/resolution/pascal-scope.ts:1951
↓ 5 callers
Method
visitParameterDefaults
* A parameter's default value is code the function runs, each time a call * leaves that argument out (#2588): `function render(note = buildNote())`
src/extraction/tree-sitter.ts:2618
↓ 5 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/swift.rs:627
↓ 5 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/php.rs:535
↓ 5 callers
Method
visit_parameter_defaults
A parameter's default value is code the function runs, each time a call leaves that argument out (#2588). Each default, and a computed key in a destru
codegraph-kernel/src/tsjs/extractors.rs:110
↓ 5 callers
Function
where_type_constraint_follows
Advance-only: every caller has already marked the token end.
codegraph-kernel/grammars/kotlin/scanner.c:820
↓ 5 callers
Function
widthOf
(id: string)
ui/src/lib/steps-model.ts:727
← previous
next →
701–800 of 13,683, ranked by callers