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