Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
22,219 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
22,219
◇
Types & classes
1,370
↓ 1 callers
Function
py_eval_chain_push
Push a pending link. On allocation failure the caller stops collecting: * the rest of the chain is then evaluated recursively, under the depth * gua
internal/cbm/lsp/py_lsp.c:2383
↓ 1 callers
Function
py_eval_expr_type_uncached
internal/cbm/lsp/py_lsp.c:1605
↓ 1 callers
Function
py_exact_imported_reference_candidate
Return a project-pass candidate only when the import metadata itself names * one exact from-import target. Module imports and ambiguous duplicate loc
internal/cbm/lsp/py_lsp.c:1048
↓ 1 callers
Function
py_expression_is_annotation_only_assignment
internal/cbm/lsp/py_lsp.c:5240
↓ 1 callers
Function
py_extlink
internal/cbm/doclink_py.c:311
↓ 1 callers
Function
py_extract_init_fields
Every `self.x` field assignment in one __init__ body, nested blocks * included; nested functions, lambdas and classes have their own `self`. */
internal/cbm/extract_defs.c:7403
↓ 1 callers
Function
py_facts_equal
Python namespace facts: provenance is ordered, content-only and independently * owned. These tests do not enable any reexport resolution. */
tests/test_extraction.c:11714
↓ 1 callers
Function
py_facts_owned
tests/test_extraction.c:11754
↓ 1 callers
Function
py_facts_owned_string
tests/test_extraction.c:11749
↓ 1 callers
Function
py_field_type_of
--- Python --- */ #1277: annotated Python instance fields reach result->field_types (the * cross-file LSP's only source for them); nothing unannotate
tests/test_extraction.c:1456
↓ 1 callers
Function
py_from_import
One `from module import names` statement of the package's top level. */
internal/cbm/doclink_py.c:119
↓ 1 callers
Function
py_func_return_type
Convenience wrapper: no receiver substitution. */
internal/cbm/lsp/py_lsp.c:1481
↓ 1 callers
Function
py_hypot
internal/cbm/pdf/pdf_text.c:104
↓ 1 callers
Function
py_import_kind_from_ast
stmts: the root's import statements, collected once per root by the caller * (#1527) -- only they can match, and rescanning every top-level statement
internal/cbm/lsp/py_lsp.c:649
↓ 1 callers
Function
py_import_kind_from_statement
internal/cbm/lsp/py_lsp.c:636
↓ 1 callers
Function
py_import_node_root_equals
internal/cbm/lsp/py_lsp.c:496
↓ 1 callers
Function
py_import_node_text_equals
internal/cbm/lsp/py_lsp.c:448
↓ 1 callers
Function
py_import_syntax_match_add
internal/cbm/lsp/py_lsp.c:508
↓ 1 callers
Function
py_init_field_assignment
`self.x: T = v` / `self.x = p` inside __init__ (self = its first parameter). */
internal/cbm/extract_defs.c:7370
↓ 1 callers
Function
py_init_param_annotation
Annotation text of the __init__ parameter called `name`, or NULL. */
internal/cbm/extract_defs.c:7343
↓ 1 callers
Function
py_invalidate_import_bindings
internal/cbm/lsp/py_lsp.c:5004
↓ 1 callers
Function
py_invalidate_match_pattern
Match patterns mix value expressions and capture targets. Skip the class * expression in `case Type(...)` and keyword labels, while invalidating ever
internal/cbm/lsp/py_lsp.c:4970
↓ 1 callers
Function
py_invalidate_registry_module_functions
internal/cbm/lsp/py_lsp.c:4817
↓ 1 callers
Function
py_is_init_method
Return true iff func_node's name is __init__ or __post_init__. */
internal/cbm/lsp/py_lsp.c:4417
↓ 1 callers
Function
py_literal_type
Map a tree-sitter Python literal node to a BUILTIN type. Returns NULL if * the node isn't a simple literal. */
internal/cbm/lsp/py_lsp.c:1395
↓ 1 callers
Function
py_lookup_attribute_depth
internal/cbm/lsp/py_lsp.c:1193
↓ 1 callers
Function
py_lookup_dict_dispatch
internal/cbm/lsp/py_lsp.c:934
↓ 1 callers
Function
py_lookup_field_depth
Look up a field on a registered type. Walks alias / embedded chain * with the same depth cap as method lookup. Returns the field's type * or NULL if
internal/cbm/lsp/py_lsp.c:1281
↓ 1 callers
Function
py_lookup_lambda
internal/cbm/lsp/py_lsp.c:852
↓ 1 callers
Function
py_lsp_bind_imports
internal/cbm/lsp/py_lsp.c:795
↓ 1 callers
Function
py_lsp_bind_imports_for_root
internal/cbm/lsp/py_lsp.c:786
↓ 1 callers
Function
py_lsp_lookup_in_scope
internal/cbm/lsp/py_lsp.c:799
↓ 1 callers
Function
py_match_is_none
Detect `x is None` / `x is not None` / `None is x` / etc. Walks * through parens and walrus to find the underlying identifier. * Returns 1 for "x is
internal/cbm/lsp/py_lsp.c:3177
↓ 1 callers
Function
py_match_isinstance
Detect `isinstance(x, T)` / `isinstance(x, (T1, T2))` and return * (var_name, narrowed_type). Returns true on match. */
internal/cbm/lsp/py_lsp.c:3116
↓ 1 callers
Function
py_names_submodule
The real recursive-descent evaluator. Never call directly — go through * the memoizing, depth-guarded py_eval_expr_type wrapper below * (every recur
internal/cbm/lsp/py_lsp.c:1590
↓ 1 callers
Function
py_namespace_copy_string
internal/cbm/cbm.c:237
↓ 1 callers
Function
py_namespace_fact_valid
internal/cbm/cbm.c:123
↓ 1 callers
Function
py_namespace_nonempty
New facts use checked allocation and atomic publication; legacy extraction * arrays retain their existing contracts. */
internal/cbm/cbm.c:119
↓ 1 callers
Function
py_normalize_name
Python: pyproject.toml — [project] name */ Normalize Python package name: hyphens → underscores (PEP 503). */
src/pipeline/pass_pkgmap.c:405
↓ 1 callers
Function
py_ns_all_literal
internal/cbm/extract_imports.c:629
↓ 1 callers
Function
py_ns_assignment
internal/cbm/extract_imports.c:673
↓ 1 callers
Function
py_ns_class_safe
internal/cbm/extract_imports.c:519
↓ 1 callers
Function
py_ns_delete
internal/cbm/extract_imports.c:708
↓ 1 callers
Function
py_ns_import
internal/cbm/extract_imports.c:590
↓ 1 callers
Function
py_ns_import_fact
One imported name of an import statement: `import a.b [as c]` binds the root * `a` (or the alias), `from m import x [as y]` binds `x` (or the alias),
internal/cbm/extract_imports.c:556
↓ 1 callers
Function
py_ns_statement
internal/cbm/extract_imports.c:739
↓ 1 callers
Function
py_overlay_lookup_field
Per-file field overlay: look up a (class_qn, field_name) recorded during resolve * against the sealed shared registry. Linear scan — the overlay only
internal/cbm/lsp/py_lsp.c:1230
↓ 1 callers
Function
py_overlay_register_field
Record a (class_qn, field_name) -> field_type in the per-file overlay. Overwrites * an existing entry (mirrors the direct-mutation overwrite semantic
internal/cbm/lsp/py_lsp.c:1244
↓ 1 callers
Function
py_param_bind
Bind one parameter name for the lifetime of the frame currently on top. */
internal/cbm/extract_unified.c:215
↓ 1 callers
Function
py_param_grow
internal/cbm/extract_unified.c:172
↓ 1 callers
Function
py_param_stack_reserve
internal/cbm/extract_unified.c:195
↓ 1 callers
Function
py_param_unwind_to
Unwind to a frame's entry height, undoing exactly what that frame bound. */
internal/cbm/extract_unified.c:244
↓ 1 callers
Function
py_parameter_name
The identifier a Python parameter node binds. Handles the bare, typed, * defaulted, keyword-only, *args and **kwargs shapes. */
internal/cbm/extract_unified.c:268
↓ 1 callers
Function
py_process_call
internal/cbm/extract_channels.c:466
↓ 1 callers
Function
py_process_class
internal/cbm/lsp/py_lsp.c:4539
↓ 1 callers
Function
py_process_decorator
Detect Python decorator-based listeners: @sio.on("event") / @sio.event */
internal/cbm/extract_channels.c:506
↓ 1 callers
Function
py_process_statement
internal/cbm/lsp/py_lsp.c:2478
↓ 1 callers
Function
py_quoted_key
["']([\w.-]+)["'] at s[i] (extra: also '.'): its end after the closing quote, or 0. */
internal/cbm/doclink_py.c:256
↓ 1 callers
Function
py_quoted_value
["']([^"']+)["'] at s[i]: the value span, or false. */
internal/cbm/doclink_py.c:273
↓ 1 callers
Function
py_register_def
Register one definition into the registry. Returns true if recognized. */
internal/cbm/lsp/py_lsp.c:5361
↓ 1 callers
Function
py_register_dict_literal
internal/cbm/lsp/py_lsp.c:883
↓ 1 callers
Function
py_register_lambda
internal/cbm/lsp/py_lsp.c:825
↓ 1 callers
Function
py_replay_import_local
Replay one syntactic local-binding occurrence. UNKNOWN is installed first, * so missing, conflicting, or project-prefix-ambiguous metadata fails clos
internal/cbm/lsp/py_lsp.c:5175
↓ 1 callers
Function
py_replay_import_statement
internal/cbm/lsp/py_lsp.c:5215
↓ 1 callers
Function
py_replayable_import_kind
internal/cbm/lsp/py_lsp.c:5167
↓ 1 callers
Function
py_repo_url
/(blob|tree)/[^/]+/%s in the URL: a repository path pattern. */
internal/cbm/doclink_py.c:290
↓ 1 callers
Function
py_resolve_calls_in_inner
internal/cbm/lsp/py_lsp.c:3554
↓ 1 callers
Function
py_resolve_class_comprehension
A class comprehension evaluates its leftmost iterable in the class frame, * but the implicit body scope skips class locals. Nested comprehensions kee
internal/cbm/lsp/py_lsp.c:3499
↓ 1 callers
Function
py_resolve_decorators
Decorator expressions of a decorated definition, in source order. They * evaluate in the scope enclosing the definition, before it is bound. A bare
internal/cbm/lsp/py_lsp.c:4428
↓ 1 callers
Function
py_resolve_value_references_at
internal/cbm/lsp/py_lsp.c:1147
↓ 1 callers
Function
py_root_class_names
Module bindings are replayed in source order before deferred function bodies * are analyzed. Class definitions always replace an earlier callable ide
internal/cbm/lsp/py_lsp.c:4632
↓ 1 callers
Function
py_split_field_defs
Split a class def's field_defs ("name:QN|name:QN", built by the Python * field fold in pass_lsp_cross.c) into the parallel NULL-terminated arrays a
internal/cbm/lsp/py_lsp.c:5622
↓ 1 callers
Function
py_strip_none
Compute the non-None component of a UNION type. If t is Optional[X] * (= Union[X, None]), return X; otherwise return t unchanged. */
internal/cbm/lsp/py_lsp.c:3234
↓ 1 callers
Function
py_substitute_self
Substitute "Self" / "typing.Self" return types with the receiver type. * Walks the type recursively so `Optional[Self]` becomes `Optional[R]`. */
internal/cbm/lsp/py_lsp.c:1425
↓ 1 callers
Function
py_text
internal/cbm/doclink_py.c:106
↓ 1 callers
Function
py_type_cache_grow
Doubles the table (arena allocation: the old table is abandoned and * freed with the per-file arena). Entries from stale generations are * dropped d
internal/cbm/lsp/py_lsp.c:2245
↓ 1 callers
Function
py_type_cache_insert
internal/cbm/lsp/py_lsp.c:2282
↓ 1 callers
Function
py_underlying_ident
Walk through parenthesized expressions and walrus expressions to find * the underlying identifier of an `is None` operand. Returns the * identifier'
internal/cbm/lsp/py_lsp.c:3149
↓ 1 callers
Function
py_walk_if_statement
Walk if_statement: push scope for consequence body when narrowing * applies, then recurse. If the consequence terminates (return/raise), * apply the
internal/cbm/lsp/py_lsp.c:3306
↓ 1 callers
Function
py_word
internal/cbm/doclink_py.c:188
↓ 1 callers
Function
py_ws
internal/cbm/doclink_py.c:184
↓ 1 callers
Function
pylsp_class_site_unjoined
Class execution keeps the extracted caller and exact source occurrence. */
tests/test_py_lsp.c:3439
↓ 1 callers
Function
pylsp_class_sites
tests/test_py_lsp.c:3473
↓ 1 callers
Function
pylsp_import_reference_counts
tests/test_py_lsp.c:927
↓ 1 callers
Function
pylsp_init_signature
tests/test_py_lsp.c:3141
↓ 1 callers
Function
pylsp_local_type
Type of the binding of name in this frame only, or NULL when unbound. */
tests/test_py_lsp.c:3136
↓ 1 callers
Function
pylsp_long_chain_case
The full per-file extraction runs at the smallest size only: its Python * usage pass climbs every identifier's ancestors with ts_node_parent, itself
tests/test_py_lsp.c:2536
↓ 1 callers
Function
pylsp_long_chain_source
tests/test_py_lsp.c:2498
↓ 1 callers
Function
pylsp_prefix_add
tests/test_py_lsp.c:3919
↓ 1 callers
Function
pylsp_prefix_oracles
tests/test_py_lsp.c:3927
↓ 1 callers
Function
pylsp_prefix_site_unresolved
A negative must have one real extracted source occurrence and no accepted * resolution; a missing carrier cannot make it pass. */
tests/test_py_lsp.c:4186
↓ 1 callers
Function
pylsp_range_add_type
Module-range queries must return the old array sequence, including duplicates. */
tests/test_py_lsp.c:4303
↓ 1 callers
Function
pylsp_range_member
tests/test_py_lsp.c:4309
↓ 1 callers
Function
pylsp_range_oracle
No fixed result buffer and no call to the implementation's member predicate. */
tests/test_py_lsp.c:4317
↓ 1 callers
Function
pylsp_range_reset_failures
tests/test_py_lsp.c:4337
↓ 1 callers
Function
pythonFacts
(lines: readonly string[], name?: string)
graph-ui/src/browser-ai/code-facts.ts:77
↓ 1 callers
Function
python_callee_is_bound_parameter
Name bound by one Python parameter node, or NULL when the shape binds none. * Covers every binding form a `parameters` / `lambda_parameters` list pro
internal/cbm/extract_calls.c:3809
↓ 1 callers
Function
python_class_body_pipeline_case
Distinct targets keep each newly walked class/decorator site observable * even though the stored graph aggregates calls by caller/target pair. */
tests/test_pipeline.c:12878
↓ 1 callers
Function
python_default_value_reference
internal/cbm/extract_usages.c:1792
↓ 1 callers
Function
python_directive_for
internal/cbm/extract_usages.c:1968
← previous
next →
16,501–16,600 of 22,219, ranked by callers