AsStringWithFlags pretty prints a node to a string given specific flags; only flags that don't require Annotations can be used.
(n NodeFormatter, fl FmtFlags)
| 379 | // AsStringWithFlags pretty prints a node to a string given specific flags; only |
| 380 | // flags that don't require Annotations can be used. |
| 381 | func AsStringWithFlags(n NodeFormatter, fl FmtFlags) string { |
| 382 | ctx := NewFmtCtx(fl) |
| 383 | ctx.FormatNode(n) |
| 384 | return ctx.CloseAndGetString() |
| 385 | } |
| 386 | |
| 387 | // AsStringWithFQNames pretty prints a node to a string with the |
| 388 | // FmtAlwaysQualifyTableNames flag (which requires annotations). |
no test coverage detected
searching dependent graphs…