Function: antlr-skip-import-statement

antlr-skip-import-statement is a byte-compiled function defined in antlr-mode.el.gz.

Signature

(antlr-skip-import-statement)

Documentation

Skip whitespaces, comments and special declarations after the header.

See antlr-skip-line-regexp, which skips the scope declaration in
ANTLR v3, and the import declaration in ANTLR v4.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-skip-import-statement ()
  "Skip whitespaces, comments and special declarations after the header.
See  `antlr-skip-line-regexp', which skips the `scope' declaration in
ANTLR v3, and the `import' declaration in ANTLR v4."
  (if (not (and antlr-skip-line-regexp (looking-at antlr-skip-line-regexp)))
      (antlr-skip-sexps 1)
    (goto-char (match-end 0))
    (prog1 (point)
      (antlr-c-forward-sws))))