Function: semantic-grammar-tag-symbols

semantic-grammar-tag-symbols is a byte-compiled function defined in grammar.el.gz.

Signature

(semantic-grammar-tag-symbols CLASS)

Documentation

Return the list of symbols defined in tags of class CLASS.

That is tag names plus names defined in tag attribute :rest.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defun semantic-grammar-tag-symbols (class)
  "Return the list of symbols defined in tags of class CLASS.
That is tag names plus names defined in tag attribute `:rest'."
  (let* ((tags (semantic-find-tags-by-class
                class (current-buffer))))
    (apply #'append
           (mapcar
            (lambda (tag)
              (mapcar
               #'intern
               (cons (semantic-tag-name tag)
                     (semantic-tag-get-attribute tag :rest))))
            tags))))