开发者

ASDocs Omitting Private Members

开发者 https://www.devze.com 2023-02-11 02:11 出处:网络
Hail Sta开发者_开发问答ck!! I\'m developing a framework for my coworkers and I\'m having trouble documenting it.

Hail Sta开发者_开发问答ck!!

I'm developing a framework for my coworkers and I'm having trouble documenting it.

ASDocs as omitting the private members (even without @private directive).

Is there any way to force it to document it??


This is from the ASDocs documentation:

By default, the ASDoc tool generates output for all public and protected elements in an ActionScript class, even if you omit the ASDoc comment. To make ASDoc ignore an element, insert an ASDoc comment that contains the @private tag anywhere in the comment. The ASDoc comment can contain additional text along with the @private tag, which is also excluded from the output.

It explicitly says "for all public and protected elements", which makes sense for API documentation: private members are not accessible from outside the class, and therefore remain hidden.

See this answer, too: Documenting private members with ASDoc

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号