[−][src]Function slide_ls::services::references::get_references   
pub(crate) fn get_references(
position: Position,
include_declaration: bool,
program_info: &ProgramInfo
) -> Option<Vec<Location>>
Returns references relevant to a position in a document.
- If the position is over an identifier (variable),
- if 
include_declarationis true, all references are returned. - otherwise only non-declaration references are returned.
 
 - if 
 - Otherwise, nothing is returned.