Function: antlr-font-lock-checked-face

antlr-font-lock-checked-face is a byte-compiled function defined in antlr-mode.el.gz.

Signature

(antlr-font-lock-checked-face STRINGS GROUP FACE)

Documentation

Return font-lock face for regexp group GROUP.

If the matched string is an element of STRINGS (or STRINGS is not a list), return FACE, otherwise return font-lock-warning-face.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-font-lock-checked-face (strings group face) ; checkdoc-order: nil
  "Return font-lock face for regexp group GROUP.
If the matched string is an element of STRINGS (or STRINGS is not a list),
return FACE, otherwise return `font-lock-warning-face'."
  (if (if (consp strings) (member (match-string-no-properties group) strings) strings)
      face
    'font-lock-warning-face))