| 4214 | } |
| 4215 | |
| 4216 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 4217 | if (root.hasComment(commentAfterOnSameLine)) |
| 4218 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 4219 | |
| 4220 | if (root.hasComment(commentAfter)) { |
| 4221 | document_ += "\n"; |
| 4222 | document_ += root.getComment(commentAfter); |
| 4223 | document_ += "\n"; |
| 4224 | } |
| 4225 | } |
| 4226 | |
| 4227 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 4228 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected