Pretty pretty prints stmt with default options.
(stmt NodeFormatter)
| 158 | |
| 159 | // Pretty pretty prints stmt with default options. |
| 160 | func Pretty(stmt NodeFormatter) (string, error) { |
| 161 | cfg := DefaultPrettyCfg() |
| 162 | return cfg.Pretty(stmt) |
| 163 | } |
| 164 | |
| 165 | // Pretty pretty prints stmt with specified options. |
| 166 | func (p *PrettyCfg) Pretty(stmt NodeFormatter) (string, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…