| 3460 | } |
| 3461 | |
| 3462 | void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) { |
| 3463 | if (root.hasComment(commentAfterOnSameLine)) |
| 3464 | document_ += " " + root.getComment(commentAfterOnSameLine); |
| 3465 | |
| 3466 | if (root.hasComment(commentAfter)) { |
| 3467 | document_ += "\n"; |
| 3468 | document_ += root.getComment(commentAfter); |
| 3469 | document_ += "\n"; |
| 3470 | } |
| 3471 | } |
| 3472 | |
| 3473 | bool StyledWriter::hasCommentForValue(const Value& value) { |
| 3474 | return value.hasComment(commentBefore) || |
nothing calls this directly
no test coverage detected