Using the @inner tag will mark a symbol as an inner member of its parent symbol. This means it can be referred to by "Parent~Child".
Using @inner will override a doclet's default scope (unless it is in the global scope, in which case it will remain global).
/** @namespace MyNamespace */ /** * myFunction is now MyNamespace~myFunction. * @function myFunction * @memberof MyNamespace * @inner */
Note that in the above we could have used "@function MyNamespace~myFunction" instead of the @memberof and @inner tags.
/** @namespace */ var MyNamespace = { /** * foo is now MyNamespace~foo rather than MyNamespace.foo. * @inner */ foo: 1 };
In the above example, we use @inner to force a member of a namespace to be documented as an inner member (by default, it would be a static member). This means that foo
now has the longname MyNamespace~foo
instead of MyNamespace.foo
.
© 2011–2017 the contributors to the JSDoc 3 documentation project
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://usejsdoc.org/tags-inner.html