Helper class for parsing the text format.
| Instance Method Summary | |
| consumeFieldValue_(?goog.proto2.Message message, ?goog.proto2.FieldDescriptor field) ⇒ booleanAttempts to consume the value of the given field. | |
| consumeField_(?goog.proto2.Message message) ⇒ booleanAttempts to consume a field under a message. | |
| consumeIdentifier_() ⇒ ?stringConsumes an IDENTIFIER token. | |
| consumeMessage_(?goog.proto2.Message message, string delimiter) ⇒ booleanAttempts to consume the given message. | |
| consumeNestedMessage_(?goog.proto2.Message message, ?goog.proto2.FieldDescriptor field) ⇒ booleanAttempts to consume a nested message. | |
| consumeNumber_() ⇒ ?stringConsumes a NUMBER token. | |
| consumeString_() ⇒ ?stringConsumes a STRING token. | |
| consumeToken_(?goog.proto2.TextFormatSerializer.Tokenizer_.TokenTypes type) ⇒ ?stringConsumes a token of the given type. | |
| consumeUnknownFieldValue_() ⇒ booleanAttempts to consume the value of an unknown field. This method uses heuristics to try to consume just the right tokens. | |
| consume_(string value) ⇒ booleanConsumes a token with the given value. If not found, reports an error. | |
| getError() ⇒ ?string | |
| getFieldValue_(?goog.proto2.FieldDescriptor field) ⇒ <Any Type>Attempts to parse the given field's value from the stream. | |
| getNumberFromString_(string num) ⇒ ?numberAttempts to convert a string to a number. | |
| lookingAtType_(?goog.proto2.TextFormatSerializer.Tokenizer_.TokenTypes type) ⇒ boolean | |
| lookingAt_(string value) ⇒ boolean | |
| parse(?goog.proto2.Message message, string data, boolean= opt_ignoreMissingFields) ⇒ booleanParses the given data, filling the message as it goes. | |
| reportError_(string msg)Reports a parse error. | |
| tryConsume_(string value) ⇒ booleanAttempts to consume a token with the given string value. | |