Skip to main content Module definition Copy item path Source find_declaration_range Search an AST for a declaration named name, returning its selection range.
Used by the PSR-4 fallback in the backend after resolving a class to a file. find_in_indexes Find a class/function declaration by name in a slice of FileIndex entries.
Returns the URI and a line-level Range. find_method_in_class_hierarchy Walk the class hierarchy (extends + traits) in the workspace index to find
method_name defined in class_name or any of its superclasses/traits. goto_definition Find the definition of the symbol under position.
Searches the current document first, then other_docs for cross-file resolution.