Variable: antlr-ruleref-assign-regexp
antlr-ruleref-assign-regexp is a variable defined in antlr-mode.el.gz.
Value
"\\(\\sw+\\)[ ]*\\(\\+?=\\)?"
Documentation
Regexp matching rule references or their optional labels.
If the second regexp group does not match, the first regexp group
matches a rule reference, which is highlighted with face antlr-tokenref
for token rules, and face antlr-ruleref for other rules.
If there is no third regexp group or it does not match, the first
regexp group matches a rule label, which is highlighted with face
font-lock-variable-name-face.
The value might be tool-dependent, see antlr-tool-version-variables.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defvar antlr-ruleref-assign-regexp "\\(\\sw+\\)[ \t]*\\(\\+?=\\)?"
"Regexp matching rule references or their optional labels.
If the second regexp group does not match, the first regexp group
matches a rule reference, which is highlighted with face `antlr-tokenref'
for token rules, and face `antlr-ruleref' for other rules.
If there is no third regexp group or it does not match, the first
regexp group matches a rule label, which is highlighted with face
`font-lock-variable-name-face'.
The value might be tool-dependent, see `antlr-tool-version-variables'.")