Function: antlr-end-of-rule

antlr-end-of-rule is an interactive and byte-compiled function defined in antlr-mode.el.gz.

Signature

(antlr-end-of-rule &optional ARG)

Documentation

Move forward to next end of rule. Do it ARG [default: 1] many times.

A grammar class header and the file prelude are also considered as a rule. Negative argument ARG means move back to ARGth preceding end of rule. If ARG is zero, run antlr-end-of-body.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-end-of-rule (&optional arg)
  "Move forward to next end of rule.  Do it ARG [default: 1] many times.
A grammar class header and the file prelude are also considered as a
rule.  Negative argument ARG means move back to ARGth preceding end of
rule.  If ARG is zero, run `antlr-end-of-body'."
  (interactive "^p")
  (if (zerop arg)
      (antlr-end-of-body)
    (with-syntax-table antlr-action-syntax-table
      (antlr-next-rule arg nil))))