AsStringWithFQNames pretty prints a node to a string with the FmtAlwaysQualifyTableNames flag (which requires annotations).
(n NodeFormatter, ann *Annotations)
| 800 | // AsStringWithFQNames pretty prints a node to a string with the |
| 801 | // FmtAlwaysQualifyTableNames flag (which requires annotations). |
| 802 | func AsStringWithFQNames(n NodeFormatter, ann *Annotations) string { |
| 803 | ctx := NewFmtCtx(FmtAlwaysQualifyNames, FmtAnnotations(ann)) |
| 804 | ctx.FormatNode(n) |
| 805 | return ctx.CloseAndGetString() |
| 806 | } |
| 807 | |
| 808 | // AsString pretty prints a node to a string. |
| 809 | func AsString(n NodeFormatter) string { |
nothing calls this directly
no test coverage detected
searching dependent graphs…