Function: semantic-c--template-name-1

semantic-c--template-name-1 is a byte-compiled function defined in c.el.gz.

Signature

(semantic-c--template-name-1 SPEC-LIST)

Documentation

Return a string used to compute template class name.

Based on SPEC-LIST, for ref<Foo,Bar> it will return Foo,Bar.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defun semantic-c--template-name-1 (spec-list)
  "Return a string used to compute template class name.
Based on SPEC-LIST, for ref<Foo,Bar> it will return `Foo,Bar'."
  (when (car spec-list)
    (let* ((endpart (semantic-c--template-name-1 (cdr spec-list)))
	   (separator (and endpart ",")))
      (concat (semantic-tag-name (car spec-list)) separator endpart))))