My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
TagPublic  
@public
Updated Aug 4, 2011 by micm...@gmail.com

The @public Tag

The @public indicates that an inner variable should be documented as if it were public.

Syntax

@public

Example

/**
 * @constructor
 */
function Foo() {
    /**@public*/
    function inner() {
    }
}

In the above example the inner function will appear as if it were a public member of Foo (an instance member by default). Use the @static tag to indicate that the inner function should be documented as a public static member.

See Also

Powered by Google Project Hosting