MCPcopy Create free account

hub / github.com/Hessesian/kmp-lsp / functions

Functions3,021 in github.com/Hessesian/kmp-lsp

↓ 1 callersMethodprewarm_completion_cache
Spawn background tasks to pre-warm the completion cache for all types declared in `uri` as constructor parameters or properties. This runs after `ind
src/indexer/apply.rs:1061
↓ 1 callersFunctionprimary_ctor_class_params
Locate the `primary_constructor` node for `cls` and return each `class_parameter` child's text with `val`/`var` stripped.
src/parser.rs:465
↓ 1 callersFunctionprint_node
(node: tree_sitter::Node<'_>, source: &[u8], depth: usize)
src/cli/tokens.rs:270
↓ 1 callersFunctionprint_token_rows
(rows: &[TokenRow], json: bool)
src/cli/tokens.rs:231
↓ 1 callersFunctionprobe_source_set_roots
Returns every `src/<set>/kotlin` and `src/<set>/java` directory under `module_dir`. Discovery is structural: any child of `src/` that has a `kotlin/`
src/workspace_json.rs:220
↓ 1 callersMethodpush_field_declaration
(&mut self, node: &Node, bytes: &[u8])
src/parser.rs:2362
↓ 1 callersFunctionpush_java_annotation_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:172
↓ 1 callersFunctionpush_java_class_like_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:50
↓ 1 callersFunctionpush_java_enum_member_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:143
↓ 1 callersFunctionpush_java_enum_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:80
↓ 1 callersFunctionpush_java_field_tokens
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:100
↓ 1 callersMethodpush_java_import
(&mut self, node: &Node, bytes: &[u8])
src/parser.rs:2405
↓ 1 callersFunctionpush_java_import_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:178
↓ 1 callersFunctionpush_java_interface_like_token
( node: Node<'_>, kind: &str, src: &Source<'_>, out: &mut Vec<RawToken>, )
src/semantic_tokens/java.rs:63
↓ 1 callersFunctionpush_java_method_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:87
↓ 1 callersFunctionpush_java_parameter_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:130
↓ 1 callersFunctionpush_java_type_parameter_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:157
↓ 1 callersFunctionqualifier_hints_owner
Naming-convention heuristic: returns `false` when the dot-qualifier before `name_byte_col` in `content` is a non-empty identifier that does NOT contai
src/rg.rs:1234
↓ 1 callersFunctionqueue_reindex_request
(indexer: &Indexer, root: &Path, max: usize)
src/indexer/scan.rs:265
↓ 1 callersFunctionrange_contains
(range: &Range, position: &Position)
src/semantic_tokens/resolve.rs:581
↓ 1 callersFunctionrange_tokens
( indexer: &Indexer, uri: &Url, doc: &LiveDoc, language: Language, range: &Range, )
src/semantic_tokens/mod.rs:255
↓ 1 callersFunctionrange_within
(inner: &Range, outer: &Range)
src/semantic_tokens/resolve.rs:409
↓ 1 callersFunctionread_line
Read line `line` (1-based) from `file` using a buffered reader — stops at the target line without loading the whole file. Returns `Err` on I/O error o
src/cli/run.rs:111
↓ 1 callersMethodready_or_none
(&self, f: F)
src/workspace/phase.rs:89
↓ 1 callersMethodrebuild_importable_fqns
Build importable_fqns: `simple_name → [FQN, …]` from real top-level symbols. Uses `files + package` rather than the `qualified` map to avoid synthetic
src/indexer/apply.rs:993
↓ 1 callersFunctionreceiver_aware_params_from_text
Text-based receiver-aware params lookup for `inline_lambda_param_type`. Given `before_open = " depositAccountReducerFactory.create"` and `fn_name =
src/indexer/infer/receiver.rs:419
↓ 1 callersFunctionreceiver_dot_lambda_type
(callee: &str, deps: &impl InferDeps, uri: &Url)
src/indexer/infer/receiver.rs:76
↓ 1 callersFunctionreceiver_outer_field
(receiver_expr: &str)
src/indexer/infer/receiver.rs:129
↓ 1 callersFunctionreceiver_var_lambda_type
( receiver_var: &str, receiver_expr: &str, method: &str, deps: &impl InferDeps, uri: &Url,
src/indexer/infer/receiver.rs:89
↓ 1 callersMethodrecurse
(&mut self, class_name: &str, class_uri: &str, depth: usize)
src/resolver/hierarchy.rs:49
↓ 1 callersFunctionreference_candidate_files
(current_uri: &Url, reference_locations: &[Location])
src/features/rename.rs:371
↓ 1 callersFunctionreference_location
( uri: &Url, name: &str, line_number: u32, line: &str, offset: usize, )
src/features/references.rs:409
↓ 1 callersFunctionreference_matches_parent_class
( index: &impl SymbolIndex, location: &Location, parent_class: Option<&str>, )
src/features/references.rs:245
↓ 1 callersMethodreferences_impl
( &self, params: ReferenceParams, )
src/backend/handlers.rs:23
↓ 1 callersFunctionrefs_dir
Resolves the "refs root" directory for a given git dir. In worktrees, the per-worktree git dir (`.git/worktrees/<name>/`) has a `commondir` file poin
src/backend/git_watcher.rs:43
↓ 1 callersFunctionregex_replace_kdoc_links
Replace KDoc `[SymbolName]` (not followed by `(`) with `` `SymbolName` ``.
src/indexer/doc.rs:352
↓ 1 callersFunctionregular_symbol_hover
( workspace: &W, ctx: &CursorContext, uri: &Url, position: Position, )
src/features/hover.rs:97
↓ 1 callersMethodremove_indexed_file
(&self, uri: &Url)
src/indexer.rs:824
↓ 1 callersFunctionremove_stale_version_files
Delete sibling `sources-jar-*.bin` files that are not the current cache file. In-flight temp files (`.tmp.<pid>` extension) are not matched.
src/indexer/sources_jar_cache.rs:191
↓ 1 callersFunctionrename_impl
( indexer: &Arc<Indexer>, uri: &Url, pos: Position, new_name: &str, )
src/features/rename.rs:444
↓ 1 callersMethodrename_impl
(&self, params: RenameParams)
src/backend/rename.rs:23
↓ 1 callersFunctionrename_lines_for_file
(indexer: &Indexer, file_uri: &Url)
src/features/rename.rs:386
↓ 1 callersFunctionrename_local_symbol
( indexer: &Indexer, uri: &Url, pos: Position, name: &str, new_name: &str, )
src/features/rename.rs:288
↓ 1 callersFunctionrenderAsFunctionType
* Render a FunctionN type as idiomatic Kotlin lambda syntax. * * Examples: * - `Function1<String, Unit>` → `(String) -> Unit` * - `Fun
java-sidecar/src/main/kotlin/io/github/hessesian/jarindexer/KotlinClassIndexer.kt:165
↓ 1 callersFunctionrender_block_doc
Strip `/** … */` markers and leading `*` from each line, then format tags.
src/indexer/doc.rs:132
↓ 1 callersFunctionrender_doc_markdown
(parsed: &ParsedDocTags)
src/indexer/doc.rs:232
↓ 1 callersMethodrepublish_open_file_diagnostics
Re-publish diagnostics for every currently-open file. Called by the actor's `on_became_ready` after the workspace scan completes so that files opened
src/workspace/document_handler.rs:222
↓ 1 callersMethodreschedule_debounced_reindex
(&mut self, uri: Url, text: String)
src/workspace/file_change_handler.rs:85
↓ 1 callersFunctionresolveCliScript
* Resolve the path to kotlin-cli.py. * Priority: KOTLIN_CLI_PATH env var > ~/.config/kmp-lsp/cli-script file * Returns the path string, or throws an
contrib/copilot-extension/extension.mjs:95
↓ 1 callersFunctionresolve_chain_receiver_type
Resolve the concrete type of the receiver expression in a method chain. Given `before_open` = `" buildingSavingsReducer.reduce(event.events) { ... }
src/indexer/infer/type_subst.rs:232
↓ 1 callersFunctionresolve_col
Resolve a 1-based UTF-16 column for `complete`, applying `--dot` / `--eol` when an explicit col is absent or when the flags are set. - `--dot` (`dot=
src/cli/run.rs:89
↓ 1 callersFunctionresolve_completion_item
Enrich a completion item with signature + doc comment on `completionItem/resolve`. Reads `uri`, `line`, `col`, and optionally `calling_uri` from the
src/features/completion.rs:70
↓ 1 callersFunctionresolve_cursor_symbol
( indexer: &Indexer, uri: &Url, pos: Position, )
src/features/rename.rs:250
↓ 1 callersFunctionresolve_dot_receiver_file
( indexer: &Indexer, outer_type: &str, from_uri: &Url, )
src/resolver/complete.rs:793
↓ 1 callersFunctionresolve_dotted_text_type
Resolve the type of a dotted text expression like `settings.familyCreationDate`.
src/indexer/infer/chain.rs:466
↓ 1 callersFunctionresolve_expr_type_raw
Resolve a simple variable or `var.field` expression to its raw type string, preserving generic parameters and applying type parameter substitution alo
src/indexer/infer/receiver.rs:213
↓ 1 callersFunctionresolve_extension_in_scope
Look up an extension function by receiver base name, filtering by scope (same package or explicitly imported in the caller's file). Checks `extension
src/resolver/resolve.rs:442
↓ 1 callersFunctionresolve_git_dir
Resolves the actual git directory from a workspace root. Handles both regular repos (`.git/` is a directory) and worktrees/submodules where `.git` is
src/backend/git_watcher.rs:16
↓ 1 callersFunctionresolve_labeled_receiver
(scope: &'a ScopeContext, expr: &str)
src/features/completion_context.rs:186
↓ 1 callersFunctionresolve_lambda_params
( doc: &LiveDoc, src: &Source<'_>, indexer: &Indexer, uri: &Url, )
src/semantic_tokens/resolve.rs:179
↓ 1 callersFunctionresolve_member_access
( doc: &LiveDoc, src: &Source<'_>, indexer: &Indexer, uri: &Url, )
src/semantic_tokens/resolve.rs:136
↓ 1 callersFunctionresolve_named_lambda_param_type
( index: &Indexer, recv: &str, before: &str, position: Position, uri: &Url, )
src/features/completion.rs:314
↓ 1 callersFunctionresolve_qualified
Resolve the signature for a qualified call `qualifier.name(...)`. Uses the receiver type to find the correct function definition: - Infers the declar
src/indexer/infer/sig.rs:780
↓ 1 callersMethodresolve_receiver
Resolve a receiver expression to a type string for dot-completion. Handles: - `"it"` → innermost lambda scope where `it_type.is_some()` - `"this"` →
src/features/completion_context.rs:153
↓ 1 callersFunctionresolve_receiver_type
Resolve the call-site receiver type from a call expression's callee. Returns `None` when the chain can't resolve to a real type (e.g. the receiver is
src/indexer/infer/cst_lambda.rs:520
↓ 1 callersFunctionresolve_segments_type
Resolve a chain of segments to a type (without returning method name). Used when we need just the final type after processing all segments.
src/indexer/infer/chain.rs:445
↓ 1 callersFunctionresolve_source_paths
Resolve raw source-path strings against `workspace_root` at call time. Relative paths are joined to `workspace_root`; absolute paths are kept as-is.
src/indexer/apply.rs:86
↓ 1 callersFunctionresolve_subject_type_from_cst
Resolve the when subject's type from the CST by searching: 1. Sibling property_declarations in the same statements block (local vals) 2. Enclosing fun
src/features/fill_when.rs:295
↓ 1 callersMethodresolve_symbol_via_import
(&self, uri: &Url, name: &str)
src/features/traits_impl.rs:95
↓ 1 callersFunctionresolve_type_index_only
Index-only type resolver for the diagnostics hot path. Same resolution chain as `resolve_symbol_no_rg` but: - Skips the `fd_find_and_parse` fallback
src/resolver/resolve.rs:296
↓ 1 callersFunctionresolve_type_members
Resolve whether the type is an enum, sealed class, or Boolean, and return its members.
src/features/fill_when.rs:482
↓ 1 callersFunctionresolve_type_members_inner
( indexer: &Indexer, from_uri: &Url, type_name: &str, existing_branches: &[String], sealed
src/features/fill_when.rs:502
↓ 1 callersFunctionresolve_unqualified
Resolve the signature for an unqualified call `name(…)`. Priority: 1. Current file (same-file definitions are exact — no import filtering needed). 2.
src/indexer/infer/sig.rs:843
↓ 1 callersFunctionresolve_via_imports_index_only
Import resolution without subprocess fallback (no `fd_find_and_parse`). Uses only the in-memory qualified index and definitions index.
src/resolver/resolve.rs:361
↓ 1 callersFunctionresolve_with_receiver_fallback
Resolve a symbol name with receiver-type fallback. Tries the fully-qualified receiver name first; on miss, falls back to the leaf type name (e.g. `Da
src/features/hover.rs:161
↓ 1 callersMethodrestore_library_chunk
Flush one library cache chunk into the index. Called in a loop from `index_source_paths`; the chunk HashMap is consumed and dropped after each call s
src/indexer/apply.rs:767
↓ 1 callersFunctionrfind_balanced
Find the matching opening delimiter scanning right-to-left.
src/indexer/infer/type_subst.rs:304
↓ 1 callersMethodrg_context
(&self)
src/features/traits_impl.rs:115
↓ 1 callersFunctionrg_find_implementors
Quick heuristic rg-based implementor finder. Scans files that mention `name` and returns locations where the line looks like a declaration/implementat
src/rg.rs:1433
↓ 1 callersFunctionrg_find_method_overrides
Find `override fun method_name` locations across files that mention `declaring_class`. Cold-start fallback for [`find_method_implementations`] when i
src/rg.rs:1481
↓ 1 callersFunctionrg_in_package_dir
`rg` scoped to the directory that would contain `package` sources. Package `com.example.ui` → globs `**/com/example/ui/*.{kt,java,swift}`. This handl
src/resolver/resolve.rs:894
↓ 1 callersFunctionrg_locations
( search: &ReferenceSearch, index: &(impl SymbolIndex + SearchAccess + Send + Sync), )
src/features/references.rs:261
↓ 1 callersFunctionrg_pattern_in_files
Run a raw regex `pattern` (no `--word-regexp`) restricted to specific files. Used for the qualified pass (`\bParent\.Name\b`) where `--word-regexp` c
src/rg.rs:1624
↓ 1 callersFunctionrg_symbol_information
(name: String, location: Location)
src/features/workspace_symbols.rs:197
↓ 1 callersFunctionrg_symbol_search
( query: &WorkspaceSymbolQuery, index: &impl SearchAccess, )
src/features/workspace_symbols.rs:81
↓ 1 callersFunctionrg_word_search
Plain word-boundary search for all occurrences of `name` under `root`. Used by the CLI `refs --fast` subcommand. Less precise than `rg_find_referenc
src/rg.rs:1641
↓ 1 callersFunctionrun
(args: CliArgs)
src/cli/run.rs:350
↓ 1 callersFunctionrun_check
(files: &[PathBuf], json: bool)
src/cli/check.rs:15
↓ 1 callersFunctionrun_complete
( root: &Path, json: bool, verbose: bool, file: &Path, line: u32, col: u32, no_std
src/cli/run.rs:557
↓ 1 callersFunctionrun_completions
Full completion pipeline. Called by `Indexer::completions` (inherent method).
src/features/completion.rs:117
↓ 1 callersFunctionrun_diagnose
(root: &Path, file: &Path, _verbose: bool)
src/cli/run.rs:659
↓ 1 callersFunctionrun_extract_sources
(opts: ExtractOptions)
src/cli/extract_sources.rs:183
↓ 1 callersFunctionrun_find
(root: &Path, mode: Mode, json: bool, verbose: bool, name: &str)
src/cli/run.rs:456
↓ 1 callersFunctionrun_hover
( root: &Path, mode: Mode, json: bool, verbose: bool, file: &Path, line: u32, col:
src/cli/run.rs:528
↓ 1 callersFunctionrun_index
(root: &Path, verbose: bool)
src/cli/run.rs:442
↓ 1 callersFunctionrun_parse_phase
( idx: Arc<Indexer>, need_parse: Vec<PathBuf>, session: &ScanSession<'_>, reporter: &Arc<R>,
src/indexer/scan.rs:491
↓ 1 callersFunctionrun_refs
( root: &Path, mode: Mode, json: bool, verbose: bool, name: &str, exclude_imports: boo
src/cli/run.rs:482
↓ 1 callersFunctionrun_sources
(workspace_root: &Path, json: bool)
src/cli/sources.rs:71
↓ 1 callersFunctionrun_tokens
( json: bool, file: &Path, index: Option<&Arc<Indexer>>, cst_only: bool, phases: bool,
src/cli/run.rs:617
↓ 1 callersFunctionrun_tree
(file: &Path)
src/cli/run.rs:652
← previousnext →1,201–1,300 of 3,021, ranked by callers