| 12 | var _ EmitTextWriter = &textWriter{} |
| 13 | |
| 14 | type textWriter struct { |
| 15 | newLine string |
| 16 | indentSize int |
| 17 | builder strings.Builder |
| 18 | lastWritten string |
| 19 | indent int |
| 20 | lineStart bool |
| 21 | lineCount int |
| 22 | linePos int |
| 23 | hasTrailingCommentState bool |
| 24 | } |
| 25 | |
| 26 | func (w *textWriter) Clear() { |
| 27 | *w = textWriter{newLine: w.newLine, indentSize: w.indentSize, lineStart: true} |
nothing calls this directly
no outgoing calls
no test coverage detected