Function: semantic-lex-test
semantic-lex-test is an interactive and byte-compiled function defined
in lex.el.gz.
Signature
(semantic-lex-test ARG)
Documentation
Test the semantic lexer in the current buffer.
If universal argument ARG, then try the whole buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defun semantic-lex-test (arg)
"Test the semantic lexer in the current buffer.
If universal argument ARG, then try the whole buffer."
(interactive "P")
(require 'semantic)
(let* ((start (current-time))
(result (semantic-lex
(if arg (point-min) (point))
(point-max))))
(message "Elapsed Time: %.2f seconds."
(semantic-elapsed-time start nil))
(pop-to-buffer "*Lexer Output*")
(require 'pp)
(erase-buffer)
(insert (pp-to-string result))
(goto-char (point-min))
))