Variable: antlr-grammar-header-regexp

antlr-grammar-header-regexp is a variable defined in antlr-mode.el.gz.

Value

"\\<\\(lexer[        ]+grammar\\|parser[     ]+grammar\\|tree[       ]+grammar\\|grammar\\)[         ]+\\([A-Za-z\300-\326\330-\337]\\(?:\\sw\\|\\s_\\)*\\)[         ]*;"

Documentation

Regexp matching class headers.

The value might be tool-dependent, see antlr-tool-version-variables.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
;; TODO: in v4, highlight lexer commands after "->"

(defvar antlr-grammar-header-regexp
  "\\<\\(lexer[ \t]+grammar\\|parser[ \t]+grammar\\|tree[ \t]+grammar\\|grammar\\)[ \t]+\\([A-Za-z\300-\326\330-\337]\\(?:\\sw\\|\\s_\\)*\\)[ \t]*;"
  "Regexp matching class headers.
The value might be tool-dependent, see `antlr-tool-version-variables'.")