Function: c-forward-over-token-and-ws

c-forward-over-token-and-ws is a byte-compiled function defined in cc-engine.el.gz.

Signature

(c-forward-over-token-and-ws &optional BALANCED)

Documentation

Move forward over a token and any following whitespace.

Return t if we moved, nil otherwise (i.e. we were at EOB, or a non-token or BALANCED is non-nil and we can't move). If we are at syntactic whitespace, move over this in place of a token.

If BALANCED is non-nil move over any balanced parens we are at, and never move out of an enclosing paren.

This function differs from c-forward-token-2 in that it will move forward over the final token in a buffer, up to EOB.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-forward-over-token-and-ws (&optional balanced)
  "Move forward over a token and any following whitespace.
Return t if we moved, nil otherwise (i.e. we were at EOB, or a
non-token or BALANCED is non-nil and we can't move).  If we
are at syntactic whitespace, move over this in place of a token.

If BALANCED is non-nil move over any balanced parens we are at, and never move
out of an enclosing paren.

This function differs from `c-forward-token-2' in that it will move forward
over the final token in a buffer, up to EOB."
  (prog1 (c-forward-over-token balanced)
    (c-forward-syntactic-ws)))