AsStringWithFQNames pretty prints a node to a string with the FmtAlwaysQualifyTableNames flag (which requires annotations).
(n NodeFormatter, ann *Annotations)
| 437 | // AsStringWithFQNames pretty prints a node to a string with the |
| 438 | // FmtAlwaysQualifyTableNames flag (which requires annotations). |
| 439 | func AsStringWithFQNames(n NodeFormatter, ann *Annotations) string { |
| 440 | ctx := NewFmtCtxEx(FmtAlwaysQualifyTableNames, ann) |
| 441 | ctx.FormatNode(n) |
| 442 | return ctx.CloseAndGetString() |
| 443 | } |
| 444 | |
| 445 | // AsString pretty prints a node to a string, with unquoted identifiers. |
| 446 | func AsString(n NodeFormatter) string { |
nothing calls this directly
no test coverage detected