goog.format.HtmlPrettyPrinter.Buffer
Classgoog.format.HtmlPrettyPrinter.Buffer()
This class is a buffer to which we push our output. It tracks line breaks to make sure we don't add unnecessary ones.
.breakCount
{number
}Tracks number of line breaks added.
.lineBreak()
Append line break if we need one.
.pushToken(breakBefore, token, breakAfter)
Adds token and necessary line breaks to output buffer.
breakBefore
{boolean
}
token
{string
}
breakAfter
{boolean
}
.toString()
string
}