Function: semantic-lex-token-with-text-p

semantic-lex-token-with-text-p is a byte-compiled function defined in lex.el.gz.

Signature

(semantic-lex-token-with-text-p THING)

Documentation

Return non-nil if THING is a semantic lex token.

This is an exhaustively robust check.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defun semantic-lex-token-with-text-p (thing)
  "Return non-nil if THING is a semantic lex token.
This is an exhaustively robust check."
  (and (consp thing)
       (symbolp (car thing))
       (= (length thing) 4)
       (stringp (nth 1 thing))
       (numberp (nth 2 thing))
       (numberp (nth 3 thing)))
  )