MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / namespaceClose

Method namespaceClose

src/stubgenerator/helper/cpphelper.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void CPPHelper::namespaceClose(CodeGenerator &cg, int depth) {
180 for (int i = 0; i < depth; i++) {
181 cg.decreaseIndentation();
182 cg.writeLine("}");
183 }
184}
185
186string CPPHelper::normalizeString(const string &text) {
187 string result = text;

Callers

nothing calls this directly

Calls 2

decreaseIndentationMethod · 0.80
writeLineMethod · 0.80

Tested by

no test coverage detected