| 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) { |