Function: semantic-analyze-type-to-name

semantic-analyze-type-to-name is a byte-compiled function defined in fcn.el.gz.

Signature

(semantic-analyze-type-to-name TYPE)

Documentation

Get the name of TAG's type.

The TYPE field in a tag can be nil (return nil) or a string, or a non-positional tag.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/analyze/fcn.el.gz
;; Finding a data type by name within a project.
;;
(defun semantic-analyze-type-to-name (type)
  "Get the name of TAG's type.
The TYPE field in a tag can be nil (return nil)
or a string, or a non-positional tag."
  (cond ((semantic-tag-p type)
	 (if (semantic-tag-named-parent type)
	     (semantic-analyze-unsplit-name `(,(semantic-tag-named-parent type)
					      ,(semantic-tag-name type)))
	   (semantic-tag-name type)))
	((stringp type)
	 type)
	((listp type)
	 (car type))
	(t nil)))