| 28 | } |
| 29 | |
| 30 | void CodeGenerator::write(const ::string &line) { |
| 31 | if (this->atBeginning) { |
| 32 | this->atBeginning = false; |
| 33 | for (int i = 0; i < this->indentation; i++) |
| 34 | *this->output << this->indentSymbol; |
| 35 | } |
| 36 | *this->output << line; |
| 37 | } |
| 38 | |
| 39 | void CodeGenerator::writeLine(const ::string &line) { |
| 40 | this->write(line); |
no outgoing calls
no test coverage detected