Variable: semantic-lex-symbol-or-keyword

semantic-lex-symbol-or-keyword is a variable defined in lex.el.gz.

Value

((looking-at "\\(\\sw\\|\\s_\\)+")
 (semantic-lex-push-token
  (semantic-lex-token
   (or (semantic-lex-keyword-p (match-string 0)) 'symbol)
   (match-beginning 0) (match-end 0))))

Documentation

Detect and create symbol and keyword tokens.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(define-lex-regex-analyzer semantic-lex-symbol-or-keyword
  "Detect and create symbol and keyword tokens."
  "\\(\\sw\\|\\s_\\)+"
  (semantic-lex-push-token
   (semantic-lex-token
    (or (semantic-lex-keyword-p (match-string 0)) 'symbol)
    (match-beginning 0) (match-end 0))))