What kind of symbol the cursor is on. Used to dispatch to the
appropriate semantic walker so that, e.g., searching for get as a
method doesn’t return free-function calls named get.
Find all locations where word is referenced across the given documents.
If include_declaration is true, also includes the declaration site.
Pass kind to restrict results to a particular symbol category; None
falls back to the original word-based walker (better some results than none).
Like find_references_codebase but accepts an exact FQN (for Function/Class)
or owning FQCN (for Method) to avoid short-name collisions across namespaces
and unrelated classes. When target_fqn is None, behaves identically to
find_references_codebase.
Like find_references but narrows scanning to docs whose namespace +
use imports would resolve word to target_fqn. Used by
textDocument/references for the AST fallback so it doesn’t match
same-short-name symbols in unrelated namespaces.
Like find_references but also includes use statement spans.
Used by rename so that use Foo; statements are also updated.
Always uses the general walker (rename must update all occurrence kinds).