| 4720 | } |
| 4721 | |
| 4722 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 4723 | if (root.hasComment(commentAfterOnSameLine)) |
| 4724 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4725 | |
| 4726 | if (root.hasComment(commentAfter)) { |
| 4727 | document_ += '\n'; |
| 4728 | document_ += root.getComment(commentAfter); |
| 4729 | document_ += '\n'; |
| 4730 | } |
| 4731 | } |
| 4732 | |
| 4733 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 4734 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected