| 28 | } |
| 29 | |
| 30 | func_t3 getFunction3(const QString& s) { |
| 31 | const QString functionName(s); |
| 32 | for (int i = 0; i < _number_functions; i++) { |
| 33 | if (functionName == QLatin1String(_functions[i].name)) { |
| 34 | if (_functions[i].argc == 3) |
| 35 | return std::get<func_t3>(_functions[i].fnct); |
| 36 | } |
| 37 | } |
| 38 | return nullptr; |
| 39 | } |
| 40 | } // anonymous namespace |
| 41 | |
| 42 | void ExpressionParserTest::testIsValid() { |
no outgoing calls
no test coverage detected