pub trait DefinitionProvider<L: Language> { // Required method fn definition(&self, root: &RedNode<'_, L>, offset: usize) -> Vec<Location>; }
Trait for languages that support jumping to definition.
Returns the definition(s) of the symbol at the given offset.