Chinaunix首页 | 论坛 | 博客
  • 博客访问: 183265
  • 博文数量: 43
  • 博客积分: 1150
  • 博客等级: 少尉
  • 技术积分: 450
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-29 15:52
文章分类

全部博文(43)

文章存档

2012年(18)

2011年(24)

2008年(1)

分类: LINUX

2012-01-16 18:07:49

(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.")
阅读(1469) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~