MCPcopy Create free account

hub / github.com/cubewhy/caffeine-ls / functions

Functions1,041 in github.com/cubewhy/caffeine-ls

Methodnew
()
crates/vfs/src/virtual_path/jar.rs:68
Methodnew
Initializes a new high-performance JVM symbol index.
crates/ide-db/src/symbol.rs:47
Methodnew
()
crates/ide-db/src/lexical.rs:12
Methodnew
(tokens: Vec<Token<'a>>)
crates/java-syntax/src/parser.rs:122
Methodnew
(source: &'a str)
crates/java-syntax/src/lexer.rs:83
Methodnew
(current: usize, len: usize)
crates/java-syntax/src/reader.rs:11
Methodnew
(kind: SyntaxKind, lexeme: &'s str, offset: usize)
crates/java-syntax/src/lexer/token.rs:13
Methodnew
( tokens: Vec<Token<'a>>, events: Vec<Event<'a>>, cache: Option<&'a mut NodeCache>,
crates/java-syntax/src/parser/sink.rs:13
Methodnew
(pos: usize)
crates/java-syntax/src/parser/marker.rs:14
Methodnew
(tokens: Vec<Token<'a>>)
crates/java-syntax/src/parser/reader.rs:10
Methodnew
(tokens: Vec<Token<'a>>)
crates/kotlin-syntax/src/parser.rs:78
Methodnew
(source: &'a str)
crates/kotlin-syntax/src/lexer.rs:31
Methodnew
(source: &'a str)
crates/kotlin-syntax/src/lexer/reader.rs:8
Methodnew
(kind: SyntaxKind, lexeme: &'s str, offset: usize)
crates/kotlin-syntax/src/lexer/token.rs:12
Methodnew
( tokens: Vec<Token<'a>>, events: Vec<Event<'a>>, cache: Option<&'a mut NodeCache>,
crates/kotlin-syntax/src/parser/sink.rs:13
Methodnew
(pos: usize)
crates/kotlin-syntax/src/parser/marker.rs:14
Methodnew
(tokens: Vec<Token<'a>>)
crates/kotlin-syntax/src/parser/reader.rs:10
Methodnew_at_offset
Helper to create a new error at a specific byte offset (zero-width range). Useful for "Expected X here" errors.
crates/syntax/src/lib.rs:49
Methodnew_unchecked
# Safety AbsPath is a wrapper type of Utf8Path, so the conversion is safe
crates/vfs/src/lib.rs:87
Methodnotify
(&self, params: N::Params)
crates/caffeine-ls/src/global_state.rs:570
Methodnth_at_contextual_kw
(&self, n: usize, kw: ContextualKeyword)
crates/kotlin-syntax/src/parser.rs:167
Functionoffset_to_position
(text: &str, offset: TextSize)
crates/caffeine-ls/src/from_proto.rs:11
Methodon
Dispatches the request to a handler function if the method matches.
crates/caffeine-ls/src/handlers/dispatch.rs:16
Methodon_async
( &mut self, worker: fn(GlobalStateSnapshot, R::Params) -> anyhow::Result<R::Result>, )
crates/caffeine-ls/src/handlers/dispatch.rs:37
Functionon_cancel
(state: &mut GlobalState, params: CancelParams)
crates/caffeine-ls/src/handlers/notification.rs:24
Functionon_diagnostic
( state: GlobalStateSnapshot, params: DocumentDiagnosticParams, )
crates/caffeine-ls/src/handlers/request.rs:8
Functionon_did_change
( state: &mut GlobalState, params: DidChangeTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:50
Functionon_did_change_configuration
( state: &mut GlobalState, params: DidChangeConfigurationParams, )
crates/caffeine-ls/src/handlers/notification.rs:194
Functionon_did_change_watched_files
( state: &mut GlobalState, params: DidChangeWatchedFilesParams, )
crates/caffeine-ls/src/handlers/notification.rs:139
Functionon_did_close
( state: &mut GlobalState, params: DidCloseTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:127
Functionon_did_open
( state: &mut GlobalState, params: DidOpenTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:35
Functionon_did_save
( state: &mut GlobalState, params: DidSaveTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:109
Functionon_exit
(state: &mut GlobalState, _: ())
crates/caffeine-ls/src/handlers/notification.rs:16
Methodopen_document
(&self, relative_path: &str)
crates/lsp-test/src/lib.rs:231
Methodparse
Parses a type from a byte slice starting at position `pos`. Returns the type and advances `pos` to the next position after the type.
lib/rust-asm/src/types.rs:208
Methodparse
(&mut self)
crates/caffeine-ls/src/handlers/dispatch.rs:66
Methodparse
(self)
crates/kotlin-syntax/src/parser.rs:99
Methodparse_cafebabe
(&self, bytes: &[u8])
crates/syntax/src/class_parser.rs:30
Functionparse_code_instructions_public
(code: &[u8])
lib/rust-asm/src/class_reader.rs:2157
Functionparse_edit_markers
(src: &str)
crates/kotlin-syntax/tests/common.rs:84
Functionparse_file
(language: LanguageId, text: &str, interner: &ThreadedRodeo)
crates/syntax/src/lib.rs:70
Functionpatch_path_prefix
(path: PathBuf)
crates/caffeine-ls/src/bin/main.rs:233
Functionpatch_path_prefix
(path: PathBuf)
crates/caffeine-ls/tests/lsp_snapshots.rs:145
Methodpos
(&self, path: &str)
crates/lsp-test/src/lib.rs:171
Functionposition_to_offset
(text: &str, position: Position)
crates/caffeine-ls/src/from_proto.rs:26
Methodprecede
(self, p: &mut Parser)
crates/kotlin-syntax/src/parser/marker.rs:57
Methodpull_document_diagnostics
(&self, relative_path: &str)
crates/lsp-test/src/lib.rs:334
Methodreadonly
(lib_id: LibraryId, path: AbsPathBuf)
crates/project-model/src/workspace.rs:70
Methodremove_file
Complete removal of a workspace source file (e.g., file unlinked or deleted).
crates/ide-db/src/symbol.rs:146
Methodremove_file
(&self, file_id: FileId)
crates/ide-db/src/lexical.rs:56
Methodremove_workspace
(&mut self, root: &AbsPathBuf)
crates/ide/src/lib.rs:156
Methodreply_internal_error
(&self, id: lsp_server::RequestId)
crates/caffeine-ls/src/global_state.rs:738
Methodresolve_class
Resolves class metadata across all active layers with zero-copy reference mechanics.
crates/ide-db/src/symbol.rs:244
Methodresolve_project_for_path
Backward compatibility interface: resolves only the `Project` the file belongs to.
crates/project-model/src/workspace.rs:203
Methodrewind
(&mut self, cp: Checkpoint)
crates/kotlin-syntax/src/parser.rs:111
Methodrun_index
( &self, db: &mut dyn HirDatabase, )
crates/caffeine-ls/src/jdk.rs:32
Functionrun_server
()
crates/caffeine-ls/src/bin/main.rs:91
Methodsend_request
(&mut self, params: R::Params, state: OutgoingRequest)
crates/caffeine-ls/src/global_state.rs:578
Functionsetup
(build)
editors/code/esbuild.js:12
Methodshort
(value: i16)
lib/rust-asm/src/insn.rs:458
Methodshutdown
(mut self)
crates/lsp-test/src/lib.rs:356
Methodsnapshot
(&self)
crates/ide/src/lib.rs:87
Methodspawn_parsing_task
(&self, tasks: Vec<(vfs::FileId, u64)>)
crates/caffeine-ls/src/global_state.rs:674
Methodsplit_token
( &mut self, first_kind: SyntaxKind, first_len: u32, rest_kind: SyntaxKind,
crates/kotlin-syntax/src/parser.rs:290
Methodstart
(&self)
crates/java-syntax/src/reader.rs:55
Methodstring
Adds a String constant to the pool. This is for string literals (e.g., `ldc "foo"`).
lib/rust-asm/src/constant_pool.rs:305
Methodsync
( &self, workspace_root: &std::path::Path, java_home: &std::path::Path, )
crates/project-model/src/maven.rs:18
Methodsync
(&self, workspace_root: &Path, java_home: &Path)
crates/project-model/src/gradle.rs:24
Methodsync
( &self, workspace_root: &std::path::Path, java_home: &std::path::Path, )
crates/project-model/src/eclipse.rs:17
Methodsyntax_node
(&self)
crates/java-syntax/src/parser.rs:42
Methodsystem_type
(&self)
crates/project-model/src/maven.rs:35
Methodsystem_type
(&self)
crates/project-model/src/gradle.rs:31
Methodsystem_type
(&self)
crates/project-model/src/eclipse.rs:43
Functiontest_adjacent_escapes
()
crates/java-syntax/src/reader.rs:393
Functiontest_advance_if_matches_escaped
()
crates/java-syntax/src/reader.rs:377
Functiontest_advance_if_matches_literal
()
crates/java-syntax/src/reader.rs:385
Functiontest_advance_unicode_escape
()
crates/java-syntax/src/reader.rs:365
Functiontest_backslash_not_followed_by_u
()
crates/java-syntax/src/reader.rs:492
Functiontest_basic_class_generation
()
lib/rust-asm/src/class_writer.rs:5446
Functiontest_class_file_writer_synthesizes_module_attributes
()
lib/rust-asm/src/class_writer.rs:5575
Functiontest_class_node_structure
()
lib/rust-asm/src/class_writer.rs:5510
Functiontest_class_reader_decodes_module_info_node
()
lib/rust-asm/src/class_reader.rs:3258
Functiontest_class_reader_header
()
lib/rust-asm/src/class_reader.rs:2817
Functiontest_code_reader_alignment
()
lib/rust-asm/src/class_reader.rs:2843
Functiontest_compute_frames_flag
()
lib/rust-asm/src/class_writer.rs:5479
Functiontest_constant_pool_deduplication
()
lib/rust-asm/src/class_writer.rs:5430
Functiontest_current_token_lexeme
()
crates/java-syntax/src/reader.rs:347
Functiontest_double_backslash_not_an_escape
()
crates/java-syntax/src/reader.rs:510
Functiontest_empty_input
()
crates/lsp-test/src/fixture.rs:63
Functiontest_escape_newline
()
crates/java-syntax/src/reader.rs:433
Functiontest_escape_produces_backslash
()
crates/java-syntax/src/reader.rs:441
Functiontest_from_class_node_synthesizes_module_attributes
()
lib/rust-asm/src/class_writer.rs:5537
Functiontest_invalid_escape_incomplete
()
crates/java-syntax/src/reader.rs:452
Functiontest_invalid_escape_non_hex
()
crates/java-syntax/src/reader.rs:471
Functiontest_invalid_magic
()
lib/rust-asm/src/class_reader.rs:2832
Functiontest_matches_str_is_raw
()
crates/java-syntax/src/reader.rs:542
Functiontest_method_node_contains_offsets_and_line_numbers
()
lib/rust-asm/src/class_reader.rs:3080
Functiontest_method_node_contains_try_catch_blocks
()
lib/rust-asm/src/class_reader.rs:3144
Functiontest_mixed_escaped_and_literal
()
crates/java-syntax/src/reader.rs:407
Functiontest_module_info_round_trip
()
lib/rust-asm/src/class_writer.rs:5520
← previousnext →901–1,000 of 1,041, ranked by callers