| 38 | //////////////////////////////////////////////////////////////////////////////// |
| 39 | |
| 40 | PythonGenerator::PythonGenerator(InterfaceDefinition *def) : |
| 41 | Generator(def, generator_type_t::kPython), m_suffixStrip(""), m_suffixStripSize(0) |
| 42 | { |
| 43 | /* Set copyright rules. */ |
| 44 | if (m_def->hasProgramSymbol()) |
| 45 | { |
| 46 | Symbol *program = m_def->getProgramSymbol(); |
| 47 | assert(program); |
| 48 | setTemplateComments(program, m_templateData); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | void PythonGenerator::generateOutputFiles(const string &fileName) |
| 53 | { |
nothing calls this directly
no test coverage detected