Function: semantic--format-tag-parent-tree
semantic--format-tag-parent-tree is a byte-compiled function defined
in format.el.gz.
Signature
(semantic--format-tag-parent-tree TAG PARENT)
Documentation
Under Consideration.
Return a list of parents for TAG. PARENT is the first parent, or nil. If nil, then an attempt to determine PARENT is made. Once PARENT is identified, additional parents are looked for. The return list first element is the nearest parent, and the last item is the first parent which may be a string. The root parent may not be the actual first parent as there may just be a failure to find local definitions.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/format.el.gz
(defun semantic--format-tag-parent-tree (tag parent)
"Under Consideration.
Return a list of parents for TAG.
PARENT is the first parent, or nil. If nil, then an attempt to
determine PARENT is made.
Once PARENT is identified, additional parents are looked for.
The return list first element is the nearest parent, and the last
item is the first parent which may be a string. The root parent may
not be the actual first parent as there may just be a failure to find
local definitions."
;; First, validate the PARENT argument.
(unless parent
;; All mechanisms here must be fast as often parent
;; is nil because there isn't one.
(setq parent (or (semantic-tag-function-parent tag)
(save-excursion
(require 'semantic/tag-file)
(semantic-go-to-tag tag)
(semantic-current-tag-parent)))))
(when (stringp parent)
(setq parent (semantic-find-first-tag-by-name
parent (current-buffer))))
;; Try and find a trail of parents from PARENT
(let ((rlist (list parent))
)
;; IMPLEMENT ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(reverse rlist)))