Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,347 in github.com/colbymchenry/codegraph
⨍
Functions
13,347
◇
Types & classes
1,990
↳
Endpoints
1
↓ 4 callers
Function
guardsInSource
( source: string, language: Language, line: number, column: number | null = null )
src/graph/branch-guards.ts:936
↓ 4 callers
Function
handler
(name: string)
__tests__/flask-url-rules.test.ts:64
↓ 4 callers
Function
hasCjk
(text: string)
src/search/query-utils.ts:156
↓ 4 callers
Method
hasPendingIndexRecovery
Whether {@link recoverIndexes} still has indexes to rebuild.
src/index.ts:606
↓ 4 callers
Function
hasSynthesisPattern
(filePath: string, source: string)
src/resolution/callback-synthesizer.ts:5311
↓ 4 callers
Function
headerClassAt
* The class the nearest routine header at or above a line names * (`procedure TFoo.Bar;` → `TFoo`), or null when it is a free routine's, or * the un
src/resolution/pascal-scope.ts:791
↓ 4 callers
Function
helpersByType
* The project's helpers by the id of the class each helps: a class the * helper's unit declares or uses. A helper for a type outside the project * h
src/resolution/pascal-scope.ts:2138
↓ 4 callers
Function
highlightLines
( lines: readonly string[], options: HighlightOptions = {} )
src/ui-server/highlight/index.ts:180
↓ 4 callers
Function
importDir
(qualifier: string, file: string)
src/resolution/go-func-field-synthesizer.ts:297
↓ 4 callers
Function
importersOf
* The files with an import statement naming one of `files`, or one of the * modules re-exporting from them, other than `files` themselves (going away
src/resolution/module-importers.ts:677
↓ 4 callers
Function
importsReadBy
(imports: ImportMapping[], name: string)
src/resolution/import-lookup.ts:66
↓ 4 callers
Function
includesByName
(context: ResolutionContext, memo: Memo)
src/resolution/cpp-includers.ts:86
↓ 4 callers
Function
indexParseBudgetMs
(contentLength: number)
src/extraction/parse-budget.ts:57
↓ 4 callers
Function
indexed
(files: Record<string, string>)
__tests__/parameter-flow.test.ts:84
↓ 4 callers
Function
indexed
(files: Record<string, string>)
__tests__/cpp-template-instantiations.test.ts:48
↓ 4 callers
Function
indexedHashInput
(size: number, content: () => string)
src/file-limits.ts:37
↓ 4 callers
Method
initialize
* Initialize the resolver (detect frameworks, etc.). `frameworks` are the * names detection gave in the process's main thread, for a worker startin
src/resolution/index.ts:617
↓ 4 callers
Method
install
(loc: Location, opts: InstallOptions)
src/installer/targets/types.ts:104
↓ 4 callers
Function
isAlive
(pid: number)
__tests__/mcp-daemon.test.ts:152
↓ 4 callers
Function
isBindingName
(id: string)
src/resolution/rust-scopes.ts:282
↓ 4 callers
Function
isBlank
(ch: string | undefined)
src/resolution/angular-template-synthesizer.ts:305
↓ 4 callers
Function
isBuiltin
(t: VbType)
src/resolution/vbnet-receivers.ts:110
↓ 4 callers
Function
isCFamily
(language: string)
src/resolution/cpp-includers.ts:56
↓ 4 callers
Function
isCodeGraphDataDir
(name: string)
src/directory.ts:85
↓ 4 callers
Function
isCppPointerType
(raw: string)
src/resolution/cpp-type-aliases.ts:143
↓ 4 callers
Function
isDartTypeName
(node: SyntaxNode)
src/extraction/languages/dart.ts:15
↓ 4 callers
Method
isFileStaleOnDisk
* On-disk drift check for a single indexed file (issue #1474). The code * renderers slice CURRENT bytes at INDEXED line ranges; when the file *
src/mcp/tools.ts:2939
↓ 4 callers
Function
isIdStart
(c: number)
src/resolution/jsx-code.ts:60
↓ 4 callers
Function
isModule
Whether a VB.NET owner (by qualified name) is a `Module`, whose members are reached without a qualifier.
src/resolution/vbnet-receivers.ts:496
↓ 4 callers
Method
isNameSegmentVocabEmpty
True when the vocab has no rows — an index built before the table existed. * `sync` uses this to heal such databases (see rebuildNameSegmentVocabF
src/db/queries.ts:1078
↓ 4 callers
Function
isNestedRoutine
* Whether a node is a routine nested in another (see nestedRoutineInScope): * a Pascal function qualified under a routine, which no code outside the
src/resolution/pascal-scope.ts:926
↓ 4 callers
Function
isProcessAlive
(pid: number)
src/mcp/daemon.ts:967
↓ 4 callers
Function
isQualifiedSymbol
(symbol: string)
src/graph/symbol-lookup.ts:34
↓ 4 callers
Function
isRebuildInProgress
(root: string)
src/mcp/writer-lock.ts:265
↓ 4 callers
Method
isWatching
* Check if the file watcher is active.
src/index.ts:2156
↓ 4 callers
Function
isWordStart
(c: number)
src/extraction/languages/cpp-macro-methods.ts:59
↓ 4 callers
Function
isWordStart
(c: number)
src/resolution/pascal-scope.ts:1238
↓ 4 callers
Function
is_alpha
codegraph-kernel/grammars/scala/scanner.c:225
↓ 4 callers
Method
is_exported
goExtractor.isExported: uppercase first letter of the name field (a var_spec / const_spec's first name included).
codegraph-kernel/src/go.rs:342
↓ 4 callers
Method
is_exported_of
isExported (luau.ts:23) — the raw 7-unit slice is an ASCII prefix test.
codegraph-kernel/src/lua.rs:411
↓ 4 callers
Function
is_rust_ident
(s: &str)
codegraph-kernel/src/rustlang.rs:1665
↓ 4 callers
Method
is_static
(&self, node: Node)
codegraph-kernel/src/csharp.rs:455
↓ 4 callers
Method
is_type_name_dart
isDartTypeName (dart.ts) — UpperCamelCase (`/^[_$]*[A-Z]/`: lowercase is a built-in or an error-recovery artifact), not a built-in, not an import pref
codegraph-kernel/src/dart.rs:2152
↓ 4 callers
Function
joinPartsWithNamedGaps
( filePath: string, parts: ReadonlyArray<{ range: ExploreLineRange; text: string }>, nodes: ReadonlyArra
src/mcp/tools.ts:1156
↓ 4 callers
Function
joinRoutePath
* Join route path segments the way Laravel does: `('api', 'v1/', '/users')` → * `/api/v1/users`. Leading and trailing slashes don't matter; the root
src/resolution/frameworks/laravel.ts:435
↓ 4 callers
Function
joinText
(text: TextLines)
src/installer/targets/shared.ts:280
↓ 4 callers
Function
joinTokens
(tokens: readonly WordToken[])
ui/src/lib/conditions.ts:98
↓ 4 callers
Function
languageForJsxFile
(file: string)
src/resolution/callback-synthesizer.ts:1999
↓ 4 callers
Function
languageOf
(filePath: string)
src/resolution/frameworks/elysia.ts:134
↓ 4 callers
Function
lineAt
1-based line of `offset`.
src/resolution/go-func-field-synthesizer.ts:141
↓ 4 callers
Function
lineOf
(src: string, needle: string)
__tests__/branch-guards-languages.test.ts:17
↓ 4 callers
Function
lineOfOffset
(text: string, at: number)
src/resolution/angular-template-synthesizer.ts:81
↓ 4 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/ruby.rs:233
↓ 4 callers
Function
linesOf
(text: string)
src/resolution/synth-utils.ts:83
↓ 4 callers
Function
listDaemons
(opts: { prune?: boolean } = {})
src/mcp/daemon-registry.ts:126
↓ 4 callers
Function
literalString
* A string literal's text when it is written out in full, or null when a * `#…#` expression builds it at runtime (`"#dir#/x.cfm"`, `"#dir#.Batch"`):
src/extraction/languages/cfscript.ts:25
↓ 4 callers
Method
load
(keys: typeof candidates)
src/resolution/index.ts:1653
↓ 4 callers
Method
load
(data: Data?)
__tests__/fixtures/kernel-parity/TortureTry.swift:18
↓ 4 callers
Function
loadCodeGraph
()
src/bin/codegraph.ts:87
↓ 4 callers
Function
loadExcludeMatcher
* Matcher for the project's `codegraph.json` `exclude` patterns — paths to keep * OUT of the index even when git-tracked, which `.gitignore` cannot d
src/extraction/index.ts:701
↓ 4 callers
Function
loadIncludeIgnoredMatcher
* Matcher for the project's `codegraph.json` `includeIgnored` patterns — the * explicit opt-in to index embedded git repos living inside gitignored
src/extraction/index.ts:687
↓ 4 callers
Function
loadIncludeIgnoredPatterns
(rootDir: string)
src/project-config.ts:401
↓ 4 callers
Function
loadIncludePatterns
(rootDir: string)
src/project-config.ts:437
↓ 4 callers
Function
loadProjectAliases
(projectRoot: string, read?: Set<string>)
src/resolution/path-aliases.ts:283
↓ 4 callers
Function
loaderValue
* What the function `text` resolves to when called, `param` handed to its * first parameter: its expression body's value, or what the first `return`
src/resolution/frameworks/react.ts:1659
↓ 4 callers
Function
lookupSymbolNodes
( cg: SymbolLookupHost, symbol: string, goPackageOf?: GoPackageOf )
src/graph/symbol-lookup.ts:250
↓ 4 callers
Function
matchBrace
Index of the `}` matching the `{` at `open` (which must point at a `{`). -1 if unbalanced.
src/resolution/c-fnptr-synthesizer.ts:130
↓ 4 callers
Function
matching
Where the `close` matching the `open` at `text[from]` is, or -1.
src/extraction/languages/cpp-macro-methods.ts:186
↓ 4 callers
Function
maxOf
(values: readonly number[])
src/utils.ts:429
↓ 4 callers
Method
maybe_capture_fn_refs
(&mut self, node: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:626
↓ 4 callers
Method
memoizedRead
* `compute()`'s answer, reused until the database changes (see * getChangeStamp), or null inside a transaction, where a rollback could * leave a
src/db/queries.ts:651
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-embedding.test.ts:268
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-defined-types.test.ts:174
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-stdlib.test.ts:344
↓ 4 callers
Method
misparsed_generic_call
dartMisparsedGenericCall (dart.ts) — a generic call tree-sitter-dart parsed as two comparisons, `(ref.read < Repo) > (p)`, found from its `<`: the nod
codegraph-kernel/src/dart.rs:1492
↓ 4 callers
Method
nearerThanBefore
(visited: Map<string, number>, nodeId: string, depth: number)
src/graph/traversal.ts:296
↓ 4 callers
Function
nearest
The file whose path shares the longest directory prefix with `from`.
src/resolution/pascal-scope.ts:2601
↓ 4 callers
Function
node
The one node with this qualified name (in `file`, when several share it).
__tests__/js-object-literal-members.test.ts:56
↓ 4 callers
Method
node
One symbol with its rails, outline, tests, blast radius and drift verdict.
ui/src/lib/adapter.ts:212
↓ 4 callers
Function
nodeRef
(over: Partial<WireSymbolPayload['node']> = {})
__tests__/ui-symbol-model.test.ts:34
↓ 4 callers
Function
norm
(name: string)
src/resolution/callback-synthesizer.ts:3310
↓ 4 callers
Function
normalizeNameToken
(raw: string)
src/search/query-utils.ts:12
↓ 4 callers
Function
normalizeToken
(token: string)
src/graph/named-symbol-flow.ts:730
↓ 4 callers
Method
normalize_java_type
normalizeJavaType (languages/java.ts).
codegraph-kernel/src/java.rs:465
↓ 4 callers
Function
npmInvocation
(platform: NodeJS.Platform, npmArgs: string[])
src/upgrade/index.ts:857
↓ 4 callers
Function
numberSourceLines
* Prefix each line of a source slice with its 1-based line number, matching * the Read tool's `cat -n` convention (number + tab) so the agent treats
src/mcp/tools.ts:955
↓ 4 callers
Method
objectKeyName
Property-key text with surrounding quotes stripped (`'foo'` → `foo`).
src/extraction/tree-sitter.ts:3808
↓ 4 callers
Method
on
(event: 'message', cb: (m: unknown) => void)
src/extraction/parse-pool.ts:45
↓ 4 callers
Function
open
* Whether this reading may open a function's body here: not if it is already * open on the way in (a helper that calls itself), not if it has been re
src/ui-server/api/program.ts:308
↓ 4 callers
Function
orderGraph
(program: NonNullable<WireStepsPayload['program']>, anchor: string)
ui/src/lib/program-model.ts:114
↓ 4 callers
Method
output
(options: ImageOutputShim)
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:183
↓ 4 callers
Function
ownMethods
(id: string)
src/resolution/callback-synthesizer.ts:1106
↓ 4 callers
Method
ownedObjectValue
`value` when it is an object literal that owns at least one function member, else null.
src/extraction/tree-sitter.ts:3567
↓ 4 callers
Method
owned_object_value
ownedObjectValue: `value` when it is an object literal owning at least one function member.
codegraph-kernel/src/tsjs/extractors.rs:1014
↓ 4 callers
Function
parentDir
(file: string)
src/resolution/dart-libraries.ts:402
↓ 4 callers
Function
parseAngularRoutes
(content: string)
src/resolution/frameworks/angular-router.ts:257
↓ 4 callers
Function
parseConfig
(text: string)
src/installer/targets/json-config.ts:32
↓ 4 callers
Function
parseSession
(files)
scripts/agent-eval/parse-run.mjs:102
↓ 4 callers
Method
pascalLocalType
* The declared type of a name the enclosing routines declare (null: none it * can be named by), or undefined when none does. `textLocals` are the
src/extraction/tree-sitter.ts:10303
↓ 4 callers
Method
pascalScopeAt
* The class and routine a name at `line` belongs to; null outside any code. * Where the tree has errors, a routine whose header didn't parse is a b
src/extraction/tree-sitter.ts:10318
← previous
next →
901–1,000 of 13,347, ranked by callers