You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/data/comments.js
+45-3Lines changed: 45 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -39,24 +39,32 @@ $root.Test1 = (function() {
39
39
40
40
/**
41
41
* Field with a comment.
42
+
* @memberof Test1
43
+
* @instance
42
44
* @type {string}
43
45
*/
44
46
Test1.prototype.field1="";
45
47
46
48
/**
47
49
* Test1 field2.
50
+
* @memberof Test1
51
+
* @instance
48
52
* @type {number}
49
53
*/
50
54
Test1.prototype.field2=0;
51
55
52
56
/**
53
57
* Field with a comment and a <a href="http://example.com/foo/">link</a>
58
+
* @memberof Test1
59
+
* @instance
54
60
* @type {boolean}
55
61
*/
56
62
Test1.prototype.field3=false;
57
63
58
64
/**
59
65
* Creates a new Test1 instance using the specified properties.
66
+
* @memberof Test1
67
+
* @static
60
68
* @param {ITest1=} [properties] Properties to set
61
69
* @returns {Test1} Test1 instance
62
70
*/
@@ -66,6 +74,8 @@ $root.Test1 = (function() {
66
74
67
75
/**
68
76
* Encodes the specified Test1 message. Does not implicitly {@link Test1.verify|verify} messages.
77
+
* @memberof Test1
78
+
* @static
69
79
* @param {ITest1} message Test1 message or plain object to encode
70
80
* @param {$protobuf.Writer} [writer] Writer to encode to
71
81
* @returns {$protobuf.Writer} Writer
@@ -84,6 +94,8 @@ $root.Test1 = (function() {
84
94
85
95
/**
86
96
* Encodes the specified Test1 message, length delimited. Does not implicitly {@link Test1.verify|verify} messages.
97
+
* @memberof Test1
98
+
* @static
87
99
* @param {ITest1} message Test1 message or plain object to encode
88
100
* @param {$protobuf.Writer} [writer] Writer to encode to
89
101
* @returns {$protobuf.Writer} Writer
@@ -94,6 +106,8 @@ $root.Test1 = (function() {
94
106
95
107
/**
96
108
* Decodes a Test1 message from the specified reader or buffer.
109
+
* @memberof Test1
110
+
* @static
97
111
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98
112
* @param {number} [length] Message length if known beforehand
99
113
* @returns {Test1} Test1
@@ -126,19 +140,23 @@ $root.Test1 = (function() {
126
140
127
141
/**
128
142
* Decodes a Test1 message from the specified reader or buffer, length delimited.
143
+
* @memberof Test1
144
+
* @static
129
145
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
130
146
* @returns {Test1} Test1
131
147
* @throws {Error} If the payload is not a reader or valid buffer
132
148
* @throws {$protobuf.util.ProtocolError} If required fields are missing
0 commit comments