antlr-next-rule is a compiled Lisp function in `antlr-mode.el'.

(antlr-next-rule ARG SKIP-COMMENT)

Move forward to next end 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 back to ARGth preceding end of
rule. The behavior is not defined when ARG is zero. If SKIP-COMMENT
is non-nil, move to beginning of the rule.