MCPcopy Create free account

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

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

Functiondump_parse_errors
(errors: &[ParseError])
crates/java-syntax/tests/common.rs:55
Functiondump_tokens
(tokens: &[Token<'_>])
crates/java-syntax/tests/common.rs:10
Functiondump_tokens
(tokens: &[Token<'_>])
crates/kotlin-syntax/tests/common.rs:6
Functiondump_tree
(node: &SyntaxNode<Lang>)
crates/java-syntax/tests/common.rs:175
Methodeditable
(lib_id: LibraryId, path: AbsPathBuf)
crates/project-model/src/workspace.rs:62
Functionensure_module
(cp: &mut Vec<CpInfo>, name: &str)
lib/rust-asm/src/class_writer.rs:3258
Functionensure_package
(cp: &mut Vec<CpInfo>, name: &str)
lib/rust-asm/src/class_writer.rs:3272
Methodeof
(offset: usize)
crates/kotlin-syntax/src/lexer/token.rs:20
Methoderror_expected_construct
(&mut self, construct: ExpectedConstruct)
crates/kotlin-syntax/src/parser.rs:246
Methoderrors
All errors recorded so far (lazily populated by `advance()`).
crates/java-syntax/src/reader.rs:47
Methoderrors
(&self)
crates/kotlin-syntax/src/parser.rs:48
Methodexpect
(&mut self, kind: SyntaxKind)
crates/kotlin-syntax/src/parser.rs:217
Methodexpect_contextual_kw
(&mut self, kw: ContextualKeyword)
crates/kotlin-syntax/src/parser.rs:184
Methodfetch_bytes
(&self, url: &Url)
crates/vfs/src/virtual_path/jimage.rs:42
Functionfile_id_to_url
(vfs: &Vfs, file_id: FileId)
crates/caffeine-ls/src/from_proto.rs:5
Functionfind_code_installation
()
xtask/src/development.rs:66
Methodfloat
(&mut self, value: f32)
lib/rust-asm/src/constant_pool.rs:319
Methodfloat
(val: f32)
crates/syntax/src/ast.rs:62
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
lib/rust-asm/src/types.rs:283
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
crates/syntax/src/lib.rs:58
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
crates/caffeine-ls/src/config.rs:145
Methodfrom
(value: u8)
lib/rust-asm/src/insn.rs:11
Methodfrom
(kind: SyntaxKind)
crates/java-syntax/src/syntax_kind.rs:414
Methodfrom
(kind: SyntaxKind)
crates/kotlin-syntax/src/syntax_kind.rs:146
Methodfrom_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
Methodfrom_ext
(ext: &str)
crates/syntax/src/lib.rs:22
Methodfrom_index
(opcode: u8, index: u16)
lib/rust-asm/src/insn.rs:365
Methodfrom_jar_path
Generate a unique ID for a JAR file based on its path and metadata
crates/project-model/src/workspace.rs:28
Methodfrom_java_lexer
(lex_err: &java_syntax::LexicalError)
crates/syntax/src/java_parser.rs:6
Methodfrom_java_parser
(parse_err: &java_syntax::ParseError)
crates/syntax/src/java_parser.rs:47
Functionfrom_json
( what: &'static str, json: &serde_json::Value, )
crates/caffeine-ls/src/lib.rs:21
Methodfrom_label
(label: Label)
lib/rust-asm/src/insn.rs:170
Methodfrom_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
Methodfrom_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
Methodget_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
Methodget_argument_types
If this is a method type, returns the argument types.
lib/rust-asm/src/types.rs:173
Methodget_class_name
Returns the Java class name corresponding to this type (e.g. "int", "java.lang.Object[]").
lib/rust-asm/src/types.rs:125
Methodget_dimensions
If this is an array type, returns the number of dimensions. Otherwise returns 0.
lib/rust-asm/src/types.rs:156
Methodget_double
(&self, index: u16)
lib/rust-asm/src/constant_pool.rs:570
Methodget_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
Methodget_files_containing
(&self, word: &str)
crates/ide-db/src/lexical.rs:52
Methodget_float
(&self, index: u16)
lib/rust-asm/src/constant_pool.rs:566
Methodget_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
Methodget_method_type_from_parts
Creates a method type from its return type and argument types.
lib/rust-asm/src/types.rs:70
Methodget_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
Methodget_return_type
If this is a method type, returns the return type.
lib/rust-asm/src/types.rs:181
Methodget_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
Methodget_sort
Returns the sort of this type (as an integer, compatible with ASM constants).
lib/rust-asm/src/types.rs:78
Methodget_tree
(&self, file_id: FileId)
crates/ide/src/lib.rs:34
Methodget_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
Methodhandle_background_task
(&mut self, event: BackgroundTaskEvent)
crates/caffeine-ls/src/global_state.rs:358
Methodhandle_notification
(&mut self, notif: Notification)
crates/caffeine-ls/src/global_state.rs:187
Methodhandle_request
(&mut self, req: Request)
crates/caffeine-ls/src/global_state.rs:166
Methodhandle_response
(&mut self, resp: Response)
crates/caffeine-ls/src/global_state.rs:205
Methodhandle_result
Helper to send response back to client
crates/caffeine-ls/src/global_state.rs:322
Methodhandle_vfs_task
(&mut self, task: vfs::loader::Message)
crates/caffeine-ls/src/global_state.rs:628
Methodint
(value: i32)
lib/rust-asm/src/insn.rs:430
Methodinternal_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
Methodinto_green_node
(self)
crates/kotlin-syntax/src/parser.rs:44
Methodinto_insns
(self)
lib/rust-asm/src/insn.rs:283
Methodinto_physical
(self)
crates/vfs/src/lib.rs:152
Methodinto_syntax_node
(self)
crates/kotlin-syntax/src/parser.rs:40
Methodinvalidate
(&mut self, path: PathBuf)
crates/vfs/src/loader/notify.rs:103
Methodis_applicable
(&self, workspace_root: &std::path::Path)
crates/project-model/src/maven.rs:14
Methodis_applicable
(&self, workspace_root: &Path)
crates/project-model/src/gradle.rs:18
Methodis_applicable
(&self, workspace_root: &std::path::Path)
crates/project-model/src/eclipse.rs:13
Methodis_at_end
(&self)
crates/java-syntax/src/reader.rs:109
Methodis_at_end
(&self)
crates/kotlin-syntax/src/lexer/reader.rs:40
Methodis_at_end
(&self)
crates/kotlin-syntax/src/parser/reader.rs:43
Methodis_cancelled
Checks if a given task revision is still the latest.
crates/ide/src/lib.rs:48
Functionjump_size
(opcode: u8)
lib/rust-asm/src/class_writer.rs:1551
Methodkind
(&self)
crates/kotlin-syntax/src/parser/marker.rs:73
Methodkind_from_raw
(raw: rowan::SyntaxKind)
crates/java-syntax/src/parser.rs:26
Methodkind_from_raw
(raw: rowan::SyntaxKind)
crates/kotlin-syntax/src/parser.rs:25
Methodkind_to_raw
(kind: Self::Kind)
crates/java-syntax/src/parser.rs:30
Methodkind_to_raw
(kind: Self::Kind)
crates/kotlin-syntax/src/parser.rs:29
Methodlist_files
(&self, root_url: &Url)
crates/vfs/src/virtual_path/jar.rs:119
Methodlist_files
(&self, root_url: &Url)
crates/vfs/src/virtual_path/jimage.rs:75
Methodload_sync
(&mut self, path: &Path)
crates/vfs/src/loader/notify.rs:116
Methodlong
(&mut self, value: i64)
lib/rust-asm/src/constant_pool.rs:323
Functionmain
()
xtask/src/main.rs:15
Functionmain
()
crates/caffeine-ls/src/bin/main.rs:26
Methodmain_loop_num_threads
(&self)
crates/caffeine-ls/src/config.rs:97
Methodmatches
(&self, kinds: &[SyntaxKind])
crates/kotlin-syntax/src/parser.rs:283
Methodname
(&self)
crates/project-model/src/idea.rs:10
Methodname
(&self)
crates/project-model/src/maven.rs:10
Methodname
(&self)
crates/project-model/src/gradle.rs:14
Methodname
(&self)
crates/project-model/src/eclipse.rs:9
Methodnew
()
lib/rust-asm/src/insn.rs:145
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
(message: impl Into<String>, range: TextRange)
crates/syntax/src/lib.rs:40
Methodnew
(interner: &'a ThreadedRodeo)
crates/syntax/src/class_parser.rs:26
Methodnew
(sig: &'a str, interner: &'a ThreadedRodeo)
crates/syntax/src/class_parser/sig.rs:18
Methodnew
( client_capabilities: ClientCapabilities, workspace_folders: Vec<AbsPathBuf>, client_
crates/caffeine-ls/src/config.rs:16
Methodnew
(sender: Sender<lsp_server::Message>, config: Config)
crates/caffeine-ls/src/global_state.rs:100
Methodnew
( jdk_home: PathBuf, task_sender: crossbeam_channel::Sender<BackgroundTaskEvent>, )
crates/caffeine-ls/src/jdk.rs:22
Methodnew
(green_node: rowan::GreenNode, syntax_errors: Vec<SyntaxError>)
crates/ide/src/lib.rs:19
Methodnew
()
crates/vfs/src/lib.rs:220
← previousnext →801–900 of 1,041, ranked by callers