Function: semanticdb-typecache-apply-filename

semanticdb-typecache-apply-filename is a byte-compiled function defined in db-typecache.el.gz.

Signature

(semanticdb-typecache-apply-filename FILE STREAM)

Documentation

Apply the filename FILE to all tags in STREAM.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-typecache.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; MERGING
;;
;; Managing long streams of tags representing data types.
;;
(defun semanticdb-typecache-apply-filename (file stream)
  "Apply the filename FILE to all tags in STREAM."
  (let ((new nil))
    (while stream
      (setq new (cons (semantic-tag-copy (car stream) nil file)
		      new))
      ;The below is handled by the tag-copy fcn.
      ;(semantic--tag-put-property (car new) :filename file)
      (setq stream (cdr stream)))
    (nreverse new)))