Lines Matching refs:placement
545 CommentPlacement placement = commentBefore; in readComment() local
548 placement = commentAfterOnSameLine; in readComment()
551 addComment(commentBegin, current_, placement); in readComment()
576 Reader::addComment(Location begin, Location end, CommentPlacement placement) { in addComment() argument
579 if (placement == commentAfterOnSameLine) { in addComment()
581 lastValue_->setComment(normalized, placement); in addComment()
1201 void addComment(Location begin, Location end, CommentPlacement placement);
1523 CommentPlacement placement = commentBefore; in readComment() local
1526 placement = commentAfterOnSameLine; in readComment()
1529 addComment(commentBegin, current_, placement); in readComment()
1535 OurReader::addComment(Location begin, Location end, CommentPlacement placement) { in addComment() argument
1538 if (placement == commentAfterOnSameLine) { in addComment()
1540 lastValue_->setComment(normalized, placement); in addComment()
3721 void Value::setComment(const char* comment, size_t len, CommentPlacement placement) { in setComment() argument
3728 comments_[placement].setComment(comment, len); in setComment()
3731 void Value::setComment(const char* comment, CommentPlacement placement) { in setComment() argument
3732 setComment(comment, strlen(comment), placement); in setComment()
3735 void Value::setComment(const std::string& comment, CommentPlacement placement) { in setComment() argument
3736 setComment(comment.c_str(), comment.length(), placement); in setComment()
3739 bool Value::hasComment(CommentPlacement placement) const { in hasComment()
3740 return comments_ != 0 && comments_[placement].comment_ != 0; in hasComment()
3743 std::string Value::getComment(CommentPlacement placement) const { in getComment()
3744 if (hasComment(placement)) in getComment()
3745 return comments_[placement].comment_; in getComment()