Function: semantic-tag-external-member-children-default

semantic-tag-external-member-children-default is a byte-compiled function defined in sort.el.gz.

Signature

(semantic-tag-external-member-children-default TAG &optional USEDB)

Documentation

Return list of external children for TAG.

Optional argument USEDB specifies if the semantic database is used. See semantic-tag-external-member-children for details.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/sort.el.gz
(defun semantic-tag-external-member-children-default (tag &optional usedb)
  "Return list of external children for TAG.
Optional argument USEDB specifies if the semantic database is used.
See `semantic-tag-external-member-children' for details."
  (if (and usedb
	   (require 'semantic/db-mode)
	   (semanticdb-minor-mode-p)
	   (require 'semantic/db-find))
      (let ((m (semanticdb-find-tags-external-children-of-type
		(semantic-tag-name tag) tag)))
	(if m (apply #'append (mapcar #'cdr m))))
    (semantic--find-tags-by-function
     (lambda (tok)
       ;; This bit of annoying backquote forces the contents of
       ;; tag into the generated lambda.
       (semantic-tag-external-member-p tag tok))
     (current-buffer))))