proto2.TextFormatSerializer.Printer_ Extends
Helper class used by the text format serializer for pretty-printing text.

Inheritance

Constructor

goog.proto2.TextFormatSerializer.Printer_()

Instance Methods

Public Protected Private
append(value)
Appends the given value to the printer.
Arguments:
value : *
The value to append.
code »
appendLine()
Appends a newline to the printer.
code »
dedent()
Decreases the indentation in the printer.
code »
indent()
Increases the indentation in the printer.
code »
toString() string
No description.
Returns: string  The contents of the printer.
code »

Instance Properties

buffer_ :
The buffer of string pieces.
Code »
indentation_ :
The current indentation count.
Code »
requiresIndentation_ :
Whether indentation is required before the next append of characters.
Code »

Package proto2.TextFormatSerializer

Package Reference