protobufjs 4.1.2 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/.travis.yml +3 -1
  2. package/README.md +147 -25
  3. package/bin/pbjs +2 -2
  4. package/bower.json +3 -3
  5. package/cli/pbjs/targets/amd.js +1 -1
  6. package/cli/pbjs/targets/json.js +9 -1
  7. package/cli/pbjs/targets/proto.js +48 -24
  8. package/cli/pbjs/util.js +1 -1
  9. package/cli/pbjs.js +9 -2
  10. package/dist/README.md +10 -10
  11. package/dist/{ProtoBuf-light.js → protobuf-light.js} +207 -152
  12. package/dist/protobuf-light.min.js +94 -0
  13. package/dist/protobuf-light.min.js.gz +0 -0
  14. package/dist/protobuf-light.min.map +8 -0
  15. package/dist/{ProtoBuf.js → protobuf.js} +265 -175
  16. package/dist/protobuf.min.js +116 -0
  17. package/dist/protobuf.min.js.gz +0 -0
  18. package/dist/protobuf.min.map +8 -0
  19. package/docs/ProtoBuf.Builder.Message.html +1473 -967
  20. package/docs/ProtoBuf.Builder.Service.html +266 -197
  21. package/docs/ProtoBuf.Builder.html +758 -542
  22. package/docs/ProtoBuf.DotProto.Parser.html +223 -161
  23. package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
  24. package/docs/ProtoBuf.DotProto.html +20 -12
  25. package/docs/ProtoBuf.Element.html +554 -554
  26. package/docs/ProtoBuf.Map.html +158 -123
  27. package/docs/ProtoBuf.Reflect.Element.html +286 -143
  28. package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
  29. package/docs/ProtoBuf.Reflect.Enum.html +757 -537
  30. package/docs/ProtoBuf.Reflect.Extension.html +73 -56
  31. package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
  32. package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
  33. package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
  34. package/docs/ProtoBuf.Reflect.Message.html +919 -652
  35. package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
  36. package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
  37. package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
  38. package/docs/ProtoBuf.Reflect.Service.html +721 -511
  39. package/docs/ProtoBuf.Reflect.T.html +268 -197
  40. package/docs/ProtoBuf.Reflect.html +20 -12
  41. package/docs/ProtoBuf.Util.html +169 -118
  42. package/docs/ProtoBuf.html +840 -628
  43. package/docs/ProtoBuf.js.html +271 -180
  44. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  45. package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
  46. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  47. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  48. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  49. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  50. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  51. package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
  52. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  53. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  54. package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
  55. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  56. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  57. package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  58. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  59. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  60. package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
  61. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  62. package/docs/index.html +7 -5
  63. package/docs/styles/jsdoc-default.css +95 -75
  64. package/docs/styles/prettify-tomorrow.css +1 -1
  65. package/donate.png +0 -0
  66. package/examples/protoify/json.js +123 -123
  67. package/examples/protoify/json.json +123 -123
  68. package/examples/websocket/server.js +4 -4
  69. package/externs/{ProtoBuf.js → protobuf.js} +933 -922
  70. package/index.js +1 -18
  71. package/jsdoc.json +1 -1
  72. package/package.json +11 -11
  73. package/protobuf.png +0 -0
  74. package/scripts/build.js +53 -58
  75. package/src/ProtoBuf/Builder/Message.js +18 -9
  76. package/src/ProtoBuf/Builder/Service.js +3 -0
  77. package/src/ProtoBuf/Builder.js +34 -10
  78. package/src/ProtoBuf/DotProto/Parser.js +58 -23
  79. package/src/ProtoBuf/Reflect/Element.js +17 -4
  80. package/src/ProtoBuf/Reflect/Message/Field.js +6 -5
  81. package/src/ProtoBuf/Reflect/Message.js +9 -4
  82. package/src/ProtoBuf/Util.js +116 -116
  83. package/src/bower.json +2 -2
  84. package/src/google/protobuf/descriptor.json +55 -15
  85. package/src/{ProtoBuf.js → protobuf.js} +0 -0
  86. package/src/wrap.js +4 -4
  87. package/tests/bench.txt +373 -373
  88. package/tests/complex.json +8 -1
  89. package/tests/custom-options.json +169 -169
  90. package/tests/extend.json +71 -71
  91. package/tests/imports-weak.proto +7 -0
  92. package/tests/imports.json +83 -83
  93. package/tests/nodeunit-browser/nodeunit.css +70 -70
  94. package/tests/nodeunit-browser/nodeunit.js +2108 -2108
  95. package/tests/options.json +32 -32
  96. package/tests/proto2js/Bar.json +46 -46
  97. package/tests/suite.js +107 -82
  98. package/ProtoBuf.png +0 -0
  99. package/dist/ProtoBuf-light.min.js +0 -87
  100. package/dist/ProtoBuf-light.min.js.gz +0 -0
  101. package/dist/ProtoBuf-light.min.map +0 -8
  102. package/dist/ProtoBuf.min.js +0 -108
  103. package/dist/ProtoBuf.min.js.gz +0 -0
  104. package/dist/ProtoBuf.min.map +0 -8
  105. package/externs/ByteBuffer.js +0 -767
  106. package/externs/Long.js +0 -328
  107. package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
  108. package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
  109. package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
  110. package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
  111. package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
  112. package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
  113. package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
  114. package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
  115. package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
  116. package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
  117. package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
  118. package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
  119. package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
  120. package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
  121. package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
  122. package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
  123. package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
  124. package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
  125. package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
  126. package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
  127. package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
  128. package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
  129. package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
  130. package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
  131. package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
  132. package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
  133. package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
  134. package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
  135. package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
  136. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
  137. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
  138. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
  139. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
  140. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
  141. package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
  142. package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
  143. package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
  144. package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
  145. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
  146. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
  147. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
  148. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
  149. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
  150. package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
  151. package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
  152. package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
  153. package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
  154. package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
  155. package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
  156. package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
  157. package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
  158. package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
  159. package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
  160. package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
  161. package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
  162. package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
  163. package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
  164. package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
  165. package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
  166. package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
  167. package/sandbox/gapi/test.js +0 -17
  168. package/sandbox/gapi/test.proto +0 -12
  169. package/sandbox/issue146/MyOptions.proto +0 -28
  170. package/sandbox/issue146/Sample.proto +0 -21
  171. package/sandbox/issue146/main.js +0 -3
  172. package/sandbox/issue147/enum.proto +0 -8
  173. package/sandbox/issue147/main.js +0 -3
  174. package/sandbox/issue182/commands.proto +0 -10
  175. package/sandbox/issue182/execute.js +0 -22
  176. package/sandbox/issue182/session_commands.proto +0 -14
  177. package/sandbox/issue289/A.proto +0 -8
  178. package/sandbox/issue289/B.proto +0 -8
  179. package/sandbox/issue289/common.proto +0 -5
  180. package/sandbox/issue289/main.js +0 -7
  181. package/sandbox/issue300/IAuth.proto +0 -14
  182. package/sandbox/issue300/Request.proto +0 -14
  183. package/sandbox/issue300/main.js +0 -26
  184. package/sandbox/issue42/innerextend.proto +0 -18
  185. package/sandbox/issue42/main.js +0 -8
  186. package/sandbox/issue42/outerextend.proto +0 -17
  187. package/tests/gtfs-realtime.proto +0 -552
  188. package/webpack.config.js +0 -9
@@ -23,45 +23,51 @@
23
23
 
24
24
 
25
25
 
26
+
26
27
  <section>
27
28
 
28
29
  <header>
29
- <h2>
30
- <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.DotProto.html">.DotProto</a>.</span>
31
-
32
- Parser
33
- </h2>
34
30
 
35
- <div class="class-description"><p>prototype parser</p></div>
31
+ <h2>
32
+ <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.DotProto.html">.DotProto</a>.</span>
33
+
34
+ Parser
35
+ </h2>
36
+
37
+ <div class="class-description"><p>prototype parser</p></div>
38
+
36
39
 
37
40
  </header>
38
41
 
39
42
  <article>
40
43
  <div class="container-overview">
41
44
 
45
+
42
46
 
43
47
 
44
-
45
- <dt>
48
+ <h2>Constructor</h2>
49
+
50
+
46
51
  <h4 class="name" id="Parser"><span class="type-signature"></span>new Parser<span class="signature">(source)</span><span class="type-signature"></span></h4>
47
52
 
48
53
 
49
- </dt>
50
- <dd>
51
54
 
52
-
53
- <div class="description">
54
- <p>Constructs a new Parser.</p>
55
- </div>
56
-
57
55
 
58
-
59
56
 
60
-
57
+ <div class="description">
58
+ <p>Constructs a new Parser.</p>
59
+ </div>
60
+
61
+
61
62
 
63
+
64
+
65
+
66
+
67
+
68
+
69
+ <h5>Parameters:</h5>
62
70
 
63
- <h5>Parameters:</h5>
64
-
65
71
 
66
72
  <table class="params">
67
73
  <thead>
@@ -107,10 +113,20 @@
107
113
 
108
114
  </tbody>
109
115
  </table>
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <dl class="details">
123
+
110
124
 
111
125
 
112
126
 
113
- <dl class="details">
127
+
128
+
129
+
114
130
 
115
131
 
116
132
 
@@ -132,7 +148,7 @@
132
148
 
133
149
  <dt class="tag-source">Source:</dt>
134
150
  <dd class="tag-source"><ul class="dummy"><li>
135
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line688">line 688</a>
151
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line688">line 688</a>
136
152
  </li></ul></dd>
137
153
 
138
154
 
@@ -144,25 +160,22 @@
144
160
  </dl>
145
161
 
146
162
 
147
-
148
163
 
149
-
150
164
 
151
-
152
165
 
153
-
154
166
 
155
-
156
167
 
157
-
158
168
 
159
-
160
- </dd>
161
169
 
162
-
163
- </div>
170
+
171
+
172
+
173
+
174
+
175
+
164
176
 
165
177
 
178
+ </div>
166
179
 
167
180
 
168
181
 
@@ -177,34 +190,41 @@
177
190
 
178
191
  <h3 class="subsection-title">Members</h3>
179
192
 
180
- <dl>
193
+
181
194
 
182
- <dt>
183
- <h4 class="name" id="proto3"><span class="type-signature"></span>proto3<span class="type-signature"> :boolean</span></h4>
195
+ <h4 class="name" id="proto3"><span class="type-signature"></span>proto3<span class="type-signature"> :boolean</span></h4>
184
196
 
185
-
186
- </dt>
187
- <dd>
188
-
189
- <div class="description">
190
- <p>Whether parsing proto3 or not.</p>
191
- </div>
192
-
193
197
 
194
-
195
- <h5>Type:</h5>
196
- <ul>
197
- <li>
198
-
198
+
199
+
200
+ <div class="description">
201
+ <p>Whether parsing proto3 or not.</p>
202
+ </div>
203
+
204
+
205
+
206
+ <h5>Type:</h5>
207
+ <ul>
208
+ <li>
209
+
199
210
  <span class="param-type">boolean</span>
200
211
 
201
212
 
202
- </li>
203
- </ul>
213
+ </li>
214
+ </ul>
215
+
216
+
217
+
218
+
219
+
220
+ <dl class="details">
221
+
204
222
 
205
223
 
206
224
 
207
- <dl class="details">
225
+
226
+
227
+
208
228
 
209
229
 
210
230
 
@@ -226,7 +246,7 @@
226
246
 
227
247
  <dt class="tag-source">Source:</dt>
228
248
  <dd class="tag-source"><ul class="dummy"><li>
229
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line701">line 701</a>
249
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line701">line 701</a>
230
250
  </li></ul></dd>
231
251
 
232
252
 
@@ -238,39 +258,45 @@
238
258
  </dl>
239
259
 
240
260
 
241
-
242
261
 
243
-
244
- </dd>
262
+
263
+
245
264
 
246
265
 
247
266
 
248
- <dt>
249
- <h4 class="name" id="tn"><span class="type-signature">(non-null) </span>tn<span class="type-signature"> :<a href="ProtoBuf.DotProto.Tokenizer.html">ProtoBuf.DotProto.Tokenizer</a></span></h4>
267
+ <h4 class="name" id="tn"><span class="type-signature">(non-null) </span>tn<span class="type-signature"> :<a href="ProtoBuf.DotProto.Tokenizer.html">ProtoBuf.DotProto.Tokenizer</a></span></h4>
250
268
 
251
-
252
- </dt>
253
- <dd>
254
-
255
- <div class="description">
256
- <p>Tokenizer.</p>
257
- </div>
258
-
259
269
 
260
-
261
- <h5>Type:</h5>
262
- <ul>
263
- <li>
264
-
270
+
271
+
272
+ <div class="description">
273
+ <p>Tokenizer.</p>
274
+ </div>
275
+
276
+
277
+
278
+ <h5>Type:</h5>
279
+ <ul>
280
+ <li>
281
+
265
282
  <span class="param-type"><a href="ProtoBuf.DotProto.Tokenizer.html">ProtoBuf.DotProto.Tokenizer</a></span>
266
283
 
267
284
 
268
- </li>
269
- </ul>
285
+ </li>
286
+ </ul>
287
+
288
+
289
+
290
+
291
+
292
+ <dl class="details">
293
+
270
294
 
271
295
 
272
296
 
273
- <dl class="details">
297
+
298
+
299
+
274
300
 
275
301
 
276
302
 
@@ -292,7 +318,7 @@
292
318
 
293
319
  <dt class="tag-source">Source:</dt>
294
320
  <dd class="tag-source"><ul class="dummy"><li>
295
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line695">line 695</a>
321
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line695">line 695</a>
296
322
  </li></ul></dd>
297
323
 
298
324
 
@@ -304,40 +330,51 @@
304
330
  </dl>
305
331
 
306
332
 
307
-
308
333
 
309
-
310
- </dd>
311
334
 
312
- </dl>
335
+
336
+
337
+
313
338
 
314
339
 
315
340
 
316
341
  <h3 class="subsection-title">Methods</h3>
317
342
 
318
- <dl>
343
+
319
344
 
320
- <dt>
321
- <h4 class="name" id="parse"><span class="type-signature">(static) </span>parse<span class="signature">()</span><span class="type-signature"> &rarr; (non-null) {Object}</span></h4>
322
345
 
323
346
 
324
- </dt>
325
- <dd>
326
347
 
327
-
328
- <div class="description">
329
- <p>Parses the specified source.</p>
330
- </div>
331
-
348
+ <h4 class="name" id=".parse"><span class="type-signature">(static) </span>parse<span class="signature">()</span><span class="type-signature"> &rarr; (non-null) {Object}</span></h4>
332
349
 
333
350
 
334
351
 
352
+
353
+
354
+ <div class="description">
355
+ <p>Parses the specified source.</p>
356
+ </div>
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+ <dl class="details">
371
+
335
372
 
336
373
 
337
374
 
338
375
 
339
376
 
340
- <dl class="details">
377
+
341
378
 
342
379
 
343
380
 
@@ -359,7 +396,7 @@
359
396
 
360
397
  <dt class="tag-source">Source:</dt>
361
398
  <dd class="tag-source"><ul class="dummy"><li>
362
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line794">line 794</a>
399
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line796">line 796</a>
363
400
  </li></ul></dd>
364
401
 
365
402
 
@@ -371,25 +408,26 @@
371
408
  </dl>
372
409
 
373
410
 
374
-
375
411
 
376
-
377
412
 
378
-
379
413
 
380
-
381
414
 
382
-
383
- <h5>Throws:</h5>
384
-
385
-
415
+
416
+
417
+
418
+
419
+
420
+ <h5>Throws:</h5>
421
+
422
+
386
423
 
387
424
  <dl>
388
425
  <dt>
389
426
  <div class="param-desc">
390
- If the source cannot be parsed
427
+ <p>If the source cannot be parsed</p>
391
428
  </div>
392
429
  </dt>
430
+ <dd></dd>
393
431
  <dt>
394
432
  <dl>
395
433
  <dt>
@@ -403,15 +441,16 @@
403
441
  </dd>
404
442
  </dl>
405
443
  </dt>
444
+ <dd></dd>
406
445
  </dl>
407
446
 
408
447
 
409
-
410
-
411
-
412
- <h5>Returns:</h5>
413
448
 
414
-
449
+
450
+
451
+ <h5>Returns:</h5>
452
+
453
+
415
454
 
416
455
 
417
456
  <dl>
@@ -426,34 +465,45 @@
426
465
  </dd>
427
466
  </dl>
428
467
 
429
-
430
-
431
468
 
432
- </dd>
469
+
470
+
433
471
 
434
472
 
435
473
 
436
- <dt>
437
- <h4 class="name" id="parse"><span class="type-signature"></span>parse<span class="signature">()</span><span class="type-signature"> &rarr; (non-null) {Object}</span></h4>
438
474
 
439
475
 
440
- </dt>
441
- <dd>
442
476
 
443
-
444
- <div class="description">
445
- <p>Parses the source.</p>
446
- </div>
447
-
477
+ <h4 class="name" id="parse"><span class="type-signature"></span>parse<span class="signature">()</span><span class="type-signature"> &rarr; (non-null) {Object}</span></h4>
448
478
 
449
479
 
450
480
 
481
+
482
+
483
+ <div class="description">
484
+ <p>Parses the source.</p>
485
+ </div>
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+ <dl class="details">
500
+
451
501
 
452
502
 
453
503
 
454
504
 
455
505
 
456
- <dl class="details">
506
+
457
507
 
458
508
 
459
509
 
@@ -475,7 +525,7 @@
475
525
 
476
526
  <dt class="tag-source">Source:</dt>
477
527
  <dd class="tag-source"><ul class="dummy"><li>
478
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line716">line 716</a>
528
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line716">line 716</a>
479
529
  </li></ul></dd>
480
530
 
481
531
 
@@ -487,25 +537,26 @@
487
537
  </dl>
488
538
 
489
539
 
490
-
491
540
 
492
-
493
541
 
494
-
495
542
 
496
-
497
543
 
498
-
499
- <h5>Throws:</h5>
500
-
501
-
544
+
545
+
546
+
547
+
548
+
549
+ <h5>Throws:</h5>
550
+
551
+
502
552
 
503
553
  <dl>
504
554
  <dt>
505
555
  <div class="param-desc">
506
- If the source cannot be parsed
556
+ <p>If the source cannot be parsed</p>
507
557
  </div>
508
558
  </dt>
559
+ <dd></dd>
509
560
  <dt>
510
561
  <dl>
511
562
  <dt>
@@ -519,15 +570,16 @@
519
570
  </dd>
520
571
  </dl>
521
572
  </dt>
573
+ <dd></dd>
522
574
  </dl>
523
575
 
524
576
 
525
-
526
-
527
-
528
- <h5>Returns:</h5>
529
577
 
530
-
578
+
579
+
580
+ <h5>Returns:</h5>
581
+
582
+
531
583
 
532
584
 
533
585
  <dl>
@@ -542,34 +594,45 @@
542
594
  </dd>
543
595
  </dl>
544
596
 
545
-
546
-
547
597
 
548
- </dd>
598
+
599
+
549
600
 
550
601
 
551
602
 
552
- <dt>
553
- <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
554
603
 
555
604
 
556
- </dt>
557
- <dd>
558
605
 
559
-
560
- <div class="description">
561
- <p>Returns a string representation of this parser.</p>
562
- </div>
563
-
606
+ <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
564
607
 
565
608
 
566
609
 
610
+
611
+
612
+ <div class="description">
613
+ <p>Returns a string representation of this parser.</p>
614
+ </div>
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+ <dl class="details">
629
+
567
630
 
568
631
 
569
632
 
570
633
 
571
634
 
572
- <dl class="details">
635
+
573
636
 
574
637
 
575
638
 
@@ -591,7 +654,7 @@
591
654
 
592
655
  <dt class="tag-source">Source:</dt>
593
656
  <dd class="tag-source"><ul class="dummy"><li>
594
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1338">line 1338</a>
657
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1373">line 1373</a>
595
658
  </li></ul></dd>
596
659
 
597
660
 
@@ -603,20 +666,20 @@
603
666
  </dl>
604
667
 
605
668
 
606
-
607
669
 
608
-
609
670
 
610
-
611
671
 
612
-
613
672
 
614
-
615
673
 
616
-
617
- <h5>Returns:</h5>
618
-
619
-
674
+
675
+
676
+
677
+
678
+
679
+
680
+ <h5>Returns:</h5>
681
+
682
+
620
683
 
621
684
 
622
685
  <dl>
@@ -631,12 +694,11 @@
631
694
  </dd>
632
695
  </dl>
633
696
 
634
-
635
-
636
697
 
637
- </dd>
638
698
 
639
- </dl>
699
+
700
+
701
+
640
702
 
641
703
 
642
704
 
@@ -652,13 +714,13 @@
652
714
  </div>
653
715
 
654
716
  <nav>
655
- <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
717
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
656
718
  </nav>
657
719
 
658
- <br clear="both">
720
+ <br class="clear">
659
721
 
660
722
  <footer>
661
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a> on Wed Oct 14 2015 18:20:52 GMT+0200 (Mitteleuropäische Sommerzeit)
723
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
662
724
  </footer>
663
725
 
664
726
  <script> prettyPrint(); </script>