| 4688 | } |
| 4689 | |
| 4690 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value &root) { |
| 4691 | if (root.hasComment(commentAfterOnSameLine)) |
| 4692 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4693 | |
| 4694 | if (root.hasComment(commentAfter)) { |
| 4695 | document_ += '\n'; |
| 4696 | document_ += root.getComment(commentAfter); |
| 4697 | document_ += '\n'; |
| 4698 | } |
| 4699 | } |
| 4700 | |
| 4701 | bool StyledWriter::hasCommentForValue(const Value &value) { |
| 4702 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected