MCPcopy Create free account
hub / github.com/MikePopoloski/slang / decreaseIndent

Method decreaseIndent

tools/reflect/include/CppEmitter.h:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 void addWithIndent(std::string&& code) { hpp << indent(currentIndent) << code; }
46 void increaseIndent() { currentIndent++; }
47 void decreaseIndent() {
48 SLANG_ASSERT(currentIndent != 0);
49 currentIndent--;
50 }
51
52 std::string emit() const {
53 auto includesTransform = std::views::transform(includes, [](const auto& inc) {

Callers 5

toCppMethod · 0.80
reflectMethod · 0.80
toCppMethod · 0.80
toCppMethod · 0.80
toCppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected