Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
3,841 in github.com/colbymchenry/codegraph
⨍
Functions
3,841
◇
Types & classes
553
↳
Endpoints
1
↓ 2 callers
Function
isWholeCwdEntry
* `git ls-files --directory` collapses a wholly-untracked/ignored directory into * one entry — and when the command's own cwd is such a directory (th
src/extraction/index.ts:503
↓ 2 callers
Method
is_async
isAsync: modifiers text includes 'suspend' (text-includes false positive on `@suspendMarker` annotations — preserve).
codegraph-kernel/src/kotlin.rs:486
↓ 2 callers
Method
is_async
isAsync: dead hook — `async` never sits inside `modifiers` (it's an anon child after the params) → effectively always false, but PRESENT.
codegraph-kernel/src/swift.rs:496
↓ 2 callers
Method
is_async
pythonExtractor.isAsync: the PREVIOUS SIBLING token is `async`.
codegraph-kernel/src/python.rs:304
↓ 2 callers
Method
is_async
(&self, node: Node)
codegraph-kernel/src/csharp.rs:441
↓ 2 callers
Method
is_async
(&self, node: Node)
codegraph-kernel/src/tsjs/mod.rs:817
↓ 2 callers
Method
is_async_of
isAsync (dart.ts:223-233) — the `async` anon child of the SIBLING function_body; `async*`/`sync*` are different token types → false.
codegraph-kernel/src/dart.rs:509
↓ 2 callers
Function
is_class_fn
CLASS_FNS (r.ts:40).
codegraph-kernel/src/rlang.rs:53
↓ 2 callers
Function
is_class_type
(v: Variant, kind: &str)
codegraph-kernel/src/tsjs/mod.rs:66
↓ 2 callers
Method
is_const
javaExtractor.isConst: `static final` field → constant.
codegraph-kernel/src/java.rs:436
↓ 2 callers
Method
is_const
isConst: `const` → true; else `static` AND `readonly` both present.
codegraph-kernel/src/csharp.rs:448
↓ 2 callers
Method
is_exported
goExtractor.isExported: uppercase first letter of the name field.
codegraph-kernel/src/go.rs:339
↓ 2 callers
Function
is_generic_fn
GENERIC_FNS (r.ts:41).
codegraph-kernel/src/rlang.rs:57
↓ 2 callers
Function
is_interface_type
(kind: &str)
codegraph-kernel/src/java.rs:28
↓ 2 callers
Method
is_misparsed_function
cppExtractor.isMisparsedFunction (languages/c-cpp.ts:811). cpp only.
codegraph-kernel/src/ccpp/mod.rs:744
↓ 2 callers
Method
is_static
pythonExtractor.isStatic: preceding decorator mentioning `staticmethod`.
codegraph-kernel/src/python.rs:309
↓ 2 callers
Method
is_static_of
isStatic (dart.ts:234-243).
codegraph-kernel/src/dart.rs:525
↓ 2 callers
Method
is_unnamed_ctor
isMisparsedFunction (dart.ts:177-188) — skip the UNNAMED constructor.
codegraph-kernel/src/dart.rs:447
↓ 2 callers
Function
is_variable_type
(kind: &str)
codegraph-kernel/src/tsjs/mod.rs:70
↓ 2 callers
Method
iterateNodesByLanguageWithDecorator
* Stream nodes of one language whose `decorators` JSON array contains * `decorator`. The LIKE on the JSON text is a cheap index-free pre-filter
src/db/queries.ts:1082
↓ 2 callers
Function
jsws_len
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:114
↓ 2 callers
Function
lastQualifierPart
Last `::` / `.` / `/`-separated segment of a qualified symbol.
src/mcp/tools.ts:94
↓ 2 callers
Function
legacyConfigDir
()
src/installer/targets/antigravity.ts:79
↓ 2 callers
Function
legacyDir
()
__tests__/installer-targets.test.ts:1600
↓ 2 callers
Function
legacyWindowsConfigDir
* Pre-#535 installs wrote the global entry to `%APPDATA%/opencode` — a dir * today's opencode never reads. Returns that legacy dir when it could hold
src/installer/targets/opencode.ts:76
↓ 2 callers
Function
lerp
(a: number, b: number, t: number)
src/ui/shimmer-worker.ts:44
↓ 2 callers
Function
liftoff
(entry)
scripts/npm-shim.js:105
↓ 2 callers
Function
line
(node: SyntaxNode)
src/extraction/languages/cobol.ts:47
↓ 2 callers
Function
lineAt
(safe: string, index: number)
src/resolution/frameworks/nestjs.ts:510
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/kotlin.rs:256
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/lua.rs:163
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/java.rs:253
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/swift.rs:284
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/python.rs:146
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/go.rs:183
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/scala.rs:251
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/rustlang.rs:204
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/dart.rs:219
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/csharp.rs:270
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/rlang.rs:147
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/ccpp/mod.rs:443
↓ 2 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/tsjs/mod.rs:270
↓ 2 callers
Function
listChildBlock
* Block-range for a 2-space-indented child whose value is a YAML block list. * * Unlike `childRange`, this handles PyYAML's default `default_flow_st
src/installer/targets/hermes.ts:207
↓ 2 callers
Function
listIgnoredDirs
* List the gitignored DIRECTORIES of a repo (collapsed, trailing-slash form), * relative to `repoDir`. These are invisible to every other `git ls-fil
src/extraction/index.ts:514
↓ 2 callers
Function
listTargetIds
()
src/installer/targets/registry.ts:35
↓ 2 callers
Function
literalOrIdentifier
Text of a string node's content, or an identifier's text.
src/extraction/languages/r.ts:70
↓ 2 callers
Method
literal_or_identifier
literalOrIdentifier (r.ts:70-81): identifier text (backticks kept), a string's first string_content text, `Some("")` for an empty string literal (fals
codegraph-kernel/src/rlang.rs:278
↓ 2 callers
Function
loadCodeGraph
()
src/mcp/engine.ts:26
↓ 2 callers
Function
loadCppIncludeDirs
(projectRoot: string)
src/resolution/import-resolver.ts:525
↓ 2 callers
Function
loadIncludeMatcher
* Matcher for the project's `codegraph.json` `include` patterns — first-party * source to force INTO the index even when `.gitignore` drops it (the g
src/extraction/index.ts:350
↓ 2 callers
Function
looksLikeCudaSource
Strong content markers for CUDA source in files without a CUDA extension * (headers). The dunders are execution-space specifiers that only nvcc defin
src/extraction/languages/c-cpp.ts:740
↓ 2 callers
Method
looksLikeVueStoreFile
Cheap per-file heuristic: the file carries ≥2 distinct Vue-store signals * (defineStore/createStore/Vuex, or the actions/mutations/getters/namespa
src/extraction/tree-sitter.ts:2407
↓ 2 callers
Method
looks_like_vue_store_file
(&mut self)
codegraph-kernel/src/tsjs/extractors.rs:682
↓ 2 callers
Function
m
(arr, k)
scripts/agent-eval/parse-bench-readme.mjs:70
↓ 2 callers
Method
makeExtractorContext
* Build an ExtractorContext for passing to language-specific visitNode hooks.
src/extraction/tree-sitter.ts:1465
↓ 2 callers
Function
markPass
(label: string, dt: number)
src/resolution/callback-synthesizer.ts:3708
↓ 2 callers
Function
matchByExactName
( ref: UnresolvedRef, context: ResolutionContext )
src/resolution/name-matcher.ts:382
↓ 2 callers
Function
matchByQualifiedName
( ref: UnresolvedRef, context: ResolutionContext )
src/resolution/name-matcher.ts:444
↓ 2 callers
Function
matchDottedCallChain
( ref: UnresolvedRef, context: ResolutionContext, )
src/resolution/name-matcher.ts:934
↓ 2 callers
Function
matchFunctionRef
( ref: UnresolvedRef, context: ResolutionContext )
src/resolution/name-matcher.ts:208
↓ 2 callers
Function
matchFuzzy
( ref: UnresolvedRef, context: ResolutionContext )
src/resolution/name-matcher.ts:2138
↓ 2 callers
Function
matchReference
( ref: UnresolvedRef, context: ResolutionContext )
src/resolution/name-matcher.ts:2217
↓ 2 callers
Function
matchScopedCallChain
( ref: UnresolvedRef, context: ResolutionContext, )
src/resolution/name-matcher.ts:895
↓ 2 callers
Function
match_brace
matchBrace: index of the `}` matching the `{` at `open`, or None.
codegraph-kernel/src/cfnptr.rs:471
↓ 2 callers
Method
matchesSymbol
* Check if a node matches a symbol query. * * Accepts simple names (`run`) and three flavors of qualifier: * - dotted `Session.request`
src/mcp/tools.ts:4402
↓ 2 callers
Function
matching
(re: RegExp, maxLen: number)
telemetry-worker/src/index.ts:44
↓ 2 callers
Function
matchingClose
Return the index of the bracket that closes the one at `open`, or -1.
src/resolution/frameworks/nestjs.ts:682
↓ 2 callers
Method
maybeFlush
* Fire-and-forget send of everything sendable. Never throws, never logs * above debug. Safe to call at startup of long-running commands.
src/telemetry/index.ts:268
↓ 2 callers
Function
maybeOfferBetaSignup
(deps: BetaSignupDeps = {})
src/installer/beta-signup.ts:125
↓ 2 callers
Method
maybeStartPool
* Start the worker-thread query pool once a default project is open (daemon * mode only; honors `CODEGRAPH_QUERY_POOL_SIZE`). Idempotent and best-e
src/mcp/engine.ts:80
↓ 2 callers
Function
memoPatterns
(key: string, build: () => RegExp[])
src/resolution/name-matcher.ts:1176
↓ 2 callers
Function
method
( name: string, language: Language, filePath: string, startLine = 10 )
__tests__/react-native-bridge.test.ts:39
↓ 2 callers
Function
methodAndFunctionNodes
* Stream method + function nodes lazily. The synthesizers only scan-and-filter * down to a tiny matched subset, so materializing every function/metho
src/resolution/callback-synthesizer.ts:173
↓ 2 callers
Function
methodNodes
(xml: string, file = 'FooMapper.xml')
__tests__/mybatis-extractor-robustness.test.ts:15
↓ 2 callers
Function
methodsOf
(classId: string)
src/resolution/callback-synthesizer.ts:771
↓ 2 callers
Function
minRefsForPool
()
src/resolution/resolver-pool.ts:52
↓ 2 callers
Function
mkTmp
(label: string)
__tests__/npm-shim.test.ts:38
↓ 2 callers
Function
mockFetch
(calls: FetchCall[], opts: { fail?: boolean } = {})
__tests__/telemetry.test.ts:18
↓ 2 callers
Function
modifier_positions
The `(?:(?:static|const|extern|register|volatile)\s+)*` modifier loop: greedy positions after 0..=k iterations, for the k-descending backtrack the INI
codegraph-kernel/src/cfnptr.rs:495
↓ 2 callers
Method
modifiers_child
(&self, node: Node<'t>)
codegraph-kernel/src/java.rs:399
↓ 2 callers
Function
moduleScopeOf
(file: string)
src/resolution/callback-synthesizer.ts:599
↓ 2 callers
Function
nodeRuntimeFlagsFor
(nodeVersion: string)
src/extraction/wasm-runtime-flags.ts:56
↓ 2 callers
Function
normalize
normalizeValue for the TS/JS spec: bare identifiers, plus the `this.<member>` member_expression special form (object EXACTLY `this`).
codegraph-kernel/src/tsjs/fnref.rs:118
↓ 2 callers
Function
normalizeJavaType
* Normalize a Java type node to the bare class name a chained * `foo.getThing().bar()` could be called on (the #645/#608 mechanism): * primitives/vo
src/extraction/languages/java.ts:24
↓ 2 callers
Function
normalizeProseWord
(word: string)
src/search/identifier-segments.ts:56
↓ 2 callers
Function
normalizeQuerySpelling
(query: string)
src/mcp/tools.ts:120
↓ 2 callers
Function
noticeFrom
(cache: UpdateCheckCacheFile | null, d: ResolvedDeps)
src/upgrade/update-check.ts:141
↓ 2 callers
Method
objectKeyName
Property-key text with surrounding quotes stripped (`'foo'` → `foo`).
src/extraction/tree-sitter.ts:2186
↓ 2 callers
Function
ok
(text: string)
__tests__/query-pool.test.ts:59
↓ 2 callers
Method
onClose
* Register a callback fired exactly once when the socket closes (from either * side). Used by the daemon to decrement its connected-clients refcoun
src/mcp/transport.ts:356
↓ 2 callers
Method
open
* Open an existing CodeGraph project * * @param projectRoot - Path to the project root directory * @param options - Open options * @return
src/index.ts:300
↓ 2 callers
Method
open
* Open an existing database
src/db/index.ts:98
↓ 2 callers
Function
parseArrayField
Read an array-valued field — `key: [ ... ]` — as the raw inner text.
src/resolution/frameworks/nestjs.ts:758
↓ 2 callers
Function
parseClientHelloLine
( line: string, )
src/mcp/daemon.ts:758
↓ 2 callers
Function
parseDebounceEnv
(raw: string | undefined)
src/mcp/engine.ts:328
↓ 2 callers
Function
parseFunctionMacros
* Collect function-like macros from (comment-stripped) source, joining * `\`-continuations first. Only object/positional table macros matter here, so
src/resolution/c-fnptr-synthesizer.ts:187
↓ 2 callers
Function
parseLatestTagFromLocation
(location: string | undefined)
src/upgrade/index.ts:209
↓ 2 callers
Function
parseObjcRNExports
* Parse an ObjC `.m`/`.mm` file's source for `RCT_EXPORT_MODULE` and * `RCT_EXPORT_METHOD` / `RCT_REMAP_METHOD` declarations, returning the * inferr
src/resolution/frameworks/react-native.ts:99
↓ 2 callers
Function
parseObjectMacros
* Collect object-like macros `#define NAME value` (NAME not immediately followed * by `(`). redis aliases the table's struct type this way: * `#defi
src/resolution/c-fnptr-synthesizer.ts:206
↓ 2 callers
Function
parsePollMs
(raw: string | undefined)
src/mcp/proxy.ts:572
← previous
next →
1,001–1,100 of 3,841, ranked by callers