Function: bovinate

bovinate is an interactive and byte-compiled function defined in semantic.el.gz.

Signature

(bovinate &optional CLEAR)

Documentation

Parse the current buffer. Show output in a temp buffer.

Optional argument CLEAR will clear the cache before parsing. If CLEAR is negative, it will do a full reparse, and also display the output buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic.el.gz
(defun bovinate (&optional clear)
  "Parse the current buffer.  Show output in a temp buffer.
Optional argument CLEAR will clear the cache before parsing.
If CLEAR is negative, it will do a full reparse, and also display
the output buffer."
  (interactive "P")
  (if clear (semantic-clear-toplevel-cache))
  (if (eq clear '-) (setq clear -1))
  (let* ((start (current-time))
	 (out (semantic-fetch-tags)))
    (message "Retrieving tags took %.2f seconds."
	     (semantic-elapsed-time start nil))
    (when (or (null clear) (not (listp clear))
	      (and (numberp clear) (< 0 clear)))
      (pop-to-buffer "*Parser Output*")
      (require 'pp)
      (erase-buffer)
      (insert (pp-to-string out))
      (goto-char (point-min)))))