pub fn find_all_refs(
        &self,
        position: FilePosition,
        search_scope: Option<SearchScope>,
    ) -> Cancelable<Option<ReferenceSearchResult>> {
        self.with_db(|db| references::find_all_refs(&Semantics::new(db), position, search_scope))
    }
/// Finds all usages of the reference at point.
Finds all usages of the reference at point.
Finds all usages of the reference at point .
pub fn find_all_refs(
        &self,
        position: FilePosition,
        search_scope: Option<SearchScope>,
    ) -> Cancelable<Option<ReferenceSearchResult>> {
        self.with_db(|db| references::find_all_refs(&Semantics::new(db), position, search_scope))
    }
pub fn find_all_refs ( & self , position : FilePosition , search_scope : Option < SearchScope > , ) -> Cancelable < Option < ReferenceSearchResult > > { self . with_db ( | db | references :: find_all_refs ( & Semantics :: new ( db ) , position , search_scope ) ) }
Finds all usages of the reference at point.
Finds all usages of the reference at point .
&self
position
FilePosition
search_scope
Option<SearchScope>