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
↓ 1 callers
Function
extractDrupalRoutes
* Extract route nodes and handler references from a Drupal `*.routing.yml` file. * * Drupal routing YAML format: * * route.name: * path: '/
src/resolution/frameworks/drupal.ts:109
↓ 1 callers
Function
extractDrupalServices
* Service definitions from a `*.services.yml` file. Line by line, as the routes are: * ids sit at one indent under the top-level `services:`, and wha
src/resolution/frameworks/drupal.ts:343
↓ 1 callers
Function
extractExclude
* Validate the `exclude` patterns: an array of non-empty gitignore-style * strings naming paths to keep out of the index even when git-tracked (#999)
src/project-config.ts:309
↓ 1 callers
Function
extractExpoMethods
* Extract Expo Module method declarations from a Swift / Kotlin source * file. Each `Function("X") { … }` / `AsyncFunction("X") { … }` / * `Property
src/resolution/frameworks/expo-modules.ts:108
↓ 1 callers
Function
extractExtensions
* Validate the `extensions` map. Every failure mode degrades to "no overrides * from this entry" — a bad value or a typo'd language never throws.
src/project-config.ts:233
↓ 1 callers
Function
extractFabricNodes
(filePath: string, source: string)
src/resolution/frameworks/fabric.ts:295
↓ 1 callers
Method
extractField
* Extract a class field declaration (e.g. Java field_declaration, C# field_declaration). * Extracts each declarator as a 'field' kind node inside t
src/extraction/tree-sitter.ts:3394
↓ 1 callers
Method
extractFilePackage
* Find a `packageTypes` child under the root, create a `namespace` node * for it, and return its id so the caller can scope top-level * declarat
src/extraction/tree-sitter.ts:2238
↓ 1 callers
Function
extractFlaskRestful
* Flask-RESTful: `api.add_resource(ResourceClass, '/path'[, '/path2'])` * (and variants like redash's `add_org_resource`). The ResourceClass holds th
src/resolution/frameworks/python.ts:504
↓ 1 callers
Function
extractFlaskUrlRules
* Flask's imperative registration: `bp.add_url_rule('/path', 'name', * view_func=View.as_view('name'), methods=[…])`, and a project's own wrapper *
src/resolution/frameworks/python.ts:552
↓ 1 callers
Method
extractFromSource
* Extract nodes and edges from source code (without storing)
src/index.ts:2309
↓ 1 callers
Method
extractFrontmatter
* Extract the frontmatter block: the content between the opening `---` * fence (first non-blank line of the file) and the closing `---` fence. *
src/extraction/astro-extractor.ts:126
↓ 1 callers
Method
extractFunctionTag
* `<cffunction name="..." access="..." returntype="...">...</cffunction>`. * `parentClassId` decides `method` vs top-level `function`; `containerId
src/extraction/cfml-extractor.ts:347
↓ 1 callers
Function
extractGoImports
* Extract Go import mappings. An import is bound to the name written before * its path, or else to the name of the package it imports — which the pat
src/resolution/import-resolver.ts:2416
↓ 1 callers
Method
extractGoInterfaceMethods
* Extract the method specs of a Go `interface_type` body as `method` nodes * contained by the interface (e.g. `Marshal`, `Unmarshal` of a `Core`
src/extraction/tree-sitter.ts:4834
↓ 1 callers
Function
extractGoTailIdent
Extract the last identifier from an expression like `pkg.Sub.handler` or `handler`.
src/resolution/frameworks/go.ts:183
↓ 1 callers
Function
extractInclude
* Validate the `include` patterns: an array of non-empty gitignore-style strings * naming first-party source to force INTO the index despite `.gitign
src/project-config.ts:337
↓ 1 callers
Function
extractIncludeIgnored
* Validate the `includeIgnored` patterns: an array of non-empty gitignore-style * strings. A non-array value or a non-string/blank entry warns-and-sk
src/project-config.ts:260
↓ 1 callers
Method
extractIncludeTag
* `<cfinclude template="formlistshared.cfm">` (#2651) includes the template * as cfscript's `include "formlistshared.cfm";` does, so it is extracte
src/extraction/cfml-extractor.ts:587
↓ 1 callers
Method
extractInterfaceTag
* `<cfinterface extends="IBase,IOther">...</cfinterface>` (#2091). Unlike * `<cfcomponent>` (see the implicit-end-tag note on `extractComponent`) t
src/extraction/cfml-extractor.ts:298
↓ 1 callers
Function
extractJSImports
* Extract JS/TS import mappings
src/resolution/import-resolver.ts:2223
↓ 1 callers
Function
extractJavaImports
* Extract Java / Kotlin import mappings. * * Java/Kotlin imports carry the full qualified name of the imported * symbol — `import com.example.dao.c
src/resolution/import-resolver.ts:2508
↓ 1 callers
Function
extractJvmViewManagerNodes
* Java/Kotlin `@ReactProp("name")` extraction. The annotation precedes a * setter method on a class that extends `ViewManager` / * `SimpleViewManage
src/resolution/frameworks/fabric.ts:226
↓ 1 callers
Function
extractLaravelHandler
* Parse a Laravel route handler expression and return the symbol to link. * - `[Class::class, 'method']` -> `Class@method` * - `'Controller@metho
src/resolution/frameworks/laravel.ts:536
↓ 1 callers
Function
extractLegacyViewManagerNodes
* Extract legacy Paper view-manager declarations from a .m/.mm file. * Emits a `component` node named after the JS-visible name (derived from * the
src/resolution/frameworks/fabric.ts:148
↓ 1 callers
Method
extractLocalObjectOwner
* `const api = { load() {…} }` written in a function body or an IIFE: the * owner gets the node a module-scope declaration would, and its members a
src/extraction/tree-sitter.ts:3613
↓ 1 callers
Method
extractLuaTableFunctions
Extract function-valued keyed fields from a Lua table, including nested tables.
src/extraction/tree-sitter.ts:4650
↓ 1 callers
Method
extractMapper
( fileNodeId: string, namespace: string, dialect: 'mybatis' | 'ibatis', bodyStart: number,
src/extraction/mybatis-extractor.ts:170
↓ 1 callers
Function
extractNameRaw
(node: SyntaxNode, source: string, extractor: LanguageExtractor)
src/extraction/tree-sitter.ts:124
↓ 1 callers
Function
extractNames
(src: string, file = 'routes/web.php')
__tests__/laravel-route-paths.test.ts:18
↓ 1 callers
Function
extractObjcMethodName
Build ObjC selector: `greet`, `doThing:`, or `doThing:with:`.
src/extraction/languages/objc.ts:24
↓ 1 callers
Function
extractPHPImports
* Extract PHP import mappings (use statements)
src/resolution/import-resolver.ts:2540
↓ 1 callers
Method
extractPascalConst
* Extract a Pascal constant declaration
src/extraction/tree-sitter.ts:9293
↓ 1 callers
Method
extractPascalDeclType
* Extract a Pascal declType node (class, interface, enum, or type alias)
src/extraction/tree-sitter.ts:9174
↓ 1 callers
Method
extractPascalHelperTypes
* The types a helper names: the helper it descends from * (`class helper(TBaseHelper) for TFoo`), which it extends, and the type it * helps, aft
src/extraction/tree-sitter.ts:9329
↓ 1 callers
Method
extractPascalInheritance
* Extract Pascal inheritance (extends/implements) from declClass typeref children
src/extraction/tree-sitter.ts:9307
↓ 1 callers
Method
extractPascalNestedRoutine
A routine nested in another (see walkPascalRoutine), under the qualified name of the one it is nested in.
src/extraction/tree-sitter.ts:9660
↓ 1 callers
Method
extractPascalParenlessCall
* Extract a PAREN-LESS Pascal method/procedure call (`Obj.Method;`, * `TFoo.GetInstance.DoIt;`). Pascal lets a no-arg method drop its parens, so it
src/extraction/tree-sitter.ts:9920
↓ 1 callers
Method
extractPascalUses
* Extract Pascal uses clause into individual import nodes
src/extraction/tree-sitter.ts:9265
↓ 1 callers
Function
extractPatternList
* Validate a gitignore-style pattern list under `key`. A non-array value or a * non-string/blank entry warns-and-skips; never throws. Patterns are ke
src/project-config.ts:284
↓ 1 callers
Method
extractPhpTypeRefs
* Extract PHP type references from a method/function/property declaration. * Walks ONLY type positions: each parameter's type child (inside * `f
src/extraction/tree-sitter.ts:8938
↓ 1 callers
Method
extractPiniaSetupBody
Extract a Pinia setup store's actions: the body-local `const foo = () => …` * / `function foo(){}` declarations, named by the binding. (State refs
src/extraction/tree-sitter.ts:4124
↓ 1 callers
Function
extractPropNames
* Parse the NativeProps interface body and return prop names. * Each prop is `name?: Type;` or `name: Type;` on its own line. * We don't care about
src/resolution/frameworks/fabric.ts:119
↓ 1 callers
Method
extractProperty
* Extract a class property declaration (e.g. C# `public string Name { get; set; }`). * Extracts as 'property' kind node inside the owning class.
src/extraction/tree-sitter.ts:3278
↓ 1 callers
Function
extractPruneBlock
Pull the exact prune block out of the shipped install.sh (no duplication).
__tests__/install-sh-prune.test.ts:29
↓ 1 callers
Function
extractPythonImports
* Extract Python import mappings
src/resolution/import-resolver.ts:2368
↓ 1 callers
Function
extractPythonReExports
* A Python module's imports ARE its re-exports: `from .impl import foo` makes * `foo` an attribute of the module, which is exactly how a package * `
src/resolution/import-resolver.ts:2725
↓ 1 callers
Function
extractQuotedValues
(valueList: string)
src/resolution/frameworks/cargo-workspace.ts:44
↓ 1 callers
Method
extractReactComponentNode
* Emit a `component` node for an HOC-wrapped React component declaration (see * reactComponentHoc). Named by the declarator (`Button`) and located
src/extraction/tree-sitter.ts:2723
↓ 1 callers
Function
extractResolver
The resolver exactly as install.ps1 ships it.
__tests__/install-ps1-version.test.ts:29
↓ 1 callers
Method
extractRtkEndpoints
* Extract each RTK Query endpoint (`getX: build.query({...})` / `build.mutation`) * as a function node named by the endpoint key, spanning its prim
src/extraction/tree-sitter.ts:3922
↓ 1 callers
Method
extractRtkHookBindings
* RTK Query generated-hook bindings. `export const { useGetXQuery, * useUpdateYMutation } = someApi` destructures the hooks RTK generates per *
src/extraction/tree-sitter.ts:4005
↓ 1 callers
Method
extractRustImplItem
* Rust `impl Trait for Type` — creates an implements edge from Type to Trait. * For plain `impl Type { ... }` (no trait), no inheritance edge is ne
src/extraction/tree-sitter.ts:8592
↓ 1 callers
Method
extractRustMacroCalls
* The calls and variant paths in the arguments of a Rust expression macro — * `format!("{}", label())`, `assert_eq!(count(), 3)`, `vec![x; size()]`
src/extraction/tree-sitter.ts:7606
↓ 1 callers
Method
extractRustRouteMacro
* Rocket route-registration macros — `routes![a::b::handler, c::d::other]` * and `catchers![not_found]`. Tree-sitter leaves a macro body as a flat
src/extraction/tree-sitter.ts:7555
↓ 1 callers
Method
extractSchema
* Extract {% schema %}...{% endschema %} blocks
src/extraction/liquid-extractor.ts:399
↓ 1 callers
Function
extractScopedRailsRoutes
* A Rails routes file with its nesting: `namespace :admin` prefixes paths and * controllers (`/admin/zones` → `admin/zones#index`), `scope` its path
src/resolution/frameworks/ruby.ts:243
↓ 1 callers
Method
extractScriptBlocks
* Extract <script> blocks from the template portion
src/extraction/astro-extractor.ts:159
↓ 1 callers
Method
extractScriptBlocks
* Extract <script> and <script setup> blocks from the Vue source
src/extraction/vue-extractor.ts:197
↓ 1 callers
Method
extractScriptBlocks
* Extract <script> blocks from the Svelte source
src/extraction/svelte-extractor.ts:115
↓ 1 callers
Method
extractSectionReferences
* Extract {% section 'name' %} and {% sections 'group' %} references. A * section is `sections/<name>.liquid`; a section group, which a layout rend
src/extraction/liquid-extractor.ts:327
↓ 1 callers
Method
extractShopifyJsonSections
* Shopify OS 2.0 JSON template / section group. Both have a `sections` object * mapping an id → `{ "type": "<section-name>", ... }`; the `type` nam
src/extraction/liquid-extractor.ts:116
↓ 1 callers
Method
extractSnippetReferences
* Extract {% render 'snippet' %} and {% include 'snippet' %} references
src/extraction/liquid-extractor.ts:251
↓ 1 callers
Function
extractSpringConfig
* Parse a Spring config file (YAML or .properties) and emit one `constant` * node per LEAF key, with `qualifiedName` = the dotted path. Leaf keys are
src/resolution/frameworks/java.ts:351
↓ 1 callers
Function
extractSpringValueBindings
Append `@Value("${k}")` and `@ConfigurationProperties(prefix=...)` * references discovered in `safe` (comments stripped) into the caller's * `nodes`
src/resolution/frameworks/java.ts:452
↓ 1 callers
Method
extractStoreCollectionMethods
Extract the methods of a store-config object's `actions`/`mutations`/`getters` * properties. Used for the canonical Vuex MODULE shape `export defa
src/extraction/tree-sitter.ts:4087
↓ 1 callers
Method
extractTagBased
Legacy tag-based CFML: walk `<cfcomponent>`/`<cffunction>`, delegating `<cfscript>` bodies.
src/extraction/cfml-extractor.ts:149
↓ 1 callers
Method
extractTagExpressions
* Extract calls from the expressions visitTag recorded, through the same * cfscript extraction a `<cfscript>` body gets — one parse per file, not
src/extraction/cfml-extractor.ts:492
↓ 1 callers
Function
extractTailIdent
(expr: string)
src/resolution/frameworks/express.ts:24
↓ 1 callers
Method
extractTemplateCalls
* Extract function calls from Astro template expressions. * * Astro templates embed JSX-like expressions (`{formatDate(post.date)}`, * `class
src/extraction/astro-extractor.ts:248
↓ 1 callers
Method
extractTemplateCalls
* Calls written in the `<template>` (see ./vue-template-calls), each made by * the component at the line it is written on — the same `calls` refere
src/extraction/vue-extractor.ts:351
↓ 1 callers
Method
extractTemplateCalls
* Extract function calls from Svelte template expressions. * * In Svelte, many function calls happen in markup (e.g., `class={cn(...)}`), * n
src/extraction/svelte-extractor.ts:203
↓ 1 callers
Method
extractTemplateComponents
* Extract component usages from the Astro template. * * PascalCase tags like <Layout>, <PostCard /> represent component * instantiations — an
src/extraction/astro-extractor.ts:306
↓ 1 callers
Method
extractTemplateComponents
* Extract component usages from the Vue `<template>`. * * PascalCase tags (`<Modal>`, `<Button />`) and kebab-case tags * (`<my-button>`) bot
src/extraction/vue-extractor.ts:296
↓ 1 callers
Method
extractTemplateComponents
* Extract component usages from the Svelte template. * * PascalCase tags like <Modal>, <Button />, <DevServerPreview> represent * component i
src/extraction/svelte-extractor.ts:257
↓ 1 callers
Method
extractTsTupleContractNames
* Surface the string-literal "names" of a TypeScript service/contract * registry written as a tuple of generic instantiations: * * type MyS
src/extraction/tree-sitter.ts:4942
↓ 1 callers
Method
extractTsTypeAliasMembers
* Surface the members of a TypeScript `type X = { ... }` (or intersection * thereof) as `property` / `method` nodes under the type-alias node. Only
src/extraction/tree-sitter.ts:4868
↓ 1 callers
Method
extractTypeAlias
* Extract a type alias (e.g. `export type X = ...` in TypeScript). * For languages like Go, resolveTypeAliasKind detects when the type_spec * wr
src/extraction/tree-sitter.ts:4673
↓ 1 callers
Method
extractVariable
* Extract a variable declaration (const, let, var, etc.) * * Extracts top-level and module-level variable declarations. * Captures the variab
src/extraction/tree-sitter.ts:4155
↓ 1 callers
Method
extractVbMemberRead
* VB.NET: a value read or write through a receiver — `AppSession.SessionId`, * `AppSession.CurrentUser = "demo"`, `x.Normal = 3`, `Me._h.Title`, `.
src/extraction/tree-sitter.ts:7132
↓ 1 callers
Function
extractVisibility
(node: SyntaxNode)
src/extraction/languages/scala.ts:68
↓ 1 callers
Function
extractWebRoot
* Validate `webRoot`: a folder inside the project, written relative to its * root (`"public"`, `"./web/"`, `"site\\htdocs"`, `"."`). Returned with `/
src/project-config.ts:208
↓ 1 callers
Method
extract_call
extractCall — the bespoke ruby branch (tree-sitter.ts:3905-3960), reached only from the body walker.
codegraph-kernel/src/ruby.rs:816
↓ 1 callers
Method
extract_call
(&mut self, node: Node<'t>)
codegraph-kernel/src/rlang.rs:578
↓ 1 callers
Method
extract_class
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:1054
↓ 1 callers
Method
extract_class_members
extractClassMembers (r.ts:110-163): arguments in source order with a positional counter — ggproto's 2nd positional identifier and `inherit`/`contains`
codegraph-kernel/src/rlang.rs:484
↓ 1 callers
Method
extract_constructor_member
Extract a function assigned to `Ctor.prototype.m` / `Ctor.m` as method `m` of `Ctor`: contained by it and qualified under it (`Ctor::m`), as a class's
codegraph-kernel/src/tsjs/extractors.rs:237
↓ 1 callers
Method
extract_cpp_qualified_method_name
extractCppQualifiedMethodName (languages/c-cpp.ts): the name the declarator's qualified id ends in, an explicit specialization's without its template
codegraph-kernel/src/ccpp/mod.rs:785
↓ 1 callers
Method
extract_default_export_object
extractDefaultExportObject: `export default { … }`, read one of two ways; true when the statement's subtree is handled here. A Vuex module in a store
codegraph-kernel/src/tsjs/extractors.rs:1478
↓ 1 callers
Method
extract_enum
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:1087
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/kotlin.rs:1187
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/java.rs:706
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/swift.rs:952
↓ 1 callers
Method
extract_enum_members
extractEnumMembers (:1958) — one enum_member per constant, positioned at the enum_constant node; ctor arguments never walked.
codegraph-kernel/src/dart.rs:1168
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:792
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/php.rs:793
↓ 1 callers
Method
extract_enum_members
(&mut self, node: Node<'t>)
codegraph-kernel/src/tsjs/extractors.rs:607
↓ 1 callers
Method
extract_field
extractField — each declarator becomes a field/constant node. Returns the initializers walked under their fields, for the declaration scan to skip.
codegraph-kernel/src/java.rs:729
↓ 1 callers
Method
extract_field
extractField (2046) — field_declaration; each declarator becomes a field/constant node anchored at the DECLARATOR, and the declarator — its `= initial
codegraph-kernel/src/csharp.rs:866
↓ 1 callers
Method
extract_field
extractField — the php property_element branch (2077-2104): one `field` node per element, `$` re-added in the signature only, then RETURN — no decorat
codegraph-kernel/src/php.rs:805
← previous
next →
5,801–5,900 of 13,347, ranked by callers