protobufjs 3.6.0 → 3.8.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.
- package/bin/proto2js +16 -4
- package/bower.json +1 -1
- package/dist/ProtoBuf.js +645 -441
- package/dist/ProtoBuf.min.js +96 -96
- package/dist/ProtoBuf.min.js.gz +0 -0
- package/dist/ProtoBuf.min.map +2 -2
- package/dist/ProtoBuf.noparse.js +520 -357
- package/dist/ProtoBuf.noparse.min.js +68 -66
- package/dist/ProtoBuf.noparse.min.js.gz +0 -0
- package/dist/ProtoBuf.noparse.min.map +3 -3
- package/docs/ProtoBuf.Builder.Message.html +673 -135
- package/docs/ProtoBuf.Builder.Service.html +58 -19
- package/docs/ProtoBuf.Builder.html +374 -46
- package/docs/ProtoBuf.DotProto.Parser.html +58 -19
- package/docs/ProtoBuf.DotProto.Tokenizer.html +104 -19
- package/docs/ProtoBuf.DotProto.html +16 -10
- package/docs/ProtoBuf.Reflect.Enum.Value.html +207 -33
- package/docs/ProtoBuf.Reflect.Enum.html +318 -56
- package/docs/ProtoBuf.Reflect.Extension.html +53 -13
- package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +450 -68
- package/docs/ProtoBuf.Reflect.Message.Field.html +454 -51
- package/docs/ProtoBuf.Reflect.Message.OneOf.html +1044 -0
- package/docs/ProtoBuf.Reflect.Message.html +378 -64
- package/docs/ProtoBuf.Reflect.Namespace.html +333 -51
- package/docs/ProtoBuf.Reflect.Service.Method.html +228 -35
- package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +262 -41
- package/docs/ProtoBuf.Reflect.Service.html +318 -56
- package/docs/ProtoBuf.Reflect.T.html +210 -25
- package/docs/ProtoBuf.Reflect.html +17 -11
- package/docs/ProtoBuf.Util.html +59 -13
- package/docs/ProtoBuf.html +235 -67
- package/docs/ProtoBuf.js.html +648 -443
- package/docs/index.html +4 -2
- package/docs/styles/jsdoc-default.css +2 -2
- package/examples/protoify/.npmignore +2 -0
- package/examples/protoify/README.md +28 -0
- package/examples/protoify/index.js +147 -0
- package/examples/protoify/json.js +123 -0
- package/examples/protoify/json.json +123 -0
- package/examples/protoify/json.proto +30 -0
- package/examples/protoify/package.json +15 -0
- package/examples/protoify/test.js +56 -0
- package/examples/websocket/README.md +1 -0
- package/examples/websocket/package.json +1 -1
- package/externs/ProtoBuf.js +922 -922
- package/package.json +3 -3
- package/scripts/build.js +58 -58
- package/src/ProtoBuf/Builder/Message.js +107 -77
- package/src/ProtoBuf/Builder/Service.js +8 -5
- package/src/ProtoBuf/Builder.js +71 -37
- package/src/ProtoBuf/DotProto/Parser.js +108 -72
- package/src/ProtoBuf/DotProto/Tokenizer.js +17 -11
- package/src/ProtoBuf/Lang.js +1 -1
- package/src/ProtoBuf/Reflect/Enum/Value.js +3 -2
- package/src/ProtoBuf/Reflect/Enum.js +9 -5
- package/src/ProtoBuf/Reflect/Extension.js +4 -3
- package/src/ProtoBuf/Reflect/Message/ExtensionField.js +4 -3
- package/src/ProtoBuf/Reflect/Message/Field.js +45 -26
- package/src/ProtoBuf/Reflect/Message/OneOf.js +19 -0
- package/src/ProtoBuf/Reflect/Message.js +36 -19
- package/src/ProtoBuf/Reflect/Namespace.js +19 -15
- package/src/ProtoBuf/Reflect/Service/Method.js +9 -5
- package/src/ProtoBuf/Reflect/Service/RPCMethod.js +3 -2
- package/src/ProtoBuf/Reflect/Service.js +9 -5
- package/src/ProtoBuf/Reflect/T.js +20 -6
- package/src/ProtoBuf/Reflect.js +9 -0
- package/src/ProtoBuf/Util.js +132 -132
- package/src/ProtoBuf.js +15 -17
- package/src/google/protobuf/descriptor.json +33 -13
- package/tests/bench.txt +373 -373
- package/tests/complex.json +8 -4
- package/tests/custom-options.json +169 -169
- package/tests/extend.json +71 -71
- package/tests/nodeunit-browser/nodeunit.css +70 -70
- package/tests/nodeunit-browser/nodeunit.js +2108 -2108
- package/tests/oneof.proto +6 -0
- package/tests/options.json +32 -32
- package/tests/options.proto +2 -0
- package/tests/proto2js/Bar.json +46 -46
- package/tests/suite.js +83 -12
- package/.idea/.name +0 -1
- package/.idea/ProtoBuf.iml +0 -9
- package/.idea/dictionaries/Daniel.xml +0 -7
- package/.idea/encodings.xml +0 -5
- package/.idea/misc.xml +0 -5
- package/.idea/modules.xml +0 -9
- package/.idea/scopes/scope_settings.xml +0 -5
- package/.idea/vcs.xml +0 -7
- package/.idea/workspace.xml +0 -551
- package/NOTICE +0 -2
- package/sandbox/issue146/MyOptions.proto +0 -28
- package/sandbox/issue146/Sample.proto +0 -21
- package/sandbox/issue146/main.js +0 -3
- package/sandbox/issue147/enum.proto +0 -8
- package/sandbox/issue147/main.js +0 -3
- package/sandbox/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
- package/v8.log +0 -3828
|
@@ -23,26 +23,29 @@
|
|
|
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.Reflect.html">.Reflect</a>.</span>
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
<h2>
|
|
32
|
+
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Reflect.html">.Reflect</a>.</span>
|
|
33
|
+
|
|
34
|
+
Namespace
|
|
35
|
+
</h2>
|
|
36
|
+
|
|
34
37
|
|
|
35
38
|
</header>
|
|
36
39
|
|
|
37
40
|
<article>
|
|
38
41
|
<div class="container-overview">
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
43
|
|
|
43
44
|
<dt>
|
|
44
|
-
|
|
45
|
+
|
|
46
|
+
<h4 class="name" id="Namespace"><span class="type-signature"></span>new Namespace<span class="signature">(builder<span class="signature-attributes">non-null</span>, parent<span class="signature-attributes">nullable</span>, name, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
45
47
|
|
|
48
|
+
|
|
46
49
|
|
|
47
50
|
</dt>
|
|
48
51
|
<dd>
|
|
@@ -58,6 +61,8 @@
|
|
|
58
61
|
|
|
59
62
|
|
|
60
63
|
|
|
64
|
+
|
|
65
|
+
|
|
61
66
|
<h5>Parameters:</h5>
|
|
62
67
|
|
|
63
68
|
|
|
@@ -71,6 +76,8 @@
|
|
|
71
76
|
<th>Type</th>
|
|
72
77
|
|
|
73
78
|
|
|
79
|
+
<th>Attributes</th>
|
|
80
|
+
|
|
74
81
|
|
|
75
82
|
|
|
76
83
|
|
|
@@ -81,6 +88,37 @@
|
|
|
81
88
|
<tbody>
|
|
82
89
|
|
|
83
90
|
|
|
91
|
+
<tr>
|
|
92
|
+
|
|
93
|
+
<td class="name"><code>builder</code></td>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
<td class="type">
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<span class="param-type"><a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
</td>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<td class="attributes">
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
</td>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
<td class="description last"><p>Builder reference</p></td>
|
|
118
|
+
</tr>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
84
122
|
<tr>
|
|
85
123
|
|
|
86
124
|
<td class="name"><code>parent</code></td>
|
|
@@ -90,15 +128,22 @@
|
|
|
90
128
|
|
|
91
129
|
|
|
92
130
|
<span class="param-type"><a href="ProtoBuf.Reflect.Namespace.html">ProtoBuf.Reflect.Namespace</a></span>
|
|
93
|
-
|
|
|
94
|
-
|
|
95
|
-
<span class="param-type">null</span>
|
|
96
131
|
|
|
97
132
|
|
|
98
133
|
|
|
99
134
|
</td>
|
|
100
135
|
|
|
101
136
|
|
|
137
|
+
<td class="attributes">
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<nullable><br>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
</td>
|
|
146
|
+
|
|
102
147
|
|
|
103
148
|
|
|
104
149
|
|
|
@@ -122,6 +167,14 @@
|
|
|
122
167
|
</td>
|
|
123
168
|
|
|
124
169
|
|
|
170
|
+
<td class="attributes">
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
</td>
|
|
177
|
+
|
|
125
178
|
|
|
126
179
|
|
|
127
180
|
|
|
@@ -145,6 +198,16 @@
|
|
|
145
198
|
</td>
|
|
146
199
|
|
|
147
200
|
|
|
201
|
+
<td class="attributes">
|
|
202
|
+
|
|
203
|
+
<optional><br>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td>
|
|
210
|
+
|
|
148
211
|
|
|
149
212
|
|
|
150
213
|
|
|
@@ -157,7 +220,14 @@
|
|
|
157
220
|
|
|
158
221
|
|
|
159
222
|
|
|
223
|
+
|
|
224
|
+
|
|
160
225
|
<dl class="details">
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
161
231
|
|
|
162
232
|
|
|
163
233
|
|
|
@@ -179,7 +249,7 @@
|
|
|
179
249
|
|
|
180
250
|
<dt class="tag-source">Source:</dt>
|
|
181
251
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
182
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
252
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1434">line 1434</a>
|
|
183
253
|
</li></ul></dd>
|
|
184
254
|
|
|
185
255
|
|
|
@@ -212,10 +282,13 @@
|
|
|
212
282
|
|
|
213
283
|
<h3 class="subsection-title">Extends</h3>
|
|
214
284
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
<ul>
|
|
289
|
+
<li><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></li>
|
|
290
|
+
</ul>
|
|
291
|
+
|
|
219
292
|
|
|
220
293
|
|
|
221
294
|
|
|
@@ -233,7 +306,85 @@
|
|
|
233
306
|
<dl>
|
|
234
307
|
|
|
235
308
|
<dt>
|
|
236
|
-
<h4 class="name" id="
|
|
309
|
+
<h4 class="name" id="builder"><span class="type-signature">(non-null) </span>builder<span class="type-signature"> :<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span></h4>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</dt>
|
|
313
|
+
<dd>
|
|
314
|
+
|
|
315
|
+
<div class="description">
|
|
316
|
+
<p>Builder reference.</p>
|
|
317
|
+
</div>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
<h5>Type:</h5>
|
|
322
|
+
<ul>
|
|
323
|
+
<li>
|
|
324
|
+
|
|
325
|
+
<span class="param-type"><a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
</li>
|
|
329
|
+
</ul>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
<dl class="details">
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
343
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
344
|
+
<a href="ProtoBuf.Reflect.T.html#builder">ProtoBuf.Reflect.T#builder</a>
|
|
345
|
+
</li></dd>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
<dt class="tag-source">Source:</dt>
|
|
366
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
367
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1352">line 1352</a>
|
|
368
|
+
</li></ul></dd>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
</dl>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
</dd>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
<dt>
|
|
387
|
+
<h4 class="name" id="children"><span class="type-signature">(non-null) </span>children<span class="type-signature"> :Array.<<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a>></span></h4>
|
|
237
388
|
|
|
238
389
|
|
|
239
390
|
</dt>
|
|
@@ -257,7 +408,14 @@
|
|
|
257
408
|
|
|
258
409
|
|
|
259
410
|
|
|
411
|
+
|
|
412
|
+
|
|
260
413
|
<dl class="details">
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
261
419
|
|
|
262
420
|
|
|
263
421
|
|
|
@@ -279,7 +437,7 @@
|
|
|
279
437
|
|
|
280
438
|
<dt class="tag-source">Source:</dt>
|
|
281
439
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
282
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
440
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1446">line 1446</a>
|
|
283
441
|
</li></ul></dd>
|
|
284
442
|
|
|
285
443
|
|
|
@@ -309,7 +467,14 @@
|
|
|
309
467
|
|
|
310
468
|
|
|
311
469
|
|
|
470
|
+
|
|
471
|
+
|
|
312
472
|
<dl class="details">
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
313
478
|
|
|
314
479
|
|
|
315
480
|
|
|
@@ -331,7 +496,7 @@
|
|
|
331
496
|
|
|
332
497
|
<dt class="tag-source">Source:</dt>
|
|
333
498
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
334
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
499
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1440">line 1440</a>
|
|
335
500
|
</li></ul></dd>
|
|
336
501
|
|
|
337
502
|
|
|
@@ -375,8 +540,9 @@
|
|
|
375
540
|
|
|
376
541
|
|
|
377
542
|
|
|
543
|
+
|
|
544
|
+
|
|
378
545
|
<dl class="details">
|
|
379
|
-
|
|
380
546
|
|
|
381
547
|
|
|
382
548
|
|
|
@@ -400,9 +566,15 @@
|
|
|
400
566
|
|
|
401
567
|
|
|
402
568
|
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
403
575
|
<dt class="tag-source">Source:</dt>
|
|
404
576
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
405
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
577
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1366">line 1366</a>
|
|
406
578
|
</li></ul></dd>
|
|
407
579
|
|
|
408
580
|
|
|
@@ -422,7 +594,7 @@
|
|
|
422
594
|
|
|
423
595
|
|
|
424
596
|
<dt>
|
|
425
|
-
<h4 class="name" id="options"><span class="type-signature"
|
|
597
|
+
<h4 class="name" id="options"><span class="type-signature">(non-null) </span>options<span class="type-signature"> :<a href="Object.html">Object</a>.<string, *></span></h4>
|
|
426
598
|
|
|
427
599
|
|
|
428
600
|
</dt>
|
|
@@ -446,7 +618,14 @@
|
|
|
446
618
|
|
|
447
619
|
|
|
448
620
|
|
|
621
|
+
|
|
622
|
+
|
|
449
623
|
<dl class="details">
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
450
629
|
|
|
451
630
|
|
|
452
631
|
|
|
@@ -468,7 +647,7 @@
|
|
|
468
647
|
|
|
469
648
|
<dt class="tag-source">Source:</dt>
|
|
470
649
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
471
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
650
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1452">line 1452</a>
|
|
472
651
|
</li></ul></dd>
|
|
473
652
|
|
|
474
653
|
|
|
@@ -488,7 +667,7 @@
|
|
|
488
667
|
|
|
489
668
|
|
|
490
669
|
<dt>
|
|
491
|
-
<h4 class="name" id="parent"><span class="type-signature"
|
|
670
|
+
<h4 class="name" id="parent"><span class="type-signature">(nullable) </span>parent<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span></h4>
|
|
492
671
|
|
|
493
672
|
|
|
494
673
|
</dt>
|
|
@@ -505,9 +684,6 @@
|
|
|
505
684
|
<li>
|
|
506
685
|
|
|
507
686
|
<span class="param-type"><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span>
|
|
508
|
-
|
|
|
509
|
-
|
|
510
|
-
<span class="param-type">null</span>
|
|
511
687
|
|
|
512
688
|
|
|
513
689
|
</li>
|
|
@@ -515,8 +691,9 @@
|
|
|
515
691
|
|
|
516
692
|
|
|
517
693
|
|
|
694
|
+
|
|
695
|
+
|
|
518
696
|
<dl class="details">
|
|
519
|
-
|
|
520
697
|
|
|
521
698
|
|
|
522
699
|
|
|
@@ -540,9 +717,15 @@
|
|
|
540
717
|
|
|
541
718
|
|
|
542
719
|
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
543
726
|
<dt class="tag-source">Source:</dt>
|
|
544
727
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
545
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
728
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1359">line 1359</a>
|
|
546
729
|
</li></ul></dd>
|
|
547
730
|
|
|
548
731
|
|
|
@@ -568,8 +751,10 @@
|
|
|
568
751
|
<dl>
|
|
569
752
|
|
|
570
753
|
<dt>
|
|
571
|
-
|
|
754
|
+
|
|
755
|
+
<h4 class="name" id="addChild"><span class="type-signature"></span>addChild<span class="signature">(child)</span><span class="type-signature"></span></h4>
|
|
572
756
|
|
|
757
|
+
|
|
573
758
|
|
|
574
759
|
</dt>
|
|
575
760
|
<dd>
|
|
@@ -585,6 +770,8 @@
|
|
|
585
770
|
|
|
586
771
|
|
|
587
772
|
|
|
773
|
+
|
|
774
|
+
|
|
588
775
|
<h5>Parameters:</h5>
|
|
589
776
|
|
|
590
777
|
|
|
@@ -635,7 +822,14 @@
|
|
|
635
822
|
|
|
636
823
|
|
|
637
824
|
|
|
825
|
+
|
|
826
|
+
|
|
638
827
|
<dl class="details">
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
639
833
|
|
|
640
834
|
|
|
641
835
|
|
|
@@ -657,7 +851,7 @@
|
|
|
657
851
|
|
|
658
852
|
<dt class="tag-source">Source:</dt>
|
|
659
853
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
660
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
854
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1484">line 1484</a>
|
|
661
855
|
</li></ul></dd>
|
|
662
856
|
|
|
663
857
|
|
|
@@ -714,8 +908,10 @@
|
|
|
714
908
|
|
|
715
909
|
|
|
716
910
|
<dt>
|
|
717
|
-
|
|
911
|
+
|
|
912
|
+
<h4 class="name" id="build"><span class="type-signature"></span>build<span class="signature">()</span><span class="type-signature"> → {<a href="Object.html">Object</a>.<string, (function()|<a href="Object.html">Object</a>)>}</span></h4>
|
|
718
913
|
|
|
914
|
+
|
|
719
915
|
|
|
720
916
|
</dt>
|
|
721
917
|
<dd>
|
|
@@ -733,7 +929,16 @@
|
|
|
733
929
|
|
|
734
930
|
|
|
735
931
|
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
|
|
736
936
|
<dl class="details">
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
737
942
|
|
|
738
943
|
|
|
739
944
|
|
|
@@ -755,7 +960,7 @@
|
|
|
755
960
|
|
|
756
961
|
<dt class="tag-source">Source:</dt>
|
|
757
962
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
758
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
963
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1553">line 1553</a>
|
|
759
964
|
</li></ul></dd>
|
|
760
965
|
|
|
761
966
|
|
|
@@ -793,7 +998,7 @@
|
|
|
793
998
|
</dt>
|
|
794
999
|
<dd>
|
|
795
1000
|
|
|
796
|
-
<span class="param-type"><a href="Object.html">Object</a>.<string, function()
|
|
1001
|
+
<span class="param-type"><a href="Object.html">Object</a>.<string, (function()|<a href="Object.html">Object</a>)></span>
|
|
797
1002
|
|
|
798
1003
|
|
|
799
1004
|
</dd>
|
|
@@ -807,8 +1012,10 @@
|
|
|
807
1012
|
|
|
808
1013
|
|
|
809
1014
|
<dt>
|
|
810
|
-
|
|
1015
|
+
|
|
1016
|
+
<h4 class="name" id="buildOpt"><span class="type-signature"></span>buildOpt<span class="signature">()</span><span class="type-signature"> → {<a href="Object.html">Object</a>.<string, *>}</span></h4>
|
|
811
1017
|
|
|
1018
|
+
|
|
812
1019
|
|
|
813
1020
|
</dt>
|
|
814
1021
|
<dd>
|
|
@@ -826,7 +1033,16 @@
|
|
|
826
1033
|
|
|
827
1034
|
|
|
828
1035
|
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
829
1040
|
<dl class="details">
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
830
1046
|
|
|
831
1047
|
|
|
832
1048
|
|
|
@@ -848,7 +1064,7 @@
|
|
|
848
1064
|
|
|
849
1065
|
<dt class="tag-source">Source:</dt>
|
|
850
1066
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
851
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1067
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1571">line 1571</a>
|
|
852
1068
|
</li></ul></dd>
|
|
853
1069
|
|
|
854
1070
|
|
|
@@ -896,8 +1112,10 @@
|
|
|
896
1112
|
|
|
897
1113
|
|
|
898
1114
|
<dt>
|
|
899
|
-
|
|
1115
|
+
|
|
1116
|
+
<h4 class="name" id="fqn"><span class="type-signature"></span>fqn<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
900
1117
|
|
|
1118
|
+
|
|
901
1119
|
|
|
902
1120
|
</dt>
|
|
903
1121
|
<dd>
|
|
@@ -915,9 +1133,12 @@
|
|
|
915
1133
|
|
|
916
1134
|
|
|
917
1135
|
|
|
918
|
-
|
|
1136
|
+
|
|
919
1137
|
|
|
920
1138
|
|
|
1139
|
+
|
|
1140
|
+
<dl class="details">
|
|
1141
|
+
|
|
921
1142
|
|
|
922
1143
|
|
|
923
1144
|
|
|
@@ -940,9 +1161,15 @@
|
|
|
940
1161
|
|
|
941
1162
|
|
|
942
1163
|
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
943
1170
|
<dt class="tag-source">Source:</dt>
|
|
944
1171
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
945
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1172
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1387">line 1387</a>
|
|
946
1173
|
</li></ul></dd>
|
|
947
1174
|
|
|
948
1175
|
|
|
@@ -994,8 +1221,10 @@
|
|
|
994
1221
|
|
|
995
1222
|
|
|
996
1223
|
<dt>
|
|
997
|
-
|
|
1224
|
+
|
|
1225
|
+
<h4 class="name" id="getChild"><span class="type-signature"></span>getChild<span class="signature">(nameOrId)</span><span class="type-signature"> → (nullable) {<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a>}</span></h4>
|
|
998
1226
|
|
|
1227
|
+
|
|
999
1228
|
|
|
1000
1229
|
</dt>
|
|
1001
1230
|
<dd>
|
|
@@ -1011,6 +1240,8 @@
|
|
|
1011
1240
|
|
|
1012
1241
|
|
|
1013
1242
|
|
|
1243
|
+
|
|
1244
|
+
|
|
1014
1245
|
<h5>Parameters:</h5>
|
|
1015
1246
|
|
|
1016
1247
|
|
|
@@ -1064,7 +1295,14 @@
|
|
|
1064
1295
|
|
|
1065
1296
|
|
|
1066
1297
|
|
|
1298
|
+
|
|
1299
|
+
|
|
1067
1300
|
<dl class="details">
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1068
1306
|
|
|
1069
1307
|
|
|
1070
1308
|
|
|
@@ -1086,7 +1324,7 @@
|
|
|
1086
1324
|
|
|
1087
1325
|
<dt class="tag-source">Source:</dt>
|
|
1088
1326
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1089
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1327
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1504">line 1504</a>
|
|
1090
1328
|
</li></ul></dd>
|
|
1091
1329
|
|
|
1092
1330
|
|
|
@@ -1138,8 +1376,10 @@
|
|
|
1138
1376
|
|
|
1139
1377
|
|
|
1140
1378
|
<dt>
|
|
1141
|
-
|
|
1379
|
+
|
|
1380
|
+
<h4 class="name" id="getChildren"><span class="type-signature"></span>getChildren<span class="signature">(type<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a>>}</span></h4>
|
|
1142
1381
|
|
|
1382
|
+
|
|
1143
1383
|
|
|
1144
1384
|
</dt>
|
|
1145
1385
|
<dd>
|
|
@@ -1155,6 +1395,8 @@
|
|
|
1155
1395
|
|
|
1156
1396
|
|
|
1157
1397
|
|
|
1398
|
+
|
|
1399
|
+
|
|
1158
1400
|
<h5>Parameters:</h5>
|
|
1159
1401
|
|
|
1160
1402
|
|
|
@@ -1217,7 +1459,14 @@
|
|
|
1217
1459
|
|
|
1218
1460
|
|
|
1219
1461
|
|
|
1462
|
+
|
|
1463
|
+
|
|
1220
1464
|
<dl class="details">
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
|
|
1221
1470
|
|
|
1222
1471
|
|
|
1223
1472
|
|
|
@@ -1239,7 +1488,7 @@
|
|
|
1239
1488
|
|
|
1240
1489
|
<dt class="tag-source">Source:</dt>
|
|
1241
1490
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1242
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1491
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1467">line 1467</a>
|
|
1243
1492
|
</li></ul></dd>
|
|
1244
1493
|
|
|
1245
1494
|
|
|
@@ -1287,8 +1536,10 @@
|
|
|
1287
1536
|
|
|
1288
1537
|
|
|
1289
1538
|
<dt>
|
|
1290
|
-
|
|
1539
|
+
|
|
1540
|
+
<h4 class="name" id="getOption"><span class="type-signature"></span>getOption<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {*|<a href="Object.html">Object</a>.<string, *>}</span></h4>
|
|
1291
1541
|
|
|
1542
|
+
|
|
1292
1543
|
|
|
1293
1544
|
</dt>
|
|
1294
1545
|
<dd>
|
|
@@ -1304,6 +1555,8 @@
|
|
|
1304
1555
|
|
|
1305
1556
|
|
|
1306
1557
|
|
|
1558
|
+
|
|
1559
|
+
|
|
1307
1560
|
<h5>Parameters:</h5>
|
|
1308
1561
|
|
|
1309
1562
|
|
|
@@ -1366,7 +1619,14 @@
|
|
|
1366
1619
|
|
|
1367
1620
|
|
|
1368
1621
|
|
|
1622
|
+
|
|
1623
|
+
|
|
1369
1624
|
<dl class="details">
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1370
1630
|
|
|
1371
1631
|
|
|
1372
1632
|
|
|
@@ -1388,7 +1648,7 @@
|
|
|
1388
1648
|
|
|
1389
1649
|
<dt class="tag-source">Source:</dt>
|
|
1390
1650
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1391
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1651
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1592">line 1592</a>
|
|
1392
1652
|
</li></ul></dd>
|
|
1393
1653
|
|
|
1394
1654
|
|
|
@@ -1443,8 +1703,10 @@
|
|
|
1443
1703
|
|
|
1444
1704
|
|
|
1445
1705
|
<dt>
|
|
1446
|
-
|
|
1706
|
+
|
|
1707
|
+
<h4 class="name" id="resolve"><span class="type-signature"></span>resolve<span class="signature">(qn, excludeFields<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (nullable) {<a href="ProtoBuf.Reflect.Namespace.html">ProtoBuf.Reflect.Namespace</a>}</span></h4>
|
|
1447
1708
|
|
|
1709
|
+
|
|
1448
1710
|
|
|
1449
1711
|
</dt>
|
|
1450
1712
|
<dd>
|
|
@@ -1460,6 +1722,8 @@
|
|
|
1460
1722
|
|
|
1461
1723
|
|
|
1462
1724
|
|
|
1725
|
+
|
|
1726
|
+
|
|
1463
1727
|
<h5>Parameters:</h5>
|
|
1464
1728
|
|
|
1465
1729
|
|
|
@@ -1553,7 +1817,14 @@
|
|
|
1553
1817
|
|
|
1554
1818
|
|
|
1555
1819
|
|
|
1820
|
+
|
|
1821
|
+
|
|
1556
1822
|
<dl class="details">
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1557
1828
|
|
|
1558
1829
|
|
|
1559
1830
|
|
|
@@ -1575,7 +1846,7 @@
|
|
|
1575
1846
|
|
|
1576
1847
|
<dt class="tag-source">Source:</dt>
|
|
1577
1848
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1578
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
1849
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1519">line 1519</a>
|
|
1579
1850
|
</li></ul></dd>
|
|
1580
1851
|
|
|
1581
1852
|
|
|
@@ -1627,8 +1898,10 @@
|
|
|
1627
1898
|
|
|
1628
1899
|
|
|
1629
1900
|
<dt>
|
|
1630
|
-
|
|
1901
|
+
|
|
1902
|
+
<h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">(includeClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
1631
1903
|
|
|
1904
|
+
|
|
1632
1905
|
|
|
1633
1906
|
</dt>
|
|
1634
1907
|
<dd>
|
|
@@ -1644,6 +1917,8 @@
|
|
|
1644
1917
|
|
|
1645
1918
|
|
|
1646
1919
|
|
|
1920
|
+
|
|
1921
|
+
|
|
1647
1922
|
<h5>Parameters:</h5>
|
|
1648
1923
|
|
|
1649
1924
|
|
|
@@ -1706,8 +1981,9 @@
|
|
|
1706
1981
|
|
|
1707
1982
|
|
|
1708
1983
|
|
|
1984
|
+
|
|
1985
|
+
|
|
1709
1986
|
<dl class="details">
|
|
1710
|
-
|
|
1711
1987
|
|
|
1712
1988
|
|
|
1713
1989
|
|
|
@@ -1731,9 +2007,15 @@
|
|
|
1731
2007
|
|
|
1732
2008
|
|
|
1733
2009
|
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
|
|
1734
2016
|
<dt class="tag-source">Source:</dt>
|
|
1735
2017
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1736
|
-
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#
|
|
2018
|
+
<a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1405">line 1405</a>
|
|
1737
2019
|
</li></ul></dd>
|
|
1738
2020
|
|
|
1739
2021
|
|
|
@@ -1786,13 +2068,13 @@
|
|
|
1786
2068
|
</div>
|
|
1787
2069
|
|
|
1788
2070
|
<nav>
|
|
1789
|
-
<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.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.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>
|
|
2071
|
+
<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.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>
|
|
1790
2072
|
</nav>
|
|
1791
2073
|
|
|
1792
2074
|
<br clear="both">
|
|
1793
2075
|
|
|
1794
2076
|
<footer>
|
|
1795
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-
|
|
2077
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha10</a> on Mon Nov 24 2014 18:08:27 GMT+0100 (Mitteleuropäische Zeit)
|
|
1796
2078
|
</footer>
|
|
1797
2079
|
|
|
1798
2080
|
<script> prettyPrint(); </script>
|