Searched defs:VfsPath (Results 1 – 11 of 11) sorted by relevance
| /third_party/rust/rust/src/tools/rust-analyzer/crates/vfs/src/ |
| D | vfs_path.rs | 13 pub struct VfsPath(VfsPathRepr); struct 15 impl VfsPath { implementation 23 pub fn new_virtual_path(path: String) -> VfsPath { in new_virtual_path() 30 pub fn new_real_path(path: String) -> VfsPath { in new_real_path() 43 pub fn join(&self, path: &str) -> Option<VfsPath> { in join() 98 pub fn parent(&self) -> Option<VfsPath> { in parent()
|
| D | file_set.rs | 43 pub fn path_for_file(&self, file: &FileId) -> Option<&VfsPath> { in path_for_file() 51 pub fn insert(&mut self, file_id: FileId, path: VfsPath) { in insert() 129 fn classify(&self, path: &VfsPath, scratch_space: &mut Vec<u8>) -> usize { in classify() 155 pub fn add_file_set(&mut self, roots: Vec<VfsPath>) { in add_file_set()
|
| D | path_interner.rs | 40 pub(crate) fn lookup(&self, id: FileId) -> &VfsPath { in lookup()
|
| D | lib.rs | 122 pub fn file_path(&self, file_id: FileId) -> VfsPath { in file_path() 160 pub fn set_file_contents(&mut self, path: VfsPath, mut contents: Option<Vec<u8>>) -> bool { in set_file_contents()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/ |
| D | mod_.rs | 111 module_file_path: &VfsPath, in directory_to_look_for_submodules() 112 ) -> Option<VfsPath> { in directory_to_look_for_submodules()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/ |
| D | mem_docs.rs | 23 pub(crate) fn insert(&mut self, path: VfsPath, data: DocumentData) -> Result<(), ()> { in insert()
|
| D | from_proto.rs | 25 pub(crate) fn vfs_path(url: &lsp_types::Url) -> Result<vfs::VfsPath> { in vfs_path()
|
| D | global_state.rs | 453 pub(crate) fn file_id_to_file_path(&self, file_id: FileId) -> vfs::VfsPath { in file_id_to_file_path()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/ |
| D | analysis_stats.rs | 764 ) -> Option<(VfsPath, LineCol, LineCol)> { in expr_syntax_range() 785 ) -> Option<(VfsPath, LineCol, LineCol)> { in pat_syntax_range()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/base-db/src/ |
| D | input.rs | 53 pub fn path_for_file(&self, file: &FileId) -> Option<&VfsPath> { in path_for_file()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/ |
| D | request.rs | 1972 fn crate_path(root_file_path: VfsPath) -> Option<VfsPath> { in crate_path()
|