Function: antlr-search-forward
antlr-search-forward is a byte-compiled function defined in
antlr-mode.el.gz.
Signature
(antlr-search-forward STRING)
Documentation
Search forward from point for STRING.
Set point to the end of the occurrence found, and return point. Return nil if no occurrence was found. Do not search within comments, strings and actions/semantic predicates.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-search-forward (string)
"Search forward from point for STRING.
Set point to the end of the occurrence found, and return point. Return
nil if no occurrence was found. Do not search within comments, strings
and actions/semantic predicates."
;; WARNING: Should only be used with `antlr-action-syntax-table'!
(let ((continue t))
(while (and (search-forward string nil 'limit)
(if (eq (antlr-syntactic-context) 0) (setq continue nil) t)))
(if continue nil (point))))