MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / addComment

Method addComment

json/jsoncpp.cpp:627–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627void Reader::addComment(Location begin,
628 Location end,
629 CommentPlacement placement) {
630 assert(collectComments_);
631 const JSONCPP_STRING& normalized = normalizeEOL(begin, end);
632 if (placement == commentAfterOnSameLine) {
633 assert(lastValue_ != 0);
634 lastValue_->setComment(normalized, placement);
635 } else {
636 commentsBefore_ += normalized;
637 }
638}
639
640bool Reader::readCStyleComment() {
641 while ((current_ + 1) < end_) {

Callers

nothing calls this directly

Calls 1

setCommentMethod · 0.80

Tested by

no test coverage detected