Function: semantic-format-tag-uml-abbreviate-default
semantic-format-tag-uml-abbreviate-default is a byte-compiled function
defined in format.el.gz.
Signature
(semantic-format-tag-uml-abbreviate-default TAG &optional PARENT COLOR)
Documentation
Return a UML style abbreviation for TAG.
Optional argument PARENT is the parent type if TAG is a detail. Optional argument COLOR means highlight the prototype with font-lock colors.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/format.el.gz
(defun semantic-format-tag-uml-abbreviate-default (tag &optional parent color)
"Return a UML style abbreviation for TAG.
Optional argument PARENT is the parent type if TAG is a detail.
Optional argument COLOR means highlight the prototype with font-lock colors."
(let* ((name (semantic-format-tag-name tag parent color))
(type (semantic--format-tag-uml-type tag color))
(protstr (semantic-format-tag-uml-protection tag parent color))
(text nil))
(setq text
(concat
protstr
(if type (concat name type)
name)))
(if color
(setq text (semantic--format-uml-post-colorize text tag parent)))
text))