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

Method writeCommentAfterValueOnSameLine

json/jsoncpp.cpp:4800–4809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4798}
4799
4800void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) {
4801 if (root.hasComment(commentAfterOnSameLine))
4802 document_ += " " + root.getComment(commentAfterOnSameLine);
4803
4804 if (root.hasComment(commentAfter)) {
4805 document_ += "\n";
4806 document_ += root.getComment(commentAfter);
4807 document_ += "\n";
4808 }
4809}
4810
4811bool StyledWriter::hasCommentForValue(const Value& value) {
4812 return value.hasComment(commentBefore) ||

Callers

nothing calls this directly

Calls 2

hasCommentMethod · 0.80
getCommentMethod · 0.80

Tested by

no test coverage detected