Function: semantic-lex-type-value
semantic-lex-type-value is a byte-compiled function defined in
lex.el.gz.
Signature
(semantic-lex-type-value TYPE &optional NOERROR)
Documentation
Return value of symbol with TYPE name.
If optional argument NOERROR is non-nil return nil if a symbol with TYPE name does not exist. Otherwise signal an error.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defsubst semantic-lex-type-value (type &optional noerror)
"Return value of symbol with TYPE name.
If optional argument NOERROR is non-nil return nil if a symbol with
TYPE name does not exist. Otherwise signal an error."
(let ((sym (semantic-lex-type-symbol type)))
(if sym
(symbol-value sym)
(unless noerror
(semantic-lex-type-invalid type)))))