/////////////////////////////////////////////////////////////////////////// Static.
| 192 | //////////////////////////////////////////////////////////////////////////////// |
| 193 | // Static. |
| 194 | std::vector<std::string> Eval::getBinaryOperators() { |
| 195 | std::vector<std::string> all; |
| 196 | for (const auto& opr : operators) |
| 197 | if (opr.type == 'b') all.push_back(opr.op); |
| 198 | |
| 199 | return all; |
| 200 | } |
| 201 | |
| 202 | //////////////////////////////////////////////////////////////////////////////// |
| 203 | void Eval::evaluatePostfixStack(const std::vector<std::pair<std::string, Lexer::Type>>& tokens, |
nothing calls this directly
no outgoing calls
no test coverage detected