MCPcopy Create free account

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

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

↓ 2 callersFunctionsymbol_kind_to_token_type
(kind: SymbolKind)
src/semantic_tokens/resolve.rs:565
↓ 2 callersFunctionsymbols_from_nested_type
Return completions for symbols declared INSIDE `type_name` within the given file. Uses the symbol's range end (the closing `}` of the class body) to d
src/resolver/complete.rs:973
↓ 2 callersFunctionsymbols_from_uri_as_completions_pub
Public wrapper around `symbols_from_uri_as_completions` for use by the pre-warmer in `indexer.rs`. Builds + caches completion items for a file.
src/resolver/complete.rs:1842
↓ 2 callersFunctiontext_edit
( start_line: u32, start_char: u32, end_line: u32, end_char: u32, new_text: String, )
src/features/on_type_formatting.rs:186
↓ 2 callersFunctiontoken_position
( bytes: &[u8], starts: &[usize], node: Node<'_>, )
src/semantic_tokens/helpers.rs:375
↓ 2 callersFunctiontry_substitute_ext_fn_type_param
Try to substitute a generic type parameter with its concrete type by resolving the extension function's receiver type from the call-site context. Giv
src/indexer/infer/type_subst.rs:202
↓ 2 callersFunctiontype_detail_parts
Split a potentially-generic, nullable type name into (leaf, qualifier) for detail lookup. Strips generic params and `?` before splitting on `.`: - `"
src/features/hover.rs:182
↓ 2 callersFunctiontype_params_from_angle_brackets
Scan `text` for the first `<…>` block and return simple identifier names inside. Used as a last-resort fallback when tree-sitter ERROR nodes don't pro
src/indexer/node_ext.rs:581
↓ 2 callersFunctionuppercase_name
(name: &str)
src/indexer/infer/receiver.rs:300
↓ 2 callersFunctionuri
(path: &str)
src/parser_tests.rs:5
↓ 2 callersFunctionuri
(path: &str)
src/indexer/scope_tests.rs:12
↓ 2 callersFunctionuri
(path: &str)
src/indexer/cache_tests.rs:9
↓ 2 callersFunctionvalue_arg_label
(node: Node<'_>)
src/semantic_tokens/helpers.rs:275
↓ 2 callersFunctionversion_key
Comparable key for version strings: split on . and - , cast digits to int.
contrib/extract-sources.py:79
↓ 2 callersFunctionversion_key
(version: &str)
src/cli/extract_sources.rs:32
↓ 2 callersFunctionvis_tag
Returns the `sort_text` visibility prefix. Private symbols get the `"prv:"` tag so `complete_dot` can filter them out.
src/resolver/complete.rs:1050
↓ 2 callersFunctionvisibility_at_line_with
( lines: &[String], line_no: usize, default: Visibility, modifiers: &[(&str, Visibility)], )
src/parser.rs:1848
↓ 2 callersMethodvisit
java-sidecar/src/main/kotlin/io/github/hessesian/jarindexer/KotlinClassIndexer.kt:383
↓ 2 callersFunctionwalk_java
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:17
↓ 2 callersFunctionwalk_kotlin
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:22
↓ 2 callersFunctionwalk_references
Walk non-declaration identifiers and resolve them against the index.
src/semantic_tokens/resolve.rs:31
↓ 2 callersFunctionwhole_word_replace_file
Replace all whole-word occurrences of `word` with `replacement` across `lines`, joining them back into a single string with `\n`. Skips `import` and
src/features/text_utils.rs:283
↓ 2 callersFunctionwith_env_var
Run `f` with `var` temporarily set to `value`. Saves the previous value and restores it (or removes the var) on exit, even on panic.
src/indexer/test_helpers.rs:74
↓ 2 callersFunctionwrite_dummy_chunk
(dir: &std::path::Path, idx: u32, keys: &[&str])
src/indexer/cache_tests.rs:296
↓ 2 callersFunctionwrite_gradle
Write a `build.gradle.kts` so that `detect_build_layout_source_paths` triggers.
src/workspace/config_tests.rs:29
↓ 2 callersFunctionwrite_status_file
Write a human-readable status blob to `~/.cache/kmp-lsp/status.json`. The skill extension reads this to report loading state with time estimates.
src/indexer/cache.rs:112
↓ 1 callersFunction_detect_src_root
Heuristic: return the shallowest src/main/kotlin dir under workspace.
contrib/kotlin-cli.py:271
↓ 1 callersFunction_encode
(obj: dict)
contrib/kotlin-cli.py:81
↓ 1 callersFunction_extract_feature_id
GoldConversionInteractor → GoldConversion (strips first known suffix found).
contrib/kotlin-cli.py:297
↓ 1 callersFunction_file_suffix
GoldConversionInteractor → Interactor (part after feature_id).
contrib/kotlin-cli.py:305
↓ 1 callersFunction_infer_base_package
com.example.goldconversion.contract → com.example.goldconversion (strip role parts).
contrib/kotlin-cli.py:317
↓ 1 callersFunction_load_template_family
Return [(template_filename, content)] for parent + all children.
contrib/kotlin-cli.py:255
↓ 1 callersFunction_loc_from_sym
Format location from a DocumentSymbol (has range, not location.range).
contrib/kotlin-cli.py:738
↓ 1 callersFunction_parameterize
Replace feature-identifier variants with ${VAR} placeholders. Uses sentinels so we can safely escape Kotlin/Velocity dollar signs without acc
contrib/kotlin-cli.py:325
↓ 1 callersFunction_upsert_template_settings
Add or replace the family's entries in file.template.settings.xml.
contrib/kotlin-cli.py:370
↓ 1 callersFunction_walk_kotlin_files
Enumerate .kt and .java files in workspace, skipping build dirs.
contrib/kotlin-cli.py:756
↓ 1 callersMethodadd_cross_package_name
( &mut self, bare_name: &str, current_context: &CurrentFileCompletionContext, )
src/resolver/complete.rs:1432
↓ 1 callersMethodadd_cross_package_name_without_imports
(&mut self, bare_name: &str, score: u8)
src/resolver/complete.rs:1477
↓ 1 callersMethodadd_cross_package_symbol
( &mut self, bare_name: &str, fully_qualified_name: &str, score: u8, c
src/resolver/complete.rs:1491
↓ 1 callersFunctionadd_current_file_locations
( index: &impl DocumentAccess, uri: &Url, name: &str, parent_class: Option<&str>, owner_cl
src/features/references.rs:339
↓ 1 callersMethodadd_entry
(&mut self, entry: &crate::types::ExtensionEntry, is_library: bool)
src/resolver/complete.rs:391
↓ 1 callersFunctionadd_lambda_param_completions
Appends lambda-parameter completions for bare-word (non-dot) completion.
src/features/completion.rs:334
↓ 1 callersFunctionadd_named_arg_completions
Append `name =` completion items for the active call expression. Prefers `CompletionContext::call_info` when available, and falls back to `call_info_
src/features/completion.rs:368
↓ 1 callersFunctionall
All stdlib entries merged into one iterator.
src/stdlib.rs:502
↓ 1 callersMethodallows_rg_fallback
(&self)
src/features/workspace_symbols.rs:168
↓ 1 callersFunctionappend_dot_tail_completions
( indexer: &Indexer, receiver_type: &ReceiverType, from_uri: &Url, snippets: bool, file_fo
src/resolver/complete.rs:878
↓ 1 callersFunctionappend_unique_reference_hits
( locations: &mut Vec<Location>, hits: Vec<(Location, String)>, request: &RgSearchRequest<'_>, )
src/rg.rs:856
↓ 1 callersFunctionapply_contribution_to_index
(indexer: &crate::indexer::Indexer, contrib: FileContributions)
src/indexer/jar.rs:334
↓ 1 callersMethodapply_contributions_fresh
Like `apply_contributions` but skips duplicate checks — safe only when the index maps have just been cleared (i.e. after `reset_index_state`).
src/indexer/apply.rs:591
↓ 1 callersMethodapply_ignore_patterns
(&self, patterns: &[String], root: &Path)
src/workspace/scan_handler.rs:203
↓ 1 callersMethodapply_initialization_options
( &self, initialization_options: Option<&serde_json::Value>, )
src/backend/init.rs:111
↓ 1 callersFunctionapply_simple_subst
Apply a type-parameter substitution map to a type string using whole-identifier substitution (not simple string replace). Delegates to `crate::indexe
src/indexer/infer/type_subst.rs:93
↓ 1 callersFunctionapply_supertype_subst
Replace generic type parameter names with concrete type arguments. Given `raw = "Flow<ReducedResult<EffectType, StateType>>"`, `params = ["EventType"
src/resolver/infer.rs:896
↓ 1 callersFunctionartifact_dir_name
Return a short directory name for a JAR's extracted sources.
contrib/extract-sources.py:112
↓ 1 callersFunctionartifact_dir_name
(jar: &Path)
src/cli/extract_sources.rs:69
↓ 1 callersFunctionassert_labels_exclude
(items: &[tower_lsp::lsp_types::CompletionItem], forbidden: &[&str])
src/resolver/tests.rs:2489
↓ 1 callersFunctionasync_main
()
src/main.rs:170
↓ 1 callersFunctionaugment_property_sig
Rebuild a property signature with an inferred type annotation. Replaces the `= rhs` initializer with `: InferredType`, preserving any leading modifie
src/indexer/resolution.rs:425
↓ 1 callersFunctionbalanced_paren_close
Find the index of the `)` that closes the opening `(` already consumed. `s` is the text *after* the opening `(`. Returns the byte offset of the matc
src/rg.rs:1315
↓ 1 callersFunctionbare_completions
Completion items for bare (non-dot) trigger — returns a shared cached slice.
src/stdlib.rs:652
↓ 1 callersFunctionbefore_cursor
Returns a slice of `line` up to the UTF-16 column `utf16_col`.
src/features/completion.rs:438
↓ 1 callersMethodbegin
(&self, _: &NumberOrString, _: &str)
src/indexer/scan.rs:71
↓ 1 callersFunctionbrace_newline
( lines: &[String], cursor_line: usize, indent: &str, tab: &str, )
src/features/on_type_formatting.rs:45
↓ 1 callersFunctionbuild_branch_text
( missing: &[&WhenMember], parent_type: &str, type_kind: TypeKind, indent: &str, )
src/features/fill_when.rs:804
↓ 1 callersFunctionbuild_call_info
(position: Position, index: &Indexer, uri: &Url)
src/features/completion_context.rs:79
↓ 1 callersMethodbuild_command
(&self)
src/rg.rs:445
↓ 1 callersFunctionbuild_complete_subcommand
( positionals: Vec<String>, dot: bool, eol: bool, no_stdlib: bool, )
src/cli/args.rs:300
↓ 1 callersFunctionbuild_enclosing_class_subst_impl
Build substitution for enclosing class's type parameters.
src/indexer/resolution.rs:540
↓ 1 callersFunctionbuild_fn_subst
Build a simple type-parameter substitution map from a function's declared type parameters and the call-site type arguments. Zips `params` (e.g. `["T"
src/indexer/infer/type_subst.rs:76
↓ 1 callersFunctionbuild_hover_subcommand
(positionals: Vec<String>)
src/cli/args.rs:295
↓ 1 callersFunctionbuild_import_alias_action
( line_text: &str, trimmed: &str, uri: &Url, range: Range, is_kotlin: bool, )
src/features/code_actions.rs:322
↓ 1 callersFunctionbuild_index_inner
(root: &Path, source_paths: Vec<String>)
src/cli/run.rs:164
↓ 1 callersFunctionbuild_jar_file_data
Build `FileData` + definition entries for one JAR and insert them into the index.
src/indexer/jar.rs:627
↓ 1 callersMethodbuild_lambda_item_from_entry
( &self, entry: &crate::types::ExtensionEntry, is_same_file: bool, )
src/resolver/complete.rs:470
↓ 1 callersFunctionbuild_lambda_scope
( scan_slice: &str, brace_byte: usize, index: &Indexer, uri: &Url, position: Position, )
src/features/completion_context.rs:287
↓ 1 callersFunctionbuild_rename_placeholder_action
( cursor_word: &str, all_lines: &[String], uri: &Url, )
src/features/code_actions.rs:375
↓ 1 callersFunctionbuild_rg_patterns
(request: &RgSearchRequest<'_>)
src/rg.rs:641
↓ 1 callersFunctionbuild_subcommand
(subcommand: &str, parsed: ParsedCliFlags)
src/cli/args.rs:232
↓ 1 callersFunctionbuild_subst_if_needed
Build substitution map if requested by options and context.
src/indexer/resolution.rs:447
↓ 1 callersFunctionbuild_workspace_edit
( indexer: &Indexer, file_uris: &[Url], name: &str, new_name: &str, )
src/features/rename.rs:396
↓ 1 callersFunctionbuild_workspace_result
( root: &Path, discovered: &DiscoveredPaths, cached_results: Vec<FileIndexResult>, results: Ve
src/indexer/scan.rs:527
↓ 1 callersFunctionbyte_offset_for_position
(lines: &[String], pos: Position)
src/features/fill_when.rs:260
↓ 1 callersFunctioncache_entry_is_fresh
Check whether the cache entry for `jar` is still valid.
src/indexer/jar_cache.rs:110
↓ 1 callersFunctioncache_hit
Return cached `(items, hit_cap)` if the last completion key matches, `None` otherwise.
src/features/completion.rs:210
↓ 1 callersFunctioncall_expr_ancestor
Walk from `node` up the ancestor chain to find the outermost `call_expression` or `navigation_expression` that covers the cursor. For property access
src/features/code_actions.rs:536
↓ 1 callersFunctioncall_expr_direct_type
- DI/factory generic call with explicit type arguments (`inject<T>()`, `create<T>()`, etc.) → first type argument - Constructor call (`SomeType(args)`
src/parser.rs:1998
↓ 1 callersFunctioncall_expr_receiver_method
For a `call_expression` with a `navigation_expression` callee, return `(receiver_name, method_name)`. Returns `None` for chained / `this` / `super` r
src/parser.rs:1940
↓ 1 callersFunctioncall_expression_type
( node: Node<'_>, doc: &LiveDoc, starts: &[usize], indexer: &Indexer, uri: &Url, )
src/semantic_tokens/resolve.rs:326
↓ 1 callersFunctioncall_paren_col
(src: &str, line_no: usize, fn_name: &str)
src/features/completion_context_tests.rs:70
↓ 1 callersMethodcall_site_type_arg_strings
(self, bytes: &[u8])
src/indexer/node_ext.rs:458
↓ 1 callersFunctioncall_symbol_kind_to_token_type
(kind: SymbolKind)
src/semantic_tokens/resolve.rs:558
↓ 1 callersFunctioncallee_to_qualifier
Convert a raw callee name (from `find_enclosing_call_name`) to the qualifier to use when resolving a named argument parameter. Rules: - Last segment
src/indexer/scope.rs:750
↓ 1 callersFunctioncamel_acronym_match
True if every character in `prefix` matches the first character of a successive CamelCase or underscore-delimited word in `name`. Matching is case-in
src/resolver/complete.rs:84
↓ 1 callersFunctionchain_with_type_subst
Handles chains like `wrapper.getOrNull()?.also { p -> }` and `state.value.getOrNull()?.also { p -> }` where the scope function's lambda parameter type
src/indexer/infer/receiver.rs:161
↓ 1 callersFunctioncheck_call_args
( call_node: &tree_sitter::Node, bytes: &[u8], indexer: &Indexer, uri: &Url, stats: &mut D
src/features/call_arg_diagnostics.rs:97
↓ 1 callersFunctionclassify_extracted_type
Classify an extracted type string as concrete or generic. Uses the callable's explicit `type_params` when available; falls back to the shape heuristi
src/indexer/infer/cst_lambda.rs:535
↓ 1 callersFunctionclassify_java
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/java.rs:30
↓ 1 callersFunctionclassify_kotlin
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:35
↓ 1 callersFunctionclassify_kotlin_reference
(node: Node<'_>, src: &[u8], indexer: &Indexer)
src/semantic_tokens/resolve.rs:90
↓ 1 callersFunctionclassify_source_set
(uri: &str, source_paths: &[String])
src/indexer/apply.rs:35
← previousnext →701–800 of 3,021, ranked by callers