Function: semantic-lex-token-text

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

Signature

(semantic-lex-token-text TOKEN)

Documentation

Fetch the text associated with the lexical token TOKEN.

See also the function semantic-lex-token.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defsubst semantic-lex-token-text (token)
  "Fetch the text associated with the lexical token TOKEN.
See also the function `semantic-lex-token'."
  (if (stringp (car (cdr token)))
      (car (cdr token))
    (buffer-substring-no-properties
     (semantic-lex-token-start token)
     (semantic-lex-token-end   token))))