5 <title>JSDoc: Class: Parser</title>
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
20 <h1 class="page-title">Class: Parser</h1>
32 <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.DotProto.html">.DotProto</a>.</span>
37 <div class="class-description"><p>prototype parser</p></div>
43 <div class="container-overview">
51 <h4 class="name" id="Parser"><span class="type-signature"></span>new Parser<span class="signature">(source)</span><span class="type-signature"></span></h4>
57 <div class="description">
58 <p>Constructs a new Parser.</p>
72 <table class="params">
85 <th class="last">Description</th>
94 <td class="name"><code>source</code></td>
100 <span class="param-type">string</span>
110 <td class="description last"><p>Source</p></td>
149 <dt class="tag-source">Source:</dt>
150 <dd class="tag-source"><ul class="dummy"><li>
151 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line688">line 688</a>
191 <h3 class="subsection-title">Members</h3>
195 <h4 class="name" id="proto3"><span class="type-signature"></span>proto3<span class="type-signature"> :boolean</span></h4>
200 <div class="description">
201 <p>Whether parsing proto3 or not.</p>
210 <span class="param-type">boolean</span>
247 <dt class="tag-source">Source:</dt>
248 <dd class="tag-source"><ul class="dummy"><li>
249 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line701">line 701</a>
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>
272 <div class="description">
282 <span class="param-type"><a href="ProtoBuf.DotProto.Tokenizer.html">ProtoBuf.DotProto.Tokenizer</a></span>
319 <dt class="tag-source">Source:</dt>
320 <dd class="tag-source"><ul class="dummy"><li>
321 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line695">line 695</a>
341 <h3 class="subsection-title">Methods</h3>
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>
354 <div class="description">
355 <p>Parses the specified source.</p>
397 <dt class="tag-source">Source:</dt>
398 <dd class="tag-source"><ul class="dummy"><li>
399 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line796">line 796</a>
426 <div class="param-desc">
427 <p>If the source cannot be parsed</p>
438 <span class="param-type">Error</span>
462 <span class="param-type">Object</span>
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>
483 <div class="description">
484 <p>Parses the source.</p>
526 <dt class="tag-source">Source:</dt>
527 <dd class="tag-source"><ul class="dummy"><li>
528 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line716">line 716</a>
555 <div class="param-desc">
556 <p>If the source cannot be parsed</p>
567 <span class="param-type">Error</span>
591 <span class="param-type">Object</span>
606 <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
612 <div class="description">
613 <p>Returns a string representation of this parser.</p>
655 <dt class="tag-source">Source:</dt>
656 <dd class="tag-source"><ul class="dummy"><li>
657 <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1373">line 1373</a>
691 <span class="param-type">string</span>
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>
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)
726 <script> prettyPrint(); </script>
727 <script src="scripts/linenumber.js"> </script>