Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: Source/devtools/scripts/jsdoc-validator/tests/proto.js

Issue 137553005: DevTools: [JsDocValidator] Refactor JsDoc annotation checkers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments from sergeyv Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /**
2 * @constructor
3 */
4 Base = function() {}
5
6 /**
7 * @constructor
8 * @extends {Base}
9 */
10 DerivedNoProto = function() {}
11
12 /**
13 * @constructor
14 * @extends {Base}
15 */
16 DerivedBadProto = function() {}
17
18 DerivedBadProto.prototype = {
19 __proto__: Base
20 }
21
22 /**
23 * @interface
24 */
25 InterfaceWithProto = function() {}
26
27 InterfaceWithProto.prototype = {
28 __proto__: Base.prototype
29 }
30
31 /**
32 * @constructor
33 */
34 ProtoNoExtends = function() {}
35
36 ProtoNoExtends.prototype = {
37 __proto__: Base.prototype
38 }
39
40 /**
41 * @constructor
42 * @extends {Base}
43 */
44 ProtoNotSameAsExtends = function() {}
45
46 ProtoNotSameAsExtends.prototype = {
47 __proto__: Object.prototype
48 }
49
50 /**
51 * @constructor
52 * @extends {Base}
53 */
54 ProtoNotObjectLiteral = function() {}
55
56 ProtoNotObjectLiteral.prototype = Object;
OLDNEW
« no previous file with comments | « Source/devtools/scripts/jsdoc-validator/tests/golden.dat ('k') | Source/devtools/scripts/jsdoc-validator/tests/return.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698