Function: semantic-lex-token-bounds

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

Signature

(semantic-lex-token-bounds TOKEN)

Documentation

Fetch the start and end locations of the lexical token TOKEN.

Return a pair (START . END).

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defsubst semantic-lex-token-bounds (token)
  "Fetch the start and end locations of the lexical token TOKEN.
Return a pair (START . END)."
  (if (not (numberp (car (cdr token))))
      (cdr (cdr token))
    (cdr token)))