MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / unindent

Method unindent

src/share/jsoncpp/jsoncpp.cpp:4648–4651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4646void StyledWriter::indent() { indentString_ += JSONCPP_STRING(indentSize_, ' '); }
4647
4648void StyledWriter::unindent() {
4649 assert(indentString_.size() >= indentSize_);
4650 indentString_.resize(indentString_.size() - indentSize_);
4651}
4652
4653void StyledWriter::writeCommentBeforeValue(const Value& root) {
4654 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 3

assertFunction · 0.85
sizeMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected