jsdoc/test/fixtures/augmentstag.js
Jeff Williams 7e23a68c59 multiple fixes for overridden symbols (#855)
- Don't add an "overrides" property to members that are merely inherited.
- In the template, don't show both "overrides" and "inherited from" for the same member.
2014-12-29 15:48:05 -08:00

57 lines
759 B
JavaScript

/**
* @constructor
*/
function Foo() {
/** First property */
this.prop1 = true;
}
/**
* Second property
* @type {String}
*/
Foo.prototype.prop2 = "parent prop2";
/**
* First parent method.
*/
Foo.prototype.method1 = function() {};
/**
* Second parent method.
*/
Foo.prototype.method2 = function() {};
/**
* Third parent method.
*/
Foo.prototype.method3 = function() {};
/**
* @constructor
* @extends Foo
*/
function Bar() {
/** Third prop **/
this.prop3 = true;
}
/**
* Second child method.
*/
Bar.prototype.method2 = function() {};
/**
* @constructor
* @extends {Bar}
*/
function Baz() {
/** Override prop1 */
this.prop1 = "new";
}
/**
* Third grandchild method.
*/
Baz.prototype.method3 = function() {};