Function: semantic-lex-types

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

Signature

(semantic-lex-types &optional PROPERTY)

Documentation

Return a list of lexical type symbols.

If optional PROPERTY is non-nil, return only type symbols which have PROPERTY set.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defun semantic-lex-types (&optional property)
  "Return a list of lexical type symbols.
If optional PROPERTY is non-nil, return only type symbols which have
PROPERTY set."
  (let (types)
    (semantic-lex-map-types
     (lambda (symbol) (setq types (cons symbol types)))
     property)
    types))