Class: Parser

ProtoBuf.DotProto. Parser

prototype parser

new Parser(proto)

Constructs a new Parser.

Parameters:
Name Type Description
proto string

Protocol source

Source:

Members

tn :ProtoBuf.DotProto.Tokenizer

Tokenizer.

Type:
Source:

Methods

parse() → {Object}

Runs the parser.

Source:
Throws:
If the source cannot be parsed
Type
Error
Returns:
Type
Object

toString() → {string}

Returns a string representation of this object.

Source:
Returns:

String representation as of "Parser"

Type
string