Function: semantic-grammar-keywords
semantic-grammar-keywords is a byte-compiled function defined in
grammar.el.gz.
Signature
(semantic-grammar-keywords)
Documentation
Return the language keywords.
That is an alist of (VALUE . TOKEN) where VALUE is the string value of the keyword and TOKEN is the terminal symbol identifying the keyword.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defsubst semantic-grammar-keywords ()
"Return the language keywords.
That is an alist of (VALUE . TOKEN) where VALUE is the string value of
the keyword and TOKEN is the terminal symbol identifying the keyword."
(mapcar
(lambda (key)
(cons (semantic-tag-get-attribute key :value)
(intern (semantic-tag-name key))))
(semantic-find-tags-by-class 'keyword (current-buffer))))