| 70 | void Flush() { (*sink_) << std::flush; } |
| 71 | |
| 72 | PrettyPrintOptions ChildOptions(bool increment_indent = false) const { |
| 73 | PrettyPrintOptions child_options = options_; |
| 74 | if (increment_indent) { |
| 75 | child_options.indent = indent_ + child_options.indent_size; |
| 76 | } else { |
| 77 | child_options.indent = indent_; |
| 78 | } |
| 79 | return child_options; |
| 80 | } |
| 81 | |
| 82 | protected: |
| 83 | const PrettyPrintOptions& options_; |
nothing calls this directly
no outgoing calls
no test coverage detected