Home
last modified time | relevance | path

Searched defs:VfsPath (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/vfs/src/
Dvfs_path.rs13 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()
Dfile_set.rs43 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()
Dpath_interner.rs40 pub(crate) fn lookup(&self, id: FileId) -> &VfsPath { in lookup()
Dlib.rs122 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/
Dmod_.rs111 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/
Dmem_docs.rs23 pub(crate) fn insert(&mut self, path: VfsPath, data: DocumentData) -> Result<(), ()> { in insert()
Dfrom_proto.rs25 pub(crate) fn vfs_path(url: &lsp_types::Url) -> Result<vfs::VfsPath> { in vfs_path()
Dglobal_state.rs453 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/
Danalysis_stats.rs764 ) -> 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/
Dinput.rs53 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/
Drequest.rs1972 fn crate_path(root_file_path: VfsPath) -> Option<VfsPath> { in crate_path()