MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions12,468 in github.com/colbymchenry/codegraph

↓ 1 callersFunctionfreshGraph
The graph of a fresh index of `files`, in a folder of its own.
__tests__/sync-jsx-import-forwarding.test.ts:91
↓ 1 callersFunctionfreshGraph
The graph of a fresh index of `files`, in a folder of its own.
__tests__/sync-lazy-route-value.test.ts:121
↓ 1 callersFunctionfreshNavigations
The same files, indexed from scratch in a folder of their own.
__tests__/sync-navigation-retry.test.ts:468
↓ 1 callersFunctionfreshRouteLinks
The route links of a fresh index of `files`, in a folder of its own: indexing again over an index skips its unchanged files.
__tests__/sync-route-module-retry.test.ts:247
↓ 1 callersFunctionfrom
(r: ExtractionResult, name: string)
__tests__/sfc-component-owns-script.test.ts:21
↓ 1 callersFunctionfromQuery
(encoded: string)
__tests__/ui-server.test.ts:497
↓ 1 callersFunctionfromRoute
(name: string, kind: string)
__tests__/express-inline-function-handler.test.ts:85
↓ 1 callersFunctionfromTestCode
(id: string)
src/resolution/callback-synthesizer.ts:5699
↓ 1 callersFunctionfront
(name: string)
__tests__/tauri-ipc.test.ts:673
↓ 1 callersFunctionfullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-typed-local-member-retry.test.ts:117
↓ 1 callersFunctionfullIndexOf
The final tree, indexed from scratch in a folder of its own.
__tests__/vue-module-imports.test.ts:149
↓ 1 callersFunctionfullIndexOf
(files: Files)
__tests__/ambient-module-imports.test.ts:993
↓ 1 callersFunctionfullIndexOf
The tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-module-importers.test.ts:125
↓ 1 callersFunctionfullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-import-member-retry.test.ts:138
↓ 1 callersFunctionfullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-import-binding-retry.test.ts:153
↓ 1 callersFunctionfullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-python-import-binding-retry.test.ts:211
↓ 1 callersFunctionfullIndexOf
(files: Files)
__tests__/sync-barrel-renamed-reexport.test.ts:105
↓ 1 callersFunctionfullIndexWithDb
What a full index of C_BEFORE holds under a compile database naming `dir`, which names the folder it's in.
__tests__/sync-module-config-change.test.ts:130
↓ 1 callersFunctionfuncFieldCalls
The go-func-field edges out of a function, as `target @registeredAt [field via]`.
__tests__/go-func-field-dispatch.test.ts:300
↓ 1 callersFunctionfunctionBody
* Where the function written at `at` keeps its body: a block, from its `{` to * its `}`, or an arrow's expression, at `start`. Null for no function.
src/resolution/frameworks/react.ts:2242
↓ 1 callersFunctionfunctionBodyEnd
(text: string, fnAt: number)
src/resolution/frameworks/express.ts:461
↓ 1 callersFunctionfunctionNames
(file: string, code: string)
__tests__/extraction.test.ts:950
↓ 1 callersFunctionfunctions
(result: ExtractionResult)
__tests__/ambient-module-imports.test.ts:215
↓ 1 callersFunctionfunctionsAround
The functions among `parents` whose lines hold `fn`'s, innermost first.
src/resolution/callback-synthesizer.ts:2337
↓ 1 callersFunctiong
A guard, with the fields the fold reads: which decision, which arm, how the arm leaves.
__tests__/ui-steps-program.test.ts:20
↓ 1 callersFunctiongapClass
The class for the non-identifier remainder of a run.
src/ui-server/highlight/index.ts:348
↓ 1 callersFunctiongate
(outcome: string)
src/bin/codegraph.ts:1675
↓ 1 callersFunctiongateDartLocal
(resolved: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/dart-local-scope.ts:54
↓ 1 callersFunctiongatePascalCall
(result: ResolvedRef, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/pascal-scope.ts:190
↓ 1 callersFunctiongatePascalDataCall
See gatePascalCall: a call resolved to data.
src/resolution/pascal-scope.ts:199
↓ 1 callersFunctiongatePascalNestedTarget
* A Pascal call another strategy resolved to a routine nested in some other * routine, which nothing outside that routine can call: a bare name is th
src/resolution/pascal-scope.ts:470
↓ 1 callersMethodgateRustScope
* A bare Rust name reaches only what is in scope — every strategy's result, * a framework resolver's `Ok(x)` → `struct Ok` construction included (s
src/resolution/index.ts:4455
↓ 1 callersMethodgateSuperSelfCall
* `super.didMoveToWindow()` inside an override of `didMoveToWindow` calls * the PARENT's implementation, never the method making the call. Extracti
src/resolution/index.ts:4431
↓ 1 callersFunctiongateSwiftTypeTarget
(result: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/swift-type-visibility.ts:327
↓ 1 callersMethodgateTargetKind
* Drop a resolution whose target cannot be what the reference names. * Applied at the `resolveOne` seam so it covers every strategy uniformly —
src/resolution/index.ts:4335
↓ 1 callersFunctiongateTypeParameter
(resolved: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/type-parameters.ts:50
↓ 1 callersFunctiongce
(options: string)
__tests__/go-func-field-dispatch.test.ts:399
↓ 1 callersMethodgenerateSummary
* Generate a summary of the context
src/context/index.ts:1541
↓ 1 callersFunctiongenerateSyntheticProject
* Generate a synthetic TypeScript project with the given module count. * Each module exports a function that calls the previous module's * function
__tests__/integration/full-pipeline.test.ts:40
↓ 1 callersFunctiongeneratedShare
()
__tests__/explore-allocation-1500.test.ts:204
↓ 1 callersFunctiongeneric_angle_re
()
codegraph-kernel/src/go.rs:41
↓ 1 callersFunctiongeneric_angle_re
JS `/<[^>]*>/g` — the non-nested generic strip (breaks on nested generics by design: `Result<Vec<Foo>, E>` → `Result, E>` → returnType undefined).
codegraph-kernel/src/rustlang.rs:63
↓ 1 callersFunctiongeneric_args_re
()
codegraph-kernel/src/java.rs:67
↓ 1 callersFunctiongeneric_args_re
getReturnType's generics strip (`/<[^>]*>/g`) — non-nesting (rust-class quirk).
codegraph-kernel/src/swift.rs:90
↓ 1 callersFunctiongeneric_args_re
extractCsharpReturnType's generics strip (`/<[^>]*>/g`) — deliberately non-nesting: `Task<List<Foo>>` → `Task>` → the ident test fails → returnType un
codegraph-kernel/src/csharp.rs:68
↓ 1 callersFunctionget
(n)
scripts/agent-eval/offload-eval-metrics.mjs:74
↓ 1 callersFunctionget
GET a path from a running viewer, with a valid loopback Host.
__tests__/cli-ui-command.test.ts:51
↓ 1 callersFunctionget
(key)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:30
↓ 1 callersMethodgetAllFiles
* Get all tracked files
src/db/queries.ts:4275
↓ 1 callersMethodgetAmbientDeclarationPathsAmong
* Which of `filePaths` are AMBIENT DECLARATION files — they declare nothing * but types, and nothing in the index depends on them (CG-28). A hand-w
src/db/queries.ts:4157
↓ 1 callersMethodgetAmbiguousReferencedNames
* Which of `names` are carried by MORE THAN ONE symbol, at least one of which * something points at. * * The false positive this exists to ki
src/db/queries.ts:3095
↓ 1 callersMethodgetAncestors
* Get ancestors of a node in the containment hierarchy * * @param nodeId - ID of the node * @returns Array of ancestor nodes from immediate p
src/index.ts:3178
↓ 1 callersFunctiongetArrayValue
(section: string, key: string)
src/resolution/frameworks/cargo-workspace.ts:87
↓ 1 callersFunctiongetBlockBody
Find the `body` child of a block (it's after the labels and block_start).
src/extraction/languages/terraform.ts:73
↓ 1 callersMethodgetCallSites
* Direct callers or callees of a function/method, each with every site that * joins them, the symbol itself included when it calls itself * *
src/index.ts:3139
↓ 1 callersFunctiongetCalleeName
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:10
↓ 1 callersMethodgetCalleesRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:376
↓ 1 callersMethodgetCallersRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:318
↓ 1 callersMethodgetCargoCrates
* The crates of the project's Cargo workspace, each spelling of a name → * its member's directory. Optional so minimal contexts compile; they read
src/resolution/types.ts:303
↓ 1 callersMethodgetChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/index.ts:3188
↓ 1 callersMethodgetCobolFilesByStem
(member: string)
src/graph/cobol-copybooks.ts:35
↓ 1 callersMethodgetCobolIncludesByMember
(member: string, limit: number)
src/graph/cobol-copybooks.ts:34
↓ 1 callersFunctiongetCode
(file: string, expected = 200)
__tests__/ui-filecode-api.test.ts:63
↓ 1 callersMethodgetCode
* 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/context/index.ts:1410
↓ 1 callersFunctiongetCodeGraphPermissions
()
src/installer/targets/shared.ts:71
↓ 1 callersMethodgetCoveredRanges
* Line ranges (0-indexed, inclusive) the template scans must skip: * the frontmatter block and <script>/<style> blocks.
src/extraction/astro-extractor.ts:221
↓ 1 callersMethodgetCppIncludeDirs
* C/C++ include search directories (relative to project root), * extracted from compile_commands.json or discovered by heuristic. * Used by reso
src/resolution/types.ts:297
↓ 1 callersMethodgetCppIncludeEdges
The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names.
src/db/queries.ts:4463
↓ 1 callersMethodgetCrossFileDependencyPairs
* Every ordered pair of files where one reaches into the other, once each. * * `contains` is excluded (a file "contains" its own symbols, which
src/db/queries.ts:3478
↓ 1 callersFunctiongetCurriedParamsAndBody
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:89
↓ 1 callersMethodgetDaemonSocket
Probe (replacing a daemon of an older release, #2335) → spawn → retry → * hello-verify; resolves a connected daemon socket, or null when the daemo
src/mcp/proxy.ts:238
↓ 1 callersFunctiongetDeadCode
(query = '')
__tests__/dead-code.test.ts:80
↓ 1 callersMethodgetDependencyFilePaths
* Distinct file paths that `filePath` DEPENDS ON — the inverse of * {@link getDependentFilePaths}: every file containing a symbol that a * symbo
src/db/queries.ts:3668
↓ 1 callersMethodgetDependentFilePaths
* Distinct file paths that DEPEND ON `filePath`: every file containing a * symbol with a cross-file edge (any kind except `contains`) into a symbol
src/db/queries.ts:3650
↓ 1 callersMethodgetDetectedFrameworkNames
The frameworks extraction last detected, or null before any detection.
src/extraction/index.ts:2442
↓ 1 callersFunctiongetDirectCalleeName
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:24
↓ 1 callersMethodgetDistinctNodeNames
One page of distinct segmentable node names, for batched vocab rebuilds * (file basenames and import specifiers are excluded from the vocab — see
src/db/queries.ts:1086
↓ 1 callersMethodgetEdgesWithTypeFrom
* Resolution edges whose answer was read from other files * (`metadata.typeFrom` — python attribute types, see * `resurrectTypeDependentEdges`),
src/db/queries.ts:5575
↓ 1 callersMethodgetEntryPoints
* Get entry points from a subgraph (the root nodes)
src/context/index.ts:1455
↓ 1 callersMethodgetExistingNodeIds
(ids: readonly string[])
src/db/queries.ts:1247
↓ 1 callersMethodgetExploreMissDiagnostics
Bounded miss diagnostics, independent of relevance filters and ranking.
src/db/queries.ts:2153
↓ 1 callersMethodgetExploreSessionState
* This session's explore call history (CG-17). Exposed so tests can assert * that two sessions on one daemon keep separate state; nothing in the se
src/mcp/session.ts:203
↓ 1 callersMethodgetExportedNodesByFile
The exported nodes of a file, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1308
↓ 1 callersMethodgetExportedNodesInFile
`getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file.
src/resolution/types.ts:101
↓ 1 callersMethodgetFailedFolderImports
* Failed imports of the folder the importing file is in or under (`.`, * `..`, `../..`). Their tail is empty, since they name a folder only * th
src/db/queries.ts:5110
↓ 1 callersMethodgetFailedModuleKeys
* The keys failed references wait for a module under (`module:pages`), each * once. Reads only the failed rows parked under such keys: a range of
src/db/queries.ts:5187
↓ 1 callersMethodgetFailedPythonAttrRefKeys
* The failed python attribute-chain refs — one attribute hop * (`self.client.send`) or a call receiver (`make().send`) — in `filePaths`, * as ju
src/db/queries.ts:5639
↓ 1 callersMethodgetFailedScopedImports
* The scoped package specifiers (`@excalidraw/common`) of failed imports, * each with one file that wrote it — what a `tsconfig` path or a workspac
src/db/queries.ts:5092
↓ 1 callersMethodgetFileDependencies
* Get dependencies of a file * * Returns all files that this file imports from. * * @param filePath - Path to the file * @returns Array
src/graph/queries.ts:119
↓ 1 callersMethodgetFileNodes
* The `file` nodes for the given paths, in one query. * * A file's own node is what makes a file row navigable, and looking it up * with {@li
src/db/queries.ts:3333
↓ 1 callersMethodgetFileNodesByNamePrefix
File nodes whose basename starts with `prefix`, without a result cap.
src/db/queries.ts:1771
↓ 1 callersMethodgetFilePathsByLanguage
The indexed files of a language.
src/db/parameter-flow-queries.ts:113
↓ 1 callersMethodgetFileReachCounts
* How far each of the given files reaches OUT: distinct other files its * symbols touch, and how many references that is. * * The mirror of {
src/db/queries.ts:3304
↓ 1 callersMethodgetFilesIndexedSince
* Files re-indexed strictly after `since` (ms since epoch), newest first. * * `total` is the real count; `paths` is capped at `limit`. Used by t
src/db/queries.ts:4332
↓ 1 callersMethodgetFilesWithEdgesInto
The files with a resolution edge into one of `targetIds`.
src/db/queries.ts:3986
↓ 1 callersMethodgetFilesWithoutNodesOrWithErrors
* Files stored with no nodes or with recorded extraction errors — the only * rows that can be missing their symbols (`CodeGraph.getIndexHealth`). A
src/db/queries.ts:4288
↓ 1 callersFunctiongetFirstApplyArgument
Innermost argument of a curried apply chain: `f a b` → `a`.
src/extraction/languages/nix.ts:141
↓ 1 callersFunctiongetFlow
(query: string, expected = 200)
__tests__/ui-flow-api.test.ts:71
↓ 1 callersMethodgetFlowCallSites
* What an earlier pass did and left in the index: its edges, and the failed * rows of the guesses it ruled out. Nothing until a pass has written on
src/db/parameter-flow-queries.ts:213
↓ 1 callersFunctiongetFrameworkResolver
(name: string)
src/resolution/frameworks/index.ts:117
← previousnext →5,801–5,900 of 12,468, ranked by callers