Function: xref-backend-definitions
xref-backend-definitions is a byte-compiled function defined in
xref.el.gz.
Signature
(xref-backend-definitions BACKEND IDENTIFIER)
Documentation
Find definitions of IDENTIFIER.
The result must be a list of xref objects. If IDENTIFIER contains sufficient information to determine a unique definition, return only that definition. If there are multiple possible definitions, return all of them. If no definitions can be found, return nil.
IDENTIFIER can be any string returned by
xref-backend-identifier-at-point, or from the table returned by
xref-backend-identifier-completion-table.
To create an xref object, call xref-make.
Implementations
(xref-backend-definitions (BACKEND (eql cider)) VAR) in `cider-xref-backend.el'.
Find definitions of VAR.
(xref-backend-definitions (BACKEND (eql (quote etags))) SYMBOL) in `etags.el'.
Undocumented
(xref-backend-definitions (BACKEND (eql eglot)) ID) in `eglot.el'.
Undocumented
(xref-backend-definitions (BACKEND (eql (quote elisp))) IDENTIFIER) in `elisp-mode.el'.
Undocumented
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(cl-defgeneric xref-backend-definitions (backend identifier)
"Find definitions of IDENTIFIER.
The result must be a list of xref objects. If IDENTIFIER
contains sufficient information to determine a unique definition,
return only that definition. If there are multiple possible
definitions, return all of them. If no definitions can be found,
return nil.
IDENTIFIER can be any string returned by
`xref-backend-identifier-at-point', or from the table returned by
`xref-backend-identifier-completion-table'.
To create an xref object, call `xref-make'.")