Versions in this module Expand all Collapse all v0 v0.2.0 Apr 14, 2020 v0.1.0 Oct 31, 2019 Changes in this version + const HtmlState + const PhpState + type PrettyPrinter struct + func NewPrettyPrinter(w io.Writer, indentStr string) *PrettyPrinter + func (p *PrettyPrinter) Print(n node.Node) + type Printer struct + func NewPrinter(w io.Writer) *Printer + func (p *Printer) Print(n node.Node) + func (p *Printer) SetState(s printerState)