Function: semanticdb-ref-test

semanticdb-ref-test is an interactive and byte-compiled function defined in db-ref.el.gz.

Signature

(semanticdb-ref-test REFRESH)

Documentation

Dump out the list of references for the current buffer.

If REFRESH is non-nil, cause the current table to have its references refreshed before dumping the result.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-ref.el.gz
(defun semanticdb-ref-test (refresh)
  "Dump out the list of references for the current buffer.
If REFRESH is non-nil, cause the current table to have its references
refreshed before dumping the result."
  (interactive "p")
  (require 'eieio-datadebug)
  ;; If we need to refresh... then do so.
  (when refresh
    (semanticdb-refresh-references semanticdb-current-table))
  ;; Do the debug system
  (let* ((tab semanticdb-current-table)
	 (myrefs (oref tab db-refs))
	 (myinc (semanticdb-includes-in-table tab))
	 (adbc (semanticdb-ref-adebug :i-depend-on myrefs
				      :local-table tab
				      :i-include myinc)))
    (data-debug-new-buffer "*References ADEBUG*")
    (data-debug-insert-object-slots adbc "!"))
  )