| 4671 | } |
| 4672 | |
| 4673 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 4674 | if (root.hasComment(commentAfterOnSameLine)) |
| 4675 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4676 | |
| 4677 | if (root.hasComment(commentAfter)) { |
| 4678 | document_ += "\n"; |
| 4679 | document_ += root.getComment(commentAfter); |
| 4680 | document_ += "\n"; |
| 4681 | } |
| 4682 | } |
| 4683 | |
| 4684 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 4685 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected