pub fn goto_definition(
doc: &DocumentState,
position: Position,
uri: &Url,
) -> Option<GotoDefinitionResponse>Expand description
Handle go-to-definition request.
Given a cursor position, find the token at that position, look up its name in the symbol index, and return the definition’s location.