我很好奇Doxygen是否会解析Javadoc注释?-也就是说,doxygen是否接受类似如下的内容:
/**
Greet with a "Hello" message.
@param a string containing the name of the person or entity
@ret return a string containing "Hello" and the name of the greeted person or entity.
*/
public String sayHello(string name)
{
return "Hello" + name;
}还有一件事,有没有更正确的方式来做这些评论,doxygen风格?
发布于 2011-01-15 01:29:24
Doxygen接受与JavaDoc相似的语法,但并不完全相同。您的示例注释将被识别,但@ret命令除外。doxygen中正确的命令是@return。
以下是doxygen网站上的示例:
http://www.doxygen.nl/manual/docblocks.html
https://stackoverflow.com/questions/4667910
复制相似问题