| 4746 | } |
| 4747 | |
| 4748 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 4749 | if (root.hasComment(commentAfterOnSameLine)) |
| 4750 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4751 | |
| 4752 | if (root.hasComment(commentAfter)) { |
| 4753 | document_ += "\n"; |
| 4754 | document_ += root.getComment(commentAfter); |
| 4755 | document_ += "\n"; |
| 4756 | } |
| 4757 | } |
| 4758 | |
| 4759 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 4760 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected