Function: semantic--format-tag-arguments

semantic--format-tag-arguments is a byte-compiled function defined in format.el.gz.

Signature

(semantic--format-tag-arguments ARGS FORMATTER COLOR)

Documentation

Format the argument list ARGS with FORMATTER.

FORMATTER is a function used to format a tag. COLOR specifies if color should be used.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/format.el.gz
;;; Function Arguments
;;
(defun semantic--format-tag-arguments (args formatter color)
  "Format the argument list ARGS with FORMATTER.
FORMATTER is a function used to format a tag.
COLOR specifies if color should be used."
  (let ((out nil))
    (while args
      (push (if (and formatter
		     (semantic-tag-p (car args))
		     (not (string= (semantic-tag-name (car args)) ""))
		     )
		(funcall formatter (car args) nil color)
	      (semantic-format-tag-name-from-anything
	       (car args) nil color 'variable))
	    out)
      (setq args (cdr args)))
    (mapconcat #'identity (nreverse out) semantic-function-argument-separator)
    ))