| 86 | }; |
| 87 | |
| 88 | void PrettyPrinter::OpenArray(const Array& array) { |
| 89 | if (!options_.skip_new_lines) { |
| 90 | Indent(); |
| 91 | } |
| 92 | (*sink_) << options_.array_delimiters.open; |
| 93 | if (array.length() > 0) { |
| 94 | Newline(); |
| 95 | indent_ += options_.indent_size; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | void PrettyPrinter::CloseArray(const Array& array) { |
| 100 | if (array.length() > 0) { |