Function: antlr-beginning-of-rule
antlr-beginning-of-rule is an interactive and byte-compiled function
defined in antlr-mode.el.gz.
Signature
(antlr-beginning-of-rule &optional ARG)
Documentation
Move backward to preceding beginning of rule. Do it ARG many times.
A grammar class header and the file prelude are also considered as a
rule. Negative argument ARG means move forward to ARGth next beginning
of rule. If ARG is zero, run antlr-beginning-of-body.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-beginning-of-rule (&optional arg)
"Move backward to preceding beginning of rule. Do it ARG many times.
A grammar class header and the file prelude are also considered as a
rule. Negative argument ARG means move forward to ARGth next beginning
of rule. If ARG is zero, run `antlr-beginning-of-body'."
(interactive "^p")
(if (zerop arg)
(antlr-beginning-of-body)
(with-syntax-table antlr-action-syntax-table
(antlr-next-rule (- arg) t))))