特别注释和预处理

发布于 2024-08-09 23:16:29 字数 223 浏览 2 评论 0原文

对于任何文档工具包(尤其是 PHP)来说,表单的注释是否

/*:[url=users/%id]:*/

会成为问题?或者还有其他评论预处理器吗? (与 http://code.google.com/p/caret/ 相关)

Is a comment of the form

/*:[url=users/%id]:*/

going to be a problem with any documentation toolkits out there (especially for PHP)? Or any other comment pre-preprocessors? (Related to http://code.google.com/p/caret/ )

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬心 2024-08-16 23:16:29

按照 phpDoc 的说法,这应该不是问题。

phpDoc 读取以 /** 开头定义的注释,而不是 /*

phpDoc 注释条目的一个示例是:

/**
 * Description of this function
 * @param int Number in
 * @return int|string number or string out
 */

Which Should not防冲突与您所说的注释。

Going by phpDoc, that shouldn't be a problem.

phpDoc reads from comments defined with a starting /**, not /*.

An example of a phpDoc comment entry would be:

/**
 * Description of this function
 * @param int Number in
 * @return int|string number or string out
 */

Which shouldn't clash with a comment that you have said.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文