Function: semantic-analyze-tag-references-default
semantic-analyze-tag-references-default is a byte-compiled function
defined in refs.el.gz.
Signature
(semantic-analyze-tag-references-default TAG &optional DB)
Documentation
Analyze the references for TAG.
Returns a class with information about TAG.
Optional argument DB is a database. It will be used to help locate TAG.
Use semantic-analyze-current-tag to debug this fcn.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/analyze/refs.el.gz
(defun semantic-analyze-tag-references-default (tag &optional db)
"Analyze the references for TAG.
Returns a class with information about TAG.
Optional argument DB is a database. It will be used to help
locate TAG.
Use `semantic-analyze-current-tag' to debug this fcn."
(when (not (semantic-tag-p tag)) (signal 'wrong-type-argument (list 'semantic-tag-p tag)))
(let ((allhits nil)
(scope nil)
)
(save-excursion
(semantic-go-to-tag tag db)
(setq scope (semantic-calculate-scope))
(setq allhits (semantic--analyze-refs-full-lookup tag scope t))
(semantic-analyze-references (semantic-tag-name tag)
:tag tag
:tagdb db
:scope scope
:rawsearchdata allhits)
)))