Function: semanticdb-typecache-find-by-name-helper
semanticdb-typecache-find-by-name-helper is a byte-compiled function
defined in db-typecache.el.gz.
Signature
(semanticdb-typecache-find-by-name-helper NAME TABLE)
Documentation
Find the tag with NAME in TABLE, which is from a typecache.
If more than one tag has NAME in TABLE, we will prefer the tag that
is of class type.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-typecache.el.gz
(defun semanticdb-typecache-find-by-name-helper (name table)
"Find the tag with NAME in TABLE, which is from a typecache.
If more than one tag has NAME in TABLE, we will prefer the tag that
is of class `type'."
(let* ((names (semantic-find-tags-by-name name table))
(nmerge (semanticdb-typecache-merge-streams names nil))
(types (semantic-find-tags-by-class 'type nmerge)))
(or (car-safe types) (car-safe nmerge))))