Function: semantic--tag-deep-copy-tag-list
semantic--tag-deep-copy-tag-list is a byte-compiled function defined
in tag.el.gz.
Signature
(semantic--tag-deep-copy-tag-list TAGS &optional FILTER)
Documentation
Make a deep copy of TAGS, applying FILTER to each child-tag.
It is safe to modify the TAGS list, and return a permutation of that list.
FILTER takes TAG as an argument, and should return a semantic-tag. It is safe for FILTER to modify the input tag and return it.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defun semantic--tag-deep-copy-tag-list (tags &optional filter)
"Make a deep copy of TAGS, applying FILTER to each child-tag.
It is safe to modify the TAGS list, and return a permutation of that list.
FILTER takes TAG as an argument, and should return a semantic-tag.
It is safe for FILTER to modify the input tag and return it."
(when (car tags)
(if (semantic-tag-p (car tags))
(cons (semantic-tag-deep-copy-one-tag (car tags) filter)
(semantic--tag-deep-copy-tag-list (cdr tags) filter))
(cons (car tags) (semantic--tag-deep-copy-tag-list (cdr tags) filter)))))