Function: semantic-debug-highlight-lexical-token

semantic-debug-highlight-lexical-token is a byte-compiled function defined in debug.el.gz.

Signature

(semantic-debug-highlight-lexical-token ARG &rest ARGS)

Implementations

(semantic-debug-highlight-lexical-token (IFACE semantic-debug-interface) TOKEN) in `semantic/debug.el'.

For IFACE, highlight TOKEN in the source buffer . TOKEN is a lexical token.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/debug.el.gz
(cl-defmethod semantic-debug-highlight-lexical-token ((iface semantic-debug-interface) token)
  "For IFACE, highlight TOKEN in the source buffer .
TOKEN is a lexical token."
  (set-buffer (oref iface source-buffer))

  (object-add-to-list iface 'overlays
		      (semantic-lex-highlight-token token))

  (semantic-debug-set-source-location iface (semantic-lex-token-start token))
  )