| 4625 | } |
| 4626 | |
| 4627 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 4628 | if (root.hasComment(commentAfterOnSameLine)) |
| 4629 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4630 | |
| 4631 | if (root.hasComment(commentAfter)) { |
| 4632 | document_ += "\n"; |
| 4633 | document_ += root.getComment(commentAfter); |
| 4634 | document_ += "\n"; |
| 4635 | } |
| 4636 | } |
| 4637 | |
| 4638 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 4639 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected