(defconst doxymacs-C++-function-comment-template
'((let ((next-func (doxymacs-find-next-func)))
(if next-func
(list
'l
"///========================================================" '> 'n
"/// Function: " (cdr (assoc 'func (doxymacs-find-next-func)))
(if (string-match (regexp-quote "static") (cdr (assoc 'return next-func)))
"
") '> 'n
"/// Description: " '> 'n
"/// Calls: " '> 'n
"/// Called By: " '> 'n
(doxymacs-parm-tempo-element (cdr (assoc 'args next-func)))
(unless (string-match
(regexp-quote (cdr (assoc 'return next-func)))
doxymacs-void-types)
'(l "///" > n "/// "
"return " (p "Returns: ") > n))
"/// Others: " '> 'n
"/// History: " '> 'n
"/// 1.Date: " (current-time-string) '> 'n
"/// Author: " (user-full-name) '> 'n
"/// Modification: Create" '> 'n
"/// 2. ..." '> 'n
"///========================================================" '>)
(progn
(error "Can't find next function declaraton.")
nil))))
"Default C++-style template for function documentation.")
阅读(1488) | 评论(0) | 转发(0) |