@this <namePath>
The @this tag indicates what the this
keyword refers to when used within another symbol.
In the following example, the @this tag causes "this.name" to be documented as "Greeter#name" rather than a global symbol called "name".
/** @constructor */ function Greeter(name) { setName.apply(this, name); } /** @this Greeter */ function setName(name) { /** document me */ this.name = name; }
© 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-this.html