-
Notifications
You must be signed in to change notification settings - Fork 42
/
interface_all.js
104 lines (88 loc) · 1.72 KB
/
interface_all.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/** @module interfaces */
/**
* Interface for classes that represent a color.
*
* @interface
*/
function Color() {}
/**
* @function module:interfaces~Color.staticMethod1
*/
Color.staticMethod1 = function() {};
/**
* @function
* @static
*/
Color.staticMethod2 = function() {};
/**
* @member {Number} module:interfaces~Color.staticMember1
*/
Color.staticMember1 = 1;
/**
* @member {Boolean}
* @static
*/
Color.staticMember2 = true;
/**
* @type {String}
* @name module:interfaces~Color.staticMember3
*/
Color.staticMember3 = "foobar";
/**
* @type {Object}
* @static
*/
Color.staticMember4 = {};
/**
* @function
*/
Color.prototype.instanceMethod = function() {};
/**
* @member {Number}
*/
Color.prototype.instanceMember = 5;
/**
* Get the color as an array of red, green, and blue values, represented as
* decimal numbers between 0 and 1.
*
* @returns {Array<number>} An array containing the red, green, and blue values,
* in that order.
*/
Color.prototype.rgb = function() {
throw new Error('not implemented');
};
/**
* @function
* @name [foobar1]
* @memberof module:interfaces~Color#
*/
Color.prototype.foobar1 = function() {
throw new Error('not implemented');
};
/**
* @function [foobar2]
* @memberof module:interfaces~Color#
*/
Color.prototype.foobar2 = function() {
throw new Error('not implemented');
};
/**
* @type {Boolean}
* @name [foobar3]
* @memberof module:interfaces~Color#
*/
Color.prototype.foobar3 = undefined;
/**
* @member {String}
* @name [foobar4]
* @memberof module:interfaces~Color#
*/
Color.prototype.foobar4 = undefined;
/**
* @member {Object} [foobar5]
* @memberof module:interfaces~Color#
*/
Color.prototype.foobar5 = undefined;
module.exports = {
Color: Color
}