Variable: srecode-font-lock-keywords
srecode-font-lock-keywords is a variable defined in srt-mode.el.gz.
Value
Large value
(("^\\(template\\)\\s-+\\(\\w*\\)\\(\\( \\(:\\w+\\)\\)*\\)$"
(1 font-lock-keyword-face) (2 font-lock-function-name-face)
(3 font-lock-builtin-face))
("^\\(sectiondictionary\\)\\s-+\"" (1 font-lock-keyword-face))
("^\\s *\\(section\\)\\s-+\"" (1 font-lock-keyword-face))
("^\\s *\\(end\\)" (1 font-lock-keyword-face))
("^\\(bind\\)\\s-+\"" (1 font-lock-keyword-face))
("^\\s *\\(set\\)\\s-+\\(\\w+\\)\\s-+" (1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("^\\s *\\(show\\)\\s-+\\(\\w+\\)\\s-*$" (1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("\\<\\(macro\\)\\s-+\"" (1 font-lock-keyword-face))
("^\\(context\\)\\s-+\\(\\w+\\)" (1 font-lock-keyword-face)
(2 font-lock-builtin-face))
("^\\(prompt\\)\\s-+\\(\\w+\\)" (1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("\\(default\\(macro\\)?\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
(1 font-lock-keyword-face) (3 font-lock-type-face))
("\\<\\(default\\(macro\\)?\\)\\>" (1 font-lock-keyword-face))
("\\<\\(read\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
(1 font-lock-keyword-face) (2 font-lock-type-face))
("^----\n" 0 'srecode-separator-face)
(srecode-template-mode-macro-escape-match 1 font-lock-string-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper limit
"\\(\\??\\w+\\)[^ \n{}$#@&*()]*"))
1 font-lock-variable-name-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper limit
"\\([#/]\\w+\\)[^ \n{}$#@&*()]*"))
1 font-lock-keyword-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper limit
"\\([<>]\\w*\\):\\(\\w+\\):\\(\\w+\\)"))
(1 font-lock-keyword-face) (2 font-lock-builtin-face)
(3 font-lock-type-face))
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper limit
"\\([<>?]?\\w*\\):\\(\\w+\\)"))
(1 font-lock-keyword-face) (2 font-lock-type-face))
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper limit
"!\\([^{}$]*\\)"))
1 font-lock-comment-face))
Documentation
Keywords for use with srecode macros and font-lock.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/srt-mode.el.gz
(defvar srecode-font-lock-keywords
'(
;; Template
("^\\(template\\)\\s-+\\(\\w*\\)\\(\\( \\(:\\w+\\)\\)*\\)$"
(1 font-lock-keyword-face)
(2 font-lock-function-name-face)
(3 font-lock-builtin-face ))
("^\\(sectiondictionary\\)\\s-+\""
(1 font-lock-keyword-face))
("^\\s\s*\\(section\\)\\s-+\""
(1 font-lock-keyword-face))
("^\\s\s*\\(end\\)"
(1 font-lock-keyword-face))
("^\\(bind\\)\\s-+\""
(1 font-lock-keyword-face))
;; Variable type setting
("^\\s\s*\\(set\\)\\s-+\\(\\w+\\)\\s-+"
(1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("^\\s\s*\\(show\\)\\s-+\\(\\w+\\)\\s-*$"
(1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("\\<\\(macro\\)\\s-+\""
(1 font-lock-keyword-face))
;; Context type setting
("^\\(context\\)\\s-+\\(\\w+\\)"
(1 font-lock-keyword-face)
(2 font-lock-builtin-face))
;; Prompting setting
("^\\(prompt\\)\\s-+\\(\\w+\\)"
(1 font-lock-keyword-face)
(2 font-lock-variable-name-face))
("\\(default\\(macro\\)?\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
(1 font-lock-keyword-face)
(3 font-lock-type-face))
("\\<\\(default\\(macro\\)?\\)\\>" (1 font-lock-keyword-face))
("\\<\\(read\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
(1 font-lock-keyword-face)
(2 font-lock-type-face))
;; Macro separators
("^----\n" 0 'srecode-separator-face)
;; Macro Matching
(srecode-template-mode-macro-escape-match 1 font-lock-string-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper
limit "\\(\\??\\w+\\)[^ \t\n{}$#@&*()]*"))
1 font-lock-variable-name-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper
limit "\\([#/]\\w+\\)[^ \t\n{}$#@&*()]*"))
1 font-lock-keyword-face)
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper
limit "\\([<>]\\w*\\):\\(\\w+\\):\\(\\w+\\)"))
(1 font-lock-keyword-face)
(2 font-lock-builtin-face)
(3 font-lock-type-face))
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper
limit "\\([<>?]?\\w*\\):\\(\\w+\\)"))
(1 font-lock-keyword-face)
(2 font-lock-type-face))
((lambda (limit)
(srecode-template-mode-font-lock-macro-helper
limit "!\\([^{}$]*\\)"))
1 font-lock-comment-face)
)
"Keywords for use with srecode macros and font-lock.")