| 653 | } |
| 654 | |
| 655 | void Reader::addComment(Location begin, Location end, CommentPlacement placement) |
| 656 | { |
| 657 | assert(collectComments_); |
| 658 | const String &normalized = normalizeEOL(begin, end); |
| 659 | if (placement == commentAfterOnSameLine) |
| 660 | { |
| 661 | assert(lastValue_ != nullptr); |
| 662 | lastValue_->setComment(normalized, placement); |
| 663 | } |
| 664 | else |
| 665 | { |
| 666 | commentsBefore_ += normalized; |
| 667 | } |
| 668 | } |
| 669 | |
| 670 | bool Reader::readCStyleComment() |
| 671 | { |
nothing calls this directly
no test coverage detected