| 16 | |
| 17 | namespace { |
| 18 | std::string buildLongClassName(modelicaParser::Long_class_specifierContext* longClass) { |
| 19 | if (!longClass) { |
| 20 | return {}; |
| 21 | } |
| 22 | std::string name; |
| 23 | const auto& identifiers = longClass->IDENT(); |
| 24 | for (size_t i = 0; i < identifiers.size(); ++i) { |
| 25 | if (i > 0) { |
| 26 | name += "."; |
| 27 | } |
| 28 | name += identifiers[i]->getText(); |
| 29 | } |
| 30 | return name; |
| 31 | } |
| 32 | } // namespace |
| 33 | |
| 34 | ModelicaFileImpl::ModelicaFileImpl(const openstudio::path& path) { |
no test coverage detected