Function: semantic-find-tags-by-scope-protection-default
semantic-find-tags-by-scope-protection-default is a byte-compiled
function defined in find.el.gz.
Signature
(semantic-find-tags-by-scope-protection-default SCOPEPROTECTION PARENT &optional TABLE)
Documentation
Find all tags accessible by SCOPEPROTECTION.
SCOPEPROTECTION is a symbol which can be returned by the method
semantic-tag-protection. A hard-coded order is used to determine a match.
PARENT is a tag representing the PARENT slot needed for
semantic-tag-protection.
TABLE is a list of tags (a subset of PARENT members) to scan. If TABLE is nil,
the type members of PARENT are used.
See semantic-tag-protected-p for details on which tags are returned.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/find.el.gz
(defun semantic-find-tags-by-scope-protection-default
(scopeprotection parent &optional table)
"Find all tags accessible by SCOPEPROTECTION.
SCOPEPROTECTION is a symbol which can be returned by the method
`semantic-tag-protection'. A hard-coded order is used to determine a match.
PARENT is a tag representing the PARENT slot needed for
`semantic-tag-protection'.
TABLE is a list of tags (a subset of PARENT members) to scan. If TABLE is nil,
the type members of PARENT are used.
See `semantic-tag-protected-p' for details on which tags are returned."
(if (not table) (setq table (semantic-tag-type-members parent)))
(if (null scopeprotection)
table
(require 'semantic/tag-ls)
(semantic--find-tags-by-macro
(not (and (semantic-tag-protected-p (car tags) scopeprotection parent)
(semantic-tag-package-protected-p (car tags) parent)))
table)))