| 186 | inline void CodePrinter::setNewLine (const char* newLineBreak) { newLineString = newLineBreak; } |
| 187 | inline void CodePrinter::setLineWrapLength (size_t len) { lineWrapLength = len; } |
| 188 | inline void CodePrinter::setSectionBreak (std::string newBreakString) { sectionBreakString = std::move (newBreakString); } |
| 189 | inline void CodePrinter::startNewLine() { append ("\n"); } |
| 190 | inline bool CodePrinter::isLastLineEmpty() const { return lines.empty() || getLengthWithTrimmedEnd (lines.back().line) == 0; } |
| 191 | inline bool CodePrinter::isLastLineActive() const { return ! lines.empty() && lines.back().line.back() != '\n'; } |
nothing calls this directly
no outgoing calls
no test coverage detected