Variable: semantic-grammar-mode-keywords-3

semantic-grammar-mode-keywords-3 is a variable defined in grammar.el.gz.

Value

Large value
(("\\(\\<%%\\>\\|\\<%[{}]\\)" 0 font-lock-constant-face)
 ("\\(%\\)\\(\\(\\sw\\|\\s_\\)+\\)" (1 font-lock-constant-face)
  (2 font-lock-keyword-face))
 ("\\<error\\>" 0 (unless (semantic-grammar-in-lisp-p) 'bold))
 ("^\\(\\(\\sw\\|\\s_\\)+\\)[ \n
	]*:" 1
  font-lock-function-name-face)
 (semantic--grammar-macros-matcher 1 font-lock-builtin-face)
 ("\\$\\(\\sw\\|\\s_\\)*" 0 font-lock-variable-name-face)
 ("<\\(\\(\\sw\\|\\s_\\)+\\)>" 1 font-lock-type-face)
 ("'\\s\\?.'" 0 font-lock-constant-face t)
 ("[
\n	 ]+:\\sw+\\>" 0 font-lock-builtin-face)
 ("(\\(cl-def\\(?:generic\\|m\\(?:acro\\|ethod\\)\\|s\\(?:\\(?:truc\\|ubs\\)t\\)\\|type\\|un\\)\\|def\\(?:a\\(?:dvice\\|lias\\)\\|c\\(?:lass\\|onst\\|ustom\\)\\|face\\|g\\(?:eneric\\|roup\\)\\|ine-\\(?:advice\\|derived-mode\\|error\\|g\\(?:\\(?:eneric\\|lobal\\(?:\\(?:ized\\)?-minor\\)\\)-mode\\)\\|inline\\|minor-mode\\|skeleton\\|widget\\)\\|m\\(?:acro\\|ethod\\)\\|subst\\|theme\\|un\\|var\\(?:-local\\|alias\\)?\\)\\|ert-deftest\\)\\_>[    ']*\\(([        ']*\\)?\\(\\(setf\\)[   ]+\\(?:\\w\\|\\s_\\|\\\\.\\)+\\|\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)?"
  (1 font-lock-keyword-face)
  (3
   (let
       ((type (get (intern-soft (match-string 1)) 'lisp-define-type)))
     (cond ((eq type 'var) font-lock-variable-name-face)
	   ((eq type 'type) font-lock-type-face)
	   ((or (not (match-string 2))
		(and (match-string 2) (match-string 4)))
	    font-lock-function-name-face)))
   nil t))
 ("^;;;###\\(\\([-[:alnum:]]+?\\)-\\)?\\(autoload\\)"
  (3 font-lock-warning-face prepend)
  (2 font-lock-function-name-face prepend t))
 ("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)
 ("(\\(cl-\\(?:assert\\|check-type\\)\\|error\\|signal\\|user-error\\|warn\\)\\_>"
  (1 font-lock-warning-face))
 (lisp--el-match-keyword . 1)
 ("(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\_>[  ']*\\(\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)?"
  (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
 ("\\\\\\\\\\(?:\\[\\(?1:\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)]\\|`\\(?1:\\(?:\\w\\|\\s_\\|\\\\.\\)+\\(?: \\(?:\\w\\|\\s_\\|\\\\.\\)+\\)*\\)'\\)"
  (1 font-lock-constant-face prepend))
 ("\\\\\\\\\\(?:<\\(?1:\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)>\\|{\\(?1:\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)}\\)"
  (1 font-lock-variable-name-face prepend))
 ("\\(\\\\\\)\\([^\"\\]\\)" (1 (elisp--font-lock-backslash) prepend))
 ("[`‘']\\(\\(?:\\w\\|\\s_\\|\\\\.\\)+\\)['’]"
  (1 font-lock-constant-face prepend))
 ("\\\\\\\\=" (0 font-lock-builtin-face prepend))
 (#[257 "\300\301\"\207" [lisp-mode--search-key ":"] 4
	("emacs-lisp/lisp-mode.elc" . 7742)]
  (0 font-lock-builtin-face))
 (#[257 "\300\301\"\207" [lisp-mode--search-key "&"] 4
	("emacs-lisp/lisp-mode.elc" . 7742)]
  (0 font-lock-type-face))
 (#[257
    "\30021�\301\302\303#\2050�\304\224\204�\305`S\306\"\211<\203!�\307>\204'�\211\307=\203,�\310\300\303\"\210\210\202�0\207"
    [found re-search-forward
	   "\\(\\\\\\\\\\)\\(?:\\(\\\\\\\\\\)\\|\\((\\(?:\\?[0-9]*:\\)?\\|[|)]\\)\\)"
	   t 2 get-text-property face font-lock-string-face throw]
    5 ("emacs-lisp/lisp-mode.elc" . 7742)]
  (1 'font-lock-regexp-grouping-backslash prepend)
  (3 'font-lock-regexp-grouping-construct prepend))
 (lisp--match-hidden-arg
  (0
   '(face font-lock-warning-face help-echo
	  "Easy to misread; consider moving the element to the next line")
   prepend))
 (lisp--match-confusable-symbol-character 0
					  '(face
					    font-lock-warning-face
					    help-echo
					    "Confusable character")))

Documentation

Font Lock keywords used to highlight Semantic grammar buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defvar semantic-grammar-mode-keywords-3
  (append semantic-grammar-mode-keywords-1
	  (if (boundp 'lisp-font-lock-keywords-2)
	      lisp-font-lock-keywords-2
	    lisp-el-font-lock-keywords-2))
  "Font Lock keywords used to highlight Semantic grammar buffers.")