| 56 | } |
| 57 | |
| 58 | std::string GetValue(const std::string &key) const { |
| 59 | const auto it = value_map_.find(key); |
| 60 | return it == value_map_.end() ? "" : it->second; |
| 61 | } |
| 62 | |
| 63 | // Appends the given text to the generated code as well as a newline |
| 64 | // character. Any text within {{ and }} delimiters is replaced by values |