Function: semantic-find-tag-parent-by-overlay
semantic-find-tag-parent-by-overlay is an autoloaded and byte-compiled
function defined in find.el.gz.
Signature
(semantic-find-tag-parent-by-overlay TAG)
Documentation
Find the parent of TAG by overlays.
Overlays are a fast way of finding this information for active buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/find.el.gz
;;;###autoload
(defun semantic-find-tag-parent-by-overlay (tag)
"Find the parent of TAG by overlays.
Overlays are a fast way of finding this information for active buffers."
(let ((tag (nreverse (semantic-find-tag-by-overlay
(semantic-tag-start tag)))))
;; This is a lot like `semantic-current-tag-parent', but
;; it uses a position to do it's work. Assumes two tags don't share
;; the same start unless they are siblings.
(car (cdr tag))))