Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Egonex-AI/Understand-Anything
/ functions
Functions
1,406 in github.com/Egonex-AI/Understand-Anything
⨍
Functions
1,406
◇
Types & classes
232
↓ 136 callers
Method
get
(path: string)
understand-anything-plugin/packages/core/src/figma/source/api-source.ts:25
↓ 70 callers
Function
findChild
(node: TreeSitterNode, type: string)
understand-anything-plugin/packages/core/src/plugins/extractors/base-extractor.ts:27
↓ 54 callers
Function
writeFileSync
(path, contents, options)
tests/benchmark/test_large_repo_benchmark.test.mjs:1771
↓ 48 callers
Function
_file_node
Build a minimal file node with the given relative path.
tests/skill/understand/test_merge_batch_graphs.py:48
↓ 35 callers
Function
findChildren
(node: TreeSitterNode, type: string)
understand-anything-plugin/packages/core/src/plugins/extractors/base-extractor.ts:36
↓ 24 callers
Function
rmSync
()
tests/benchmark/test_large_repo_benchmark.test.mjs:1453
↓ 24 callers
Function
useI18n
()
understand-anything-plugin/packages/dashboard/src/contexts/I18nContext.tsx:12
↓ 23 callers
Method
init
* Initialize the plugin by loading the WASM module and all language grammars. * Must be called (and awaited) before any synchronous methods.
understand-anything-plugin/packages/core/src/plugins/tree-sitter-plugin.ts:130
↓ 19 callers
Function
toPosix
* Normalize a project-relative path to forward slashes (POSIX). Project-scanner * always emits forward slashes; we re-normalize to keep this script
understand-anything-plugin/skills/understand/extract-import-map.mjs:101
↓ 16 callers
Method
extractCallGraph
Extract caller→callee relationships from the root AST node
understand-anything-plugin/packages/core/src/plugins/extractors/types.ts:18
↓ 16 callers
Method
extractStructure
Extract functions, classes, imports, exports from the root AST node
understand-anything-plugin/packages/core/src/plugins/extractors/types.ts:15
↓ 16 callers
Function
resolveUaDir
(projectRoot: string)
understand-anything-plugin/packages/core/src/persistence/index.ts:24
↓ 16 callers
Function
sorted
(values)
understand-anything-plugin/skills/understand/prepare-incremental.mjs:80
↓ 14 callers
Function
dirOf
* Return the directory portion of a project-relative path (no trailing slash, * '' for top-level files).
understand-anything-plugin/skills/understand/extract-import-map.mjs:186
↓ 11 callers
Method
analyzeFile
(filePath: string, content: string)
understand-anything-plugin/packages/core/src/types.ts:245
↓ 9 callers
Method
register
(plugin: AnalyzerPlugin)
understand-anything-plugin/packages/core/src/plugins/registry.ts:20
↓ 8 callers
Function
identifier
(node: Node | null | undefined)
understand-anything-plugin/packages/core/src/plugins/symbol-ast.ts:19
↓ 8 callers
Function
isExported
(node: TreeSitterNode, parentExported: boolean)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:81
↓ 8 callers
Function
pushExport
( exports: StructuralAnalysis["exports"], name: string, node: TreeSitterNode, )
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:239
↓ 8 callers
Function
walk
(current: TreeSitterNode)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:39
↓ 7 callers
Method
analyzeFileStrict
* Evidence for destructive structural comparisons. Unlike analyzeFile's * best-effort contract, an unavailable grammar or a recovered syntax error
understand-anything-plugin/packages/core/src/plugins/tree-sitter-plugin.ts:274
↓ 7 callers
Function
extractDeclarationName
* Get the name of a Scala declaration: the first direct `identifier` child * (the keyword and optional modifiers precede it, type/value parameters *
understand-anything-plugin/packages/core/src/plugins/extractors/scala-extractor.ts:61
↓ 7 callers
Function
registerAllParsers
(registry: PluginRegistry)
understand-anything-plugin/packages/core/src/plugins/parsers/index.ts:31
↓ 7 callers
Method
search
(query: string, options?: SearchOptions)
understand-anything-plugin/packages/core/src/search.ts:36
↓ 7 callers
Function
unwrap
(value, key)
understand-anything-plugin/skills/understand/finalize-incremental.mjs:82
↓ 7 callers
Function
validateGraph
(data: unknown)
understand-anything-plugin/packages/core/src/schema.ts:563
↓ 6 callers
Method
_run_merge
(self)
tests/skill/understand/test_merge_batch_graphs.py:1216
↓ 6 callers
Method
_write_batch
(self, name: str, nodes: list, edges: list)
tests/skill/understand/test_merge_batch_graphs.py:1209
↓ 6 callers
Function
compareFileSymbols
(previous, current, baseEvidence, headEvidence, sameRevision = false)
understand-anything-plugin/skills/understand/validate-incremental-symbols.mjs:200
↓ 6 callers
Method
getPluginForFile
(filePath: string)
understand-anything-plugin/packages/core/src/plugins/registry.ts:43
↓ 6 callers
Function
hasModifier
* Check if a C# declaration node has a specific modifier. * * Unlike Java (which has a single `modifiers` container), C# tree-sitter * emits multip
understand-anything-plugin/packages/core/src/plugins/extractors/csharp-extractor.ts:46
↓ 6 callers
Function
normalizeWhitespace
(text: string)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:52
↓ 6 callers
Function
renameSync
(source, destination)
tests/benchmark/test_large_repo_benchmark.test.mjs:1581
↓ 5 callers
Function
_edge
(src: str, tgt: str, etype: str)
tests/skill/understand/test_merge_subdomain_graphs.py:62
↓ 5 callers
Function
_graph
(nodes: list[dict], edges: list[dict])
tests/skill/understand/test_merge_subdomain_graphs.py:66
↓ 5 callers
Function
_node
(nid: str)
tests/skill/understand/test_merge_subdomain_graphs.py:51
↓ 5 callers
Method
analyzeFileFull
* Optional single-parse fast path returning both structure and call graph. * Plugins that parse source (e.g. tree-sitter) can implement this to avo
understand-anything-plugin/packages/core/src/types.ts:255
↓ 5 callers
Method
basename
(filePath: string)
understand-anything-plugin/packages/core/src/analyzer/graph-builder.ts:80
↓ 5 callers
Function
createIgnoreFilter
(projectRoot: string, extraPatterns: string[] = [])
understand-anything-plugin/packages/core/src/ignore-filter.ts:90
↓ 5 callers
Function
ensureDir
(projectRoot: string)
understand-anything-plugin/packages/core/src/persistence/index.ts:28
↓ 5 callers
Function
extractDeclarationName
* Get the identifier-text name of a Kotlin declaration. Works for * function_declaration / class_declaration / object_declaration / interface * — al
understand-anything-plugin/packages/core/src/plugins/extractors/kotlin-extractor.ts:40
↓ 5 callers
Function
getGraphFreshnessBatch
( projectDir: string, inputs: Record<T, GraphFreshnessInput>, )
understand-anything-plugin/packages/core/src/staleness.ts:397
↓ 5 callers
Function
hasModifier
* Check if a node has a `modifiers` child containing a specific modifier keyword.
understand-anything-plugin/packages/core/src/plugins/extractors/java-extractor.ts:49
↓ 5 callers
Function
isPublic
* Check if a node has a `visibility_modifier` child whose text starts with "pub". * Covers `pub`, `pub(crate)`, `pub(super)`, etc.
understand-anything-plugin/packages/core/src/plugins/extractors/rust-extractor.ts:51
↓ 5 callers
Method
languageKeyFromPath
(filePath: string)
understand-anything-plugin/packages/core/src/plugins/tree-sitter-plugin.ts:117
↓ 5 callers
Function
namedChildren
(node: TreeSitterNode)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:12
↓ 5 callers
Function
pushFunction
( functions: StructuralAnalysis["functions"], node: TreeSitterNode, name: string, )
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:247
↓ 5 callers
Function
run
(command, args, options = {})
understand-anything-plugin/skills/understand/prepare-incremental.mjs:138
↓ 5 callers
Function
sum
(items)
scripts/lib/large-repo-benchmark.mjs:1373
↓ 4 callers
Method
_run_merge
(self)
tests/skill/understand/test_merge_batch_graphs.py:1399
↓ 4 callers
Method
_write_batch
(self, name: str, nodes: list, edges: list)
tests/skill/understand/test_merge_batch_graphs.py:1392
↓ 4 callers
Function
applyElkLayout
( input: ElkInput, opts: ElkLayoutOptions = {}, )
understand-anything-plugin/packages/dashboard/src/utils/elk-layout.ts:225
↓ 4 callers
Function
buildPathIndex
(nodes)
understand-anything-plugin/skills/understand/finalize-incremental.mjs:95
↓ 4 callers
Function
comparePaths
(a, b)
understand-anything-plugin/skills/understand/compute-batches.mjs:281
↓ 4 callers
Function
contentHash
(content: string)
understand-anything-plugin/packages/core/src/fingerprint.ts:80
↓ 4 callers
Method
createDefault
* Create a registry pre-populated with all built-in language configs.
understand-anything-plugin/packages/core/src/languages/language-registry.ts:57
↓ 4 callers
Function
extractFileFingerprint
( filePath: string, content: string, analysis: StructuralAnalysis, )
understand-anything-plugin/packages/core/src/fingerprint.ts:89
↓ 4 callers
Method
findClosingBrace
(content: string)
understand-anything-plugin/packages/core/src/plugins/parsers/protobuf-parser.ts:127
↓ 4 callers
Function
findFirstIdentifier
(node: TreeSitterNode)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:85
↓ 4 callers
Function
fixed
(value: SymbolScope)
understand-anything-plugin/packages/core/src/plugins/symbol-scopes.ts:21
↓ 4 callers
Method
getExtractor
(langKey: string)
understand-anything-plugin/packages/core/src/plugins/tree-sitter-plugin.ts:111
↓ 4 callers
Method
getForFile
(filePath: string)
understand-anything-plugin/packages/core/src/languages/language-registry.ts:38
↓ 4 callers
Function
getLayerColor
(index: number)
understand-anything-plugin/packages/dashboard/src/components/LayerLegend.tsx:15
↓ 4 callers
Method
getParser
* Create a parser set to the appropriate language for the given file. * This is synchronous because all languages are pre-loaded during init().
understand-anything-plugin/packages/core/src/plugins/tree-sitter-plugin.ts:209
↓ 4 callers
Function
git
(cwd: string, ...args: string[])
understand-anything-plugin/packages/core/src/__tests__/graph-freshness.integration.test.ts:18
↓ 4 callers
Function
isExported
* Check if a name is exported in Go (starts with an uppercase letter).
understand-anything-plugin/packages/core/src/plugins/extractors/go-extractor.ts:66
↓ 4 callers
Function
isExported
* Whether a Scala declaration is visible to other files. * * Default visibility is public, so a declaration with no access modifier * counts as exp
understand-anything-plugin/packages/core/src/plugins/extractors/scala-extractor.ts:51
↓ 4 callers
Function
isExported
* Whether a Dart name is exported. * * Dart's visibility rule is name-based and the INVERSE of Kotlin's: names * starting with `_` are library-priv
understand-anything-plugin/packages/core/src/plugins/extractors/dart-extractor.ts:12
↓ 4 callers
Function
isExported
* Whether a Kotlin declaration is visible to other files. * * Default visibility in Kotlin is `public`, so a declaration with NO * modifier counts
understand-anything-plugin/packages/core/src/plugins/extractors/kotlin-extractor.ts:30
↓ 4 callers
Method
isIgnored
Returns true if the given relative path should be excluded from analysis.
understand-anything-plugin/packages/core/src/ignore-filter.ts:76
↓ 4 callers
Function
isRecord
(value)
scripts/lib/large-repo-benchmark.mjs:693
↓ 4 callers
Function
literal
(node: Node | null | undefined)
understand-anything-plugin/packages/core/src/plugins/symbol-ast.ts:7
↓ 4 callers
Function
lookup
(start: Scope, name: string)
understand-anything-plugin/packages/core/src/plugins/symbol-scopes.ts:69
↓ 4 callers
Function
normalizePath
(value)
understand-anything-plugin/skills/understand/validate-incremental-symbols.mjs:38
↓ 4 callers
Function
normalizeRelativePath
(value)
understand-anything-plugin/skills/understand/finalize-incremental.mjs:74
↓ 4 callers
Function
pick
(arr)
scripts/generate-large-graph.mjs:44
↓ 4 callers
Function
qualifiedName
(name)
understand-anything-plugin/skills/understand/validate-incremental-symbols.mjs:50
↓ 4 callers
Function
readFilesParallel
* Read a list of files concurrently while preserving result order. Failures * are returned in-place as `{ raw: null, err }` so callers can emit the s
understand-anything-plugin/skills/understand/extract-import-map.mjs:57
↓ 4 callers
Function
resolveDottedFqn
* Resolve a dotted-import to a file. `fqn` is the qualified name * (`com.example.Foo`); `ext` is the file extension to probe (`.java`, * `.kt`, `.cs
understand-anything-plugin/skills/understand/extract-import-map.mjs:1312
↓ 4 callers
Function
resolveRelative
* Join a directory with a relative segment, normalizing `.`/`..` segments and * returning a forward-slash POSIX path. Anchored at project root (no le
understand-anything-plugin/skills/understand/extract-import-map.mjs:165
↓ 4 callers
Function
run
(command, args, cwd)
tests/skill/understand/test_prepare_incremental.test.mjs:39
↓ 3 callers
Method
_run
(self)
tests/skill/understand/test_merge_batch_graphs.py:1556
↓ 3 callers
Method
_write_batch
(self, dir_name: str, name: str, nodes: list)
tests/skill/understand/test_merge_batch_graphs.py:1549
↓ 3 callers
Function
add
(n: GraphNode)
understand-anything-plugin/packages/core/src/figma/parse/parse-document.ts:26
↓ 3 callers
Function
add
(node: Node, scope: SymbolScope, name: string | null, reason: string, kind: SymbolEvidenceEntry["kind"] =
understand-anything-plugin/packages/core/src/plugins/symbol-evidence.ts:61
↓ 3 callers
Function
applyScreenThumbnails
( nodes: GraphNode[], images: Record<string, string>, )
understand-anything-plugin/packages/core/src/figma/thumbnails.ts:13
↓ 3 callers
Function
atomicWriteJson
(path, value)
understand-anything-plugin/skills/understand/finalize-incremental.mjs:66
↓ 3 callers
Function
boundUtf8
(text, maxBytes = STAGE_OUTPUT_MAX_BYTES)
scripts/lib/large-repo-benchmark.mjs:492
↓ 3 callers
Function
buildChatContext
( graph: KnowledgeGraph, query: string, maxNodes?: number, )
understand-anything-plugin/src/context-builder.ts:25
↓ 3 callers
Function
buildFingerprintStore
( projectDir: string, filePaths: string[], registry: PluginRegistry, gitCommitHash: string, options:
understand-anything-plugin/packages/core/src/fingerprint.ts:310
↓ 3 callers
Function
classExpression
(node: Node)
understand-anything-plugin/packages/core/src/plugins/symbol-ast.ts:37
↓ 3 callers
Function
commit
(root, message, { forcePaths = [] } = {})
tests/skill/understand/test_prepare_incremental.test.mjs:59
↓ 3 callers
Function
compareFingerprints
( oldFp: FileFingerprint, newFp: FileFingerprint, )
understand-anything-plugin/packages/core/src/fingerprint.ts:142
↓ 3 callers
Function
containerBaseName
(containerName: string)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:233
↓ 3 callers
Function
createBoundedByteCollector
(maxBytes = STAGE_OUTPUT_MAX_BYTES)
scripts/lib/large-repo-benchmark.mjs:468
↓ 3 callers
Function
declarationName
(node: Node | null | undefined)
understand-anything-plugin/packages/core/src/plugins/symbol-ast.ts:25
↓ 3 callers
Method
detectLanguage
(filePath: string)
understand-anything-plugin/packages/core/src/analyzer/graph-builder.ts:76
↓ 3 callers
Function
downloadBlob
(blob: Blob, filename: string)
understand-anything-plugin/packages/dashboard/src/components/ExportMenu.tsx:11
↓ 3 callers
Function
extractCallableName
(node: TreeSitterNode)
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts:121
↓ 3 callers
Function
extractFuncDeclName
* Extract the function/method name from a function_declarator node. * * The declarator field can be: * - `identifier` for free functions: `int baz(
understand-anything-plugin/packages/core/src/plugins/extractors/cpp-extractor.ts:39
next →
1–100 of 1,406, ranked by callers