Function: semantic-find-tags-by-scope-protection

semantic-find-tags-by-scope-protection is an autoloaded and byte-compiled function defined in find.el.gz.

Signature

(semantic-find-tags-by-scope-protection 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
;;;###autoload
(define-overloadable-function semantic-find-tags-by-scope-protection (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 (eq (semantic-tag-class parent) 'type))
      (signal 'wrong-type-argument '(semantic-find-tags-by-scope-protection
				     parent
				     semantic-tag-class type))
    (:override)))