| 5095 | } |
| 5096 | |
| 5097 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value &root) |
| 5098 | { |
| 5099 | if (root.hasComment(commentAfterOnSameLine)) |
| 5100 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 5101 | |
| 5102 | if (root.hasComment(commentAfter)) |
| 5103 | { |
| 5104 | document_ += '\n'; |
| 5105 | document_ += root.getComment(commentAfter); |
| 5106 | document_ += '\n'; |
| 5107 | } |
| 5108 | } |
| 5109 | |
| 5110 | bool StyledWriter::hasCommentForValue(const Value &value) |
| 5111 | { |
nothing calls this directly
no test coverage detected