Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cubewhy/caffeine-ls
/ functions
Functions
1,041 in github.com/cubewhy/caffeine-ls
⨍
Functions
1,041
◇
Types & classes
268
Method
new
()
crates/vfs/src/virtual_path/jar.rs:68
Method
new
Initializes a new high-performance JVM symbol index.
crates/ide-db/src/symbol.rs:47
Method
new
()
crates/ide-db/src/lexical.rs:12
Method
new
(tokens: Vec<Token<'a>>)
crates/java-syntax/src/parser.rs:122
Method
new
(source: &'a str)
crates/java-syntax/src/lexer.rs:83
Method
new
(current: usize, len: usize)
crates/java-syntax/src/reader.rs:11
Method
new
(kind: SyntaxKind, lexeme: &'s str, offset: usize)
crates/java-syntax/src/lexer/token.rs:13
Method
new
( tokens: Vec<Token<'a>>, events: Vec<Event<'a>>, cache: Option<&'a mut NodeCache>,
crates/java-syntax/src/parser/sink.rs:13
Method
new
(pos: usize)
crates/java-syntax/src/parser/marker.rs:14
Method
new
(tokens: Vec<Token<'a>>)
crates/java-syntax/src/parser/reader.rs:10
Method
new
(tokens: Vec<Token<'a>>)
crates/kotlin-syntax/src/parser.rs:78
Method
new
(source: &'a str)
crates/kotlin-syntax/src/lexer.rs:31
Method
new
(source: &'a str)
crates/kotlin-syntax/src/lexer/reader.rs:8
Method
new
(kind: SyntaxKind, lexeme: &'s str, offset: usize)
crates/kotlin-syntax/src/lexer/token.rs:12
Method
new
( tokens: Vec<Token<'a>>, events: Vec<Event<'a>>, cache: Option<&'a mut NodeCache>,
crates/kotlin-syntax/src/parser/sink.rs:13
Method
new
(pos: usize)
crates/kotlin-syntax/src/parser/marker.rs:14
Method
new
(tokens: Vec<Token<'a>>)
crates/kotlin-syntax/src/parser/reader.rs:10
Method
new_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
Method
new_unchecked
# Safety AbsPath is a wrapper type of Utf8Path, so the conversion is safe
crates/vfs/src/lib.rs:87
Method
notify
(&self, params: N::Params)
crates/caffeine-ls/src/global_state.rs:570
Method
nth_at_contextual_kw
(&self, n: usize, kw: ContextualKeyword)
crates/kotlin-syntax/src/parser.rs:167
Function
offset_to_position
(text: &str, offset: TextSize)
crates/caffeine-ls/src/from_proto.rs:11
Method
on
Dispatches the request to a handler function if the method matches.
crates/caffeine-ls/src/handlers/dispatch.rs:16
Method
on_async
( &mut self, worker: fn(GlobalStateSnapshot, R::Params) -> anyhow::Result<R::Result>, )
crates/caffeine-ls/src/handlers/dispatch.rs:37
Function
on_cancel
(state: &mut GlobalState, params: CancelParams)
crates/caffeine-ls/src/handlers/notification.rs:24
Function
on_diagnostic
( state: GlobalStateSnapshot, params: DocumentDiagnosticParams, )
crates/caffeine-ls/src/handlers/request.rs:8
Function
on_did_change
( state: &mut GlobalState, params: DidChangeTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:50
Function
on_did_change_configuration
( state: &mut GlobalState, params: DidChangeConfigurationParams, )
crates/caffeine-ls/src/handlers/notification.rs:194
Function
on_did_change_watched_files
( state: &mut GlobalState, params: DidChangeWatchedFilesParams, )
crates/caffeine-ls/src/handlers/notification.rs:139
Function
on_did_close
( state: &mut GlobalState, params: DidCloseTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:127
Function
on_did_open
( state: &mut GlobalState, params: DidOpenTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:35
Function
on_did_save
( state: &mut GlobalState, params: DidSaveTextDocumentParams, )
crates/caffeine-ls/src/handlers/notification.rs:109
Function
on_exit
(state: &mut GlobalState, _: ())
crates/caffeine-ls/src/handlers/notification.rs:16
Method
open_document
(&self, relative_path: &str)
crates/lsp-test/src/lib.rs:231
Method
parse
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
Method
parse
(&mut self)
crates/caffeine-ls/src/handlers/dispatch.rs:66
Method
parse
(self)
crates/kotlin-syntax/src/parser.rs:99
Method
parse_cafebabe
(&self, bytes: &[u8])
crates/syntax/src/class_parser.rs:30
Function
parse_code_instructions_public
(code: &[u8])
lib/rust-asm/src/class_reader.rs:2157
Function
parse_edit_markers
(src: &str)
crates/kotlin-syntax/tests/common.rs:84
Function
parse_file
(language: LanguageId, text: &str, interner: &ThreadedRodeo)
crates/syntax/src/lib.rs:70
Function
patch_path_prefix
(path: PathBuf)
crates/caffeine-ls/src/bin/main.rs:233
Function
patch_path_prefix
(path: PathBuf)
crates/caffeine-ls/tests/lsp_snapshots.rs:145
Method
pos
(&self, path: &str)
crates/lsp-test/src/lib.rs:171
Function
position_to_offset
(text: &str, position: Position)
crates/caffeine-ls/src/from_proto.rs:26
Method
precede
(self, p: &mut Parser)
crates/kotlin-syntax/src/parser/marker.rs:57
Method
pull_document_diagnostics
(&self, relative_path: &str)
crates/lsp-test/src/lib.rs:334
Method
readonly
(lib_id: LibraryId, path: AbsPathBuf)
crates/project-model/src/workspace.rs:70
Method
remove_file
Complete removal of a workspace source file (e.g., file unlinked or deleted).
crates/ide-db/src/symbol.rs:146
Method
remove_file
(&self, file_id: FileId)
crates/ide-db/src/lexical.rs:56
Method
remove_workspace
(&mut self, root: &AbsPathBuf)
crates/ide/src/lib.rs:156
Method
reply_internal_error
(&self, id: lsp_server::RequestId)
crates/caffeine-ls/src/global_state.rs:738
Method
resolve_class
Resolves class metadata across all active layers with zero-copy reference mechanics.
crates/ide-db/src/symbol.rs:244
Method
resolve_project_for_path
Backward compatibility interface: resolves only the `Project` the file belongs to.
crates/project-model/src/workspace.rs:203
Method
rewind
(&mut self, cp: Checkpoint)
crates/kotlin-syntax/src/parser.rs:111
Method
run_index
( &self, db: &mut dyn HirDatabase, )
crates/caffeine-ls/src/jdk.rs:32
Function
run_server
()
crates/caffeine-ls/src/bin/main.rs:91
Method
send_request
(&mut self, params: R::Params, state: OutgoingRequest)
crates/caffeine-ls/src/global_state.rs:578
Function
setup
(build)
editors/code/esbuild.js:12
Method
short
(value: i16)
lib/rust-asm/src/insn.rs:458
Method
shutdown
(mut self)
crates/lsp-test/src/lib.rs:356
Method
snapshot
(&self)
crates/ide/src/lib.rs:87
Method
spawn_parsing_task
(&self, tasks: Vec<(vfs::FileId, u64)>)
crates/caffeine-ls/src/global_state.rs:674
Method
split_token
( &mut self, first_kind: SyntaxKind, first_len: u32, rest_kind: SyntaxKind,
crates/kotlin-syntax/src/parser.rs:290
Method
start
(&self)
crates/java-syntax/src/reader.rs:55
Method
string
Adds a String constant to the pool. This is for string literals (e.g., `ldc "foo"`).
lib/rust-asm/src/constant_pool.rs:305
Method
sync
( &self, workspace_root: &std::path::Path, java_home: &std::path::Path, )
crates/project-model/src/maven.rs:18
Method
sync
(&self, workspace_root: &Path, java_home: &Path)
crates/project-model/src/gradle.rs:24
Method
sync
( &self, workspace_root: &std::path::Path, java_home: &std::path::Path, )
crates/project-model/src/eclipse.rs:17
Method
syntax_node
(&self)
crates/java-syntax/src/parser.rs:42
Method
system_type
(&self)
crates/project-model/src/maven.rs:35
Method
system_type
(&self)
crates/project-model/src/gradle.rs:31
Method
system_type
(&self)
crates/project-model/src/eclipse.rs:43
Function
test_adjacent_escapes
()
crates/java-syntax/src/reader.rs:393
Function
test_advance_if_matches_escaped
()
crates/java-syntax/src/reader.rs:377
Function
test_advance_if_matches_literal
()
crates/java-syntax/src/reader.rs:385
Function
test_advance_unicode_escape
()
crates/java-syntax/src/reader.rs:365
Function
test_backslash_not_followed_by_u
()
crates/java-syntax/src/reader.rs:492
Function
test_basic_class_generation
()
lib/rust-asm/src/class_writer.rs:5446
Function
test_class_file_writer_synthesizes_module_attributes
()
lib/rust-asm/src/class_writer.rs:5575
Function
test_class_node_structure
()
lib/rust-asm/src/class_writer.rs:5510
Function
test_class_reader_decodes_module_info_node
()
lib/rust-asm/src/class_reader.rs:3258
Function
test_class_reader_header
()
lib/rust-asm/src/class_reader.rs:2817
Function
test_code_reader_alignment
()
lib/rust-asm/src/class_reader.rs:2843
Function
test_compute_frames_flag
()
lib/rust-asm/src/class_writer.rs:5479
Function
test_constant_pool_deduplication
()
lib/rust-asm/src/class_writer.rs:5430
Function
test_current_token_lexeme
()
crates/java-syntax/src/reader.rs:347
Function
test_double_backslash_not_an_escape
()
crates/java-syntax/src/reader.rs:510
Function
test_empty_input
()
crates/lsp-test/src/fixture.rs:63
Function
test_escape_newline
()
crates/java-syntax/src/reader.rs:433
Function
test_escape_produces_backslash
()
crates/java-syntax/src/reader.rs:441
Function
test_from_class_node_synthesizes_module_attributes
()
lib/rust-asm/src/class_writer.rs:5537
Function
test_invalid_escape_incomplete
()
crates/java-syntax/src/reader.rs:452
Function
test_invalid_escape_non_hex
()
crates/java-syntax/src/reader.rs:471
Function
test_invalid_magic
()
lib/rust-asm/src/class_reader.rs:2832
Function
test_matches_str_is_raw
()
crates/java-syntax/src/reader.rs:542
Function
test_method_node_contains_offsets_and_line_numbers
()
lib/rust-asm/src/class_reader.rs:3080
Function
test_method_node_contains_try_catch_blocks
()
lib/rust-asm/src/class_reader.rs:3144
Function
test_mixed_escaped_and_literal
()
crates/java-syntax/src/reader.rs:407
Function
test_module_info_round_trip
()
lib/rust-asm/src/class_writer.rs:5520
← previous
next →
901–1,000 of 1,041, ranked by callers