Function: semantic-symref-filter-hit

semantic-symref-filter-hit is a byte-compiled function defined in filter.el.gz.

Signature

(semantic-symref-filter-hit TARGET &optional POSITION)

Documentation

Determine if the tag TARGET is used at POSITION in the current buffer.

Return non-nil for a match.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref/filter.el.gz
;;; FILTERS
;;
(defun semantic-symref-filter-hit (target &optional position)
  "Determine if the tag TARGET is used at POSITION in the current buffer.
Return non-nil for a match."
  (semantic-analyze-current-symbol
   (lambda (_start _end prefix)
     (let ((tag (car (nreverse prefix))))
       (and (semantic-tag-p tag)
	    (semantic-equivalent-tag-p target tag))))
   position))