Variable: antlr-font-lock-literal-regexp

antlr-font-lock-literal-regexp is a customizable variable defined in antlr-mode.el.gz.

Value

"\\([\"']\\)\\(\\sw\\(\\sw\\|-\\)*\\|\\(\\s_\\|\\s.\\)+\\|\\s(\\|\\s)\\)\\1"

Documentation

Regexp matching literals with special syntax highlighting, or nil.

If nil, there is no special syntax highlighting for some literals. Otherwise, it should be a regular expression which must contain at least two regexp groups. The string matched by the second group is highlighted with face antlr-literal.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defcustom antlr-font-lock-literal-regexp
    ;; actually, in v3/v4 it is 'L' only
  "\\([\"']\\)\\(\\sw\\(\\sw\\|-\\)*\\|\\(\\s_\\|\\s.\\)+\\|\\s(\\|\\s)\\)\\1"
  "Regexp matching literals with special syntax highlighting, or nil.
If nil, there is no special syntax highlighting for some literals.
Otherwise, it should be a regular expression which must contain at least
two regexp groups.  The string matched by the second group is highlighted
with face `antlr-literal'."
  :type '(choice (const :tag "None" nil) regexp))