The goog.proto2.TextFormatSerializer.Tokenizer_ Class

.Token

@typedef
{{type: goog.proto2.TextFormatSerializer.Tokenizer_.TokenTypes, value: ?string}}

The goog.proto2.TextFormatSerializer.Tokenizer_.TokenTypes Enum

An enumeration of all the token types. … more

.getCurrent()

returns {goog.proto2.TextFormatSerializer.Tokenizer_.Token}
The current token.

.next()

Advances to the next token.

returns {boolean}
True if a valid token was found, false if the end was reached or no valid token was found.