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
Function
dump_parse_errors
(errors: &[ParseError])
crates/java-syntax/tests/common.rs:55
Function
dump_tokens
(tokens: &[Token<'_>])
crates/java-syntax/tests/common.rs:10
Function
dump_tokens
(tokens: &[Token<'_>])
crates/kotlin-syntax/tests/common.rs:6
Function
dump_tree
(node: &SyntaxNode<Lang>)
crates/java-syntax/tests/common.rs:175
Method
editable
(lib_id: LibraryId, path: AbsPathBuf)
crates/project-model/src/workspace.rs:62
Function
ensure_module
(cp: &mut Vec<CpInfo>, name: &str)
lib/rust-asm/src/class_writer.rs:3258
Function
ensure_package
(cp: &mut Vec<CpInfo>, name: &str)
lib/rust-asm/src/class_writer.rs:3272
Method
eof
(offset: usize)
crates/kotlin-syntax/src/lexer/token.rs:20
Method
error_expected_construct
(&mut self, construct: ExpectedConstruct)
crates/kotlin-syntax/src/parser.rs:246
Method
errors
All errors recorded so far (lazily populated by `advance()`).
crates/java-syntax/src/reader.rs:47
Method
errors
(&self)
crates/kotlin-syntax/src/parser.rs:48
Method
expect
(&mut self, kind: SyntaxKind)
crates/kotlin-syntax/src/parser.rs:217
Method
expect_contextual_kw
(&mut self, kw: ContextualKeyword)
crates/kotlin-syntax/src/parser.rs:184
Method
fetch_bytes
(&self, url: &Url)
crates/vfs/src/virtual_path/jimage.rs:42
Function
file_id_to_url
(vfs: &Vfs, file_id: FileId)
crates/caffeine-ls/src/from_proto.rs:5
Function
find_code_installation
()
xtask/src/development.rs:66
Method
float
(&mut self, value: f32)
lib/rust-asm/src/constant_pool.rs:319
Method
float
(val: f32)
crates/syntax/src/ast.rs:62
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
lib/rust-asm/src/types.rs:283
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/syntax/src/lib.rs:58
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/caffeine-ls/src/config.rs:145
Method
from
(value: u8)
lib/rust-asm/src/insn.rs:11
Method
from
(kind: SyntaxKind)
crates/java-syntax/src/syntax_kind.rs:414
Method
from
(kind: SyntaxKind)
crates/kotlin-syntax/src/syntax_kind.rs:146
Method
from_class_node
Creates a `ClassWriter` from an existing `ClassNode`. This preserves the constant pool indices from the node and allows further edits using the `Clas
lib/rust-asm/src/class_writer.rs:140
Method
from_ext
(ext: &str)
crates/syntax/src/lib.rs:22
Method
from_index
(opcode: u8, index: u16)
lib/rust-asm/src/insn.rs:365
Method
from_jar_path
Generate a unique ID for a JAR file based on its path and metadata
crates/project-model/src/workspace.rs:28
Method
from_java_lexer
(lex_err: &java_syntax::LexicalError)
crates/syntax/src/java_parser.rs:6
Method
from_java_parser
(parse_err: &java_syntax::ParseError)
crates/syntax/src/java_parser.rs:47
Function
from_json
( what: &'static str, json: &serde_json::Value, )
crates/caffeine-ls/src/lib.rs:21
Method
from_label
(label: Label)
lib/rust-asm/src/insn.rs:170
Method
from_pool
Creates a `ConstantPoolBuilder` pre-populated with an existing pool. This preserves existing indices and initializes deduplication maps based on the
lib/rust-asm/src/constant_pool.rs:40
Method
from_project_root
Generates a unique ID for a mutable local workspace module. Hashes ONLY the absolute path. We do not hash the modified time because active files chang
crates/project-model/src/workspace.rs:43
Method
get_argument_count
Returns the number of arguments of this method type. Panics if called on a non-method type.
lib/rust-asm/src/types.rs:199
Method
get_argument_types
If this is a method type, returns the argument types.
lib/rust-asm/src/types.rs:173
Method
get_class_name
Returns the Java class name corresponding to this type (e.g. "int", "java.lang.Object[]").
lib/rust-asm/src/types.rs:125
Method
get_dimensions
If this is an array type, returns the number of dimensions. Otherwise returns 0.
lib/rust-asm/src/types.rs:156
Method
get_double
(&self, index: u16)
lib/rust-asm/src/constant_pool.rs:570
Method
get_element_type
If this is an array type, returns the element type (which may itself be an array). Otherwise returns `None`.
lib/rust-asm/src/types.rs:165
Method
get_files_containing
(&self, word: &str)
crates/ide-db/src/lexical.rs:52
Method
get_float
(&self, index: u16)
lib/rust-asm/src/constant_pool.rs:566
Method
get_method_type
Returns the method `Type` corresponding to the given method descriptor. # Panics Panics if the descriptor is not a valid method descriptor.
lib/rust-asm/src/types.rs:61
Method
get_method_type_from_parts
Creates a method type from its return type and argument types.
lib/rust-asm/src/types.rs:70
Method
get_object_type
Returns the `Type` corresponding to the given internal name. If the name starts with `'['`, it is treated as an array descriptor.
lib/rust-asm/src/types.rs:49
Method
get_return_type
If this is a method type, returns the return type.
lib/rust-asm/src/types.rs:181
Method
get_size
Returns the size of values of this type (1 for most, 2 for long/double, 0 for void).
lib/rust-asm/src/types.rs:189
Method
get_sort
Returns the sort of this type (as an integer, compatible with ASM constants).
lib/rust-asm/src/types.rs:78
Method
get_tree
(&self, file_id: FileId)
crates/ide/src/lib.rs:34
Method
get_type
Returns the `Type` corresponding to the given field or method descriptor. # Panics Panics if the descriptor is invalid.
lib/rust-asm/src/types.rs:41
Method
handle_background_task
(&mut self, event: BackgroundTaskEvent)
crates/caffeine-ls/src/global_state.rs:358
Method
handle_notification
(&mut self, notif: Notification)
crates/caffeine-ls/src/global_state.rs:187
Method
handle_request
(&mut self, req: Request)
crates/caffeine-ls/src/global_state.rs:166
Method
handle_response
(&mut self, resp: Response)
crates/caffeine-ls/src/global_state.rs:205
Method
handle_result
Helper to send response back to client
crates/caffeine-ls/src/global_state.rs:322
Method
handle_vfs_task
(&mut self, task: vfs::loader::Message)
crates/caffeine-ls/src/global_state.rs:628
Method
int
(value: i32)
lib/rust-asm/src/insn.rs:430
Method
internal_name
Returns the internal name of this type. For object types, this is the internal name (e.g. `"java/lang/Object"`). For array types, this is the descript
lib/rust-asm/src/types.rs:146
Method
into_green_node
(self)
crates/kotlin-syntax/src/parser.rs:44
Method
into_insns
(self)
lib/rust-asm/src/insn.rs:283
Method
into_physical
(self)
crates/vfs/src/lib.rs:152
Method
into_syntax_node
(self)
crates/kotlin-syntax/src/parser.rs:40
Method
invalidate
(&mut self, path: PathBuf)
crates/vfs/src/loader/notify.rs:103
Method
is_applicable
(&self, workspace_root: &std::path::Path)
crates/project-model/src/maven.rs:14
Method
is_applicable
(&self, workspace_root: &Path)
crates/project-model/src/gradle.rs:18
Method
is_applicable
(&self, workspace_root: &std::path::Path)
crates/project-model/src/eclipse.rs:13
Method
is_at_end
(&self)
crates/java-syntax/src/reader.rs:109
Method
is_at_end
(&self)
crates/kotlin-syntax/src/lexer/reader.rs:40
Method
is_at_end
(&self)
crates/kotlin-syntax/src/parser/reader.rs:43
Method
is_cancelled
Checks if a given task revision is still the latest.
crates/ide/src/lib.rs:48
Function
jump_size
(opcode: u8)
lib/rust-asm/src/class_writer.rs:1551
Method
kind
(&self)
crates/kotlin-syntax/src/parser/marker.rs:73
Method
kind_from_raw
(raw: rowan::SyntaxKind)
crates/java-syntax/src/parser.rs:26
Method
kind_from_raw
(raw: rowan::SyntaxKind)
crates/kotlin-syntax/src/parser.rs:25
Method
kind_to_raw
(kind: Self::Kind)
crates/java-syntax/src/parser.rs:30
Method
kind_to_raw
(kind: Self::Kind)
crates/kotlin-syntax/src/parser.rs:29
Method
list_files
(&self, root_url: &Url)
crates/vfs/src/virtual_path/jar.rs:119
Method
list_files
(&self, root_url: &Url)
crates/vfs/src/virtual_path/jimage.rs:75
Method
load_sync
(&mut self, path: &Path)
crates/vfs/src/loader/notify.rs:116
Method
long
(&mut self, value: i64)
lib/rust-asm/src/constant_pool.rs:323
Function
main
()
xtask/src/main.rs:15
Function
main
()
crates/caffeine-ls/src/bin/main.rs:26
Method
main_loop_num_threads
(&self)
crates/caffeine-ls/src/config.rs:97
Method
matches
(&self, kinds: &[SyntaxKind])
crates/kotlin-syntax/src/parser.rs:283
Method
name
(&self)
crates/project-model/src/idea.rs:10
Method
name
(&self)
crates/project-model/src/maven.rs:10
Method
name
(&self)
crates/project-model/src/gradle.rs:14
Method
name
(&self)
crates/project-model/src/eclipse.rs:9
Method
new
()
lib/rust-asm/src/insn.rs:145
Method
new
Creates a new, empty `ConstantPoolBuilder`. The constant pool starts with a dummy entry at index 0, as per JVM spec.
lib/rust-asm/src/constant_pool.rs:29
Method
new
Creates a new `ClassWriter`. # Arguments `options` - Bitwise flags to control generation (e.g., `COMPUTE_FRAMES`, `COMPUTE_MAXS`).
lib/rust-asm/src/class_writer.rs:117
Method
new
Constructs a new `ClassReader` with the given class file bytes. # Arguments `bytes` - A byte slice containing the JVM class file data.
lib/rust-asm/src/class_reader.rs:205
Method
new
(message: impl Into<String>, range: TextRange)
crates/syntax/src/lib.rs:40
Method
new
(interner: &'a ThreadedRodeo)
crates/syntax/src/class_parser.rs:26
Method
new
(sig: &'a str, interner: &'a ThreadedRodeo)
crates/syntax/src/class_parser/sig.rs:18
Method
new
( client_capabilities: ClientCapabilities, workspace_folders: Vec<AbsPathBuf>, client_
crates/caffeine-ls/src/config.rs:16
Method
new
(sender: Sender<lsp_server::Message>, config: Config)
crates/caffeine-ls/src/global_state.rs:100
Method
new
( jdk_home: PathBuf, task_sender: crossbeam_channel::Sender<BackgroundTaskEvent>, )
crates/caffeine-ls/src/jdk.rs:22
Method
new
(green_node: rowan::GreenNode, syntax_errors: Vec<SyntaxError>)
crates/ide/src/lib.rs:19
Method
new
()
crates/vfs/src/lib.rs:220
← previous
next →
801–900 of 1,041, ranked by callers