| 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'; } |
| 192 | inline bool CodePrinter::lastLineIsSectionBreak() const { return ! lines.empty() && lines.back().line == sectionBreakString + newLineString; } |
| 193 | |
| 194 | inline size_t CodePrinter::getTotalIndent() const { return static_cast<size_t> (indent); } |
| 195 | inline void CodePrinter::setTotalIndent (size_t newIndent) { indent = static_cast<int> (newIndent); } |