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 a rule.
Negative argument ARG means move forward to abs(ARG)th next rule:
beginning of rule if antlr-end-of-defun-is-next is nil, and end
of rule otherwise.
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 a
rule.
Negative argument ARG means move forward to abs(ARG)th next rule:
beginning of rule if `antlr-end-of-defun-is-next' is nil, and end
of rule otherwise.
If ARG is zero, run `antlr-beginning-of-body'."
(interactive "^p")
(if (zerop arg)
(antlr-beginning-of-body)
(antlr-next-rule (- arg) (if antlr-end-of-defun-is-next (> arg 0) t))))