protobufjs 5.0.1 → 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.
- package/.travis.yml +2 -1
- package/README.md +144 -22
- package/bin/pbjs +2 -2
- package/bower.json +2 -2
- package/cli/pbjs/targets/amd.js +1 -1
- package/cli/pbjs/targets/json.js +8 -0
- package/cli/pbjs/util.js +1 -1
- package/cli/pbjs.js +1 -1
- package/dist/protobuf-light.js +166 -128
- package/dist/protobuf-light.min.js +88 -81
- package/dist/protobuf-light.min.js.gz +0 -0
- package/dist/protobuf-light.min.map +4 -4
- package/dist/protobuf.js +171 -129
- package/dist/protobuf.min.js +106 -98
- package/dist/protobuf.min.js.gz +0 -0
- package/dist/protobuf.min.map +4 -4
- package/docs/ProtoBuf.Builder.Message.html +1408 -971
- package/docs/ProtoBuf.Builder.Service.html +266 -197
- package/docs/ProtoBuf.Builder.html +758 -542
- package/docs/ProtoBuf.DotProto.Parser.html +223 -161
- package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
- package/docs/ProtoBuf.DotProto.html +20 -12
- package/docs/ProtoBuf.Element.html +554 -554
- package/docs/ProtoBuf.Map.html +158 -123
- package/docs/ProtoBuf.Reflect.Element.html +286 -143
- package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
- package/docs/ProtoBuf.Reflect.Enum.html +757 -537
- package/docs/ProtoBuf.Reflect.Extension.html +73 -56
- package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
- package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
- package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
- package/docs/ProtoBuf.Reflect.Message.html +915 -651
- package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
- package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
- package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
- package/docs/ProtoBuf.Reflect.Service.html +721 -511
- package/docs/ProtoBuf.Reflect.T.html +268 -197
- package/docs/ProtoBuf.Reflect.html +20 -12
- package/docs/ProtoBuf.Util.html +169 -118
- package/docs/ProtoBuf.html +840 -628
- package/docs/ProtoBuf.js.html +177 -134
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/index.html +7 -5
- package/docs/styles/jsdoc-default.css +95 -75
- package/docs/styles/prettify-tomorrow.css +1 -1
- package/examples/protoify/json.js +123 -123
- package/examples/protoify/json.json +123 -123
- package/examples/websocket/server.js +4 -4
- package/externs/protobuf.js +1 -1
- package/jsdoc.json +1 -1
- package/package.json +2 -2
- package/scripts/build.js +53 -53
- package/src/ProtoBuf/Builder/Message.js +9 -5
- package/src/ProtoBuf/Builder.js +19 -2
- package/src/ProtoBuf/DotProto/Parser.js +5 -1
- package/src/ProtoBuf/Reflect/Element.js +13 -1
- package/src/ProtoBuf/Reflect/Message/Field.js +2 -2
- package/src/ProtoBuf/Reflect/Message.js +6 -1
- package/src/ProtoBuf/Util.js +116 -116
- package/src/bower.json +1 -1
- package/src/google/protobuf/descriptor.json +27 -1
- package/tests/bench.txt +373 -373
- package/tests/complex.json +8 -1
- package/tests/custom-options.json +169 -169
- package/tests/extend.json +71 -71
- package/tests/imports.json +83 -83
- package/tests/nodeunit-browser/nodeunit.css +70 -70
- package/tests/nodeunit-browser/nodeunit.js +2108 -2108
- package/tests/options.json +32 -32
- package/tests/proto2js/Bar.json +46 -46
- package/tests/suite.js +43 -1
- package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
- package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
- package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
- package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
- package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
- package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
- package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
- package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
- package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
- package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
- package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
- package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
- package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
- package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
- package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
- package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
- package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
- package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
- package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
- package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
- package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
- package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
- package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
- package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
- package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
- package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
- package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
- package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
- package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
- package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
- package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
- package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
- package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
- package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
- package/sandbox/gapi/test.js +0 -17
- package/sandbox/gapi/test.proto +0 -12
- 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/issue182/commands.proto +0 -10
- package/sandbox/issue182/execute.js +0 -22
- package/sandbox/issue182/session_commands.proto +0 -14
- package/sandbox/issue289/A.proto +0 -8
- package/sandbox/issue289/B.proto +0 -8
- package/sandbox/issue289/common.proto +0 -5
- package/sandbox/issue289/main.js +0 -7
- package/sandbox/issue300/IAuth.proto +0 -14
- package/sandbox/issue300/Request.proto +0 -14
- package/sandbox/issue300/main.js +0 -26
- package/sandbox/issue347/index.js +0 -27
- package/sandbox/issue355/main.proto +0 -15
- package/sandbox/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
|
@@ -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
|
-
<
|
|
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
|
-
|
|
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
|
-
|
|
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="
|
|
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
|
-
|
|
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
|
-
|
|
193
|
+
|
|
181
194
|
|
|
182
|
-
<
|
|
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
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
|
|
203
|
-
|
|
213
|
+
</li>
|
|
214
|
+
</ul>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<dl class="details">
|
|
221
|
+
|
|
204
222
|
|
|
205
223
|
|
|
206
224
|
|
|
207
|
-
|
|
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="
|
|
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
|
-
|
|
262
|
+
|
|
263
|
+
|
|
245
264
|
|
|
246
265
|
|
|
247
266
|
|
|
248
|
-
<
|
|
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
|
-
|
|
262
|
-
|
|
263
|
-
|
|
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
|
-
|
|
269
|
-
|
|
285
|
+
</li>
|
|
286
|
+
</ul>
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<dl class="details">
|
|
293
|
+
|
|
270
294
|
|
|
271
295
|
|
|
272
296
|
|
|
273
|
-
|
|
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="
|
|
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
|
-
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
313
338
|
|
|
314
339
|
|
|
315
340
|
|
|
316
341
|
<h3 class="subsection-title">Methods</h3>
|
|
317
342
|
|
|
318
|
-
|
|
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"> → (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"> → (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
|
-
|
|
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="
|
|
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
|
-
|
|
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
|
-
|
|
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"> → (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"> → (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
|
-
|
|
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="
|
|
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
|
-
|
|
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
|
-
|
|
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"> → {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"> → {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
|
-
|
|
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="
|
|
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
|
-
|
|
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
|
-
|
|
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">
|
|
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
|
|
720
|
+
<br class="clear">
|
|
659
721
|
|
|
660
722
|
<footer>
|
|
661
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
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>
|