| 135 | } |
| 136 | |
| 137 | bool DebugInterface::evaluateExpression(const char* expression, u64& dest, std::string& error) |
| 138 | { |
| 139 | PostfixExpression postfix; |
| 140 | |
| 141 | if (!initExpression(expression, postfix, error)) |
| 142 | return false; |
| 143 | |
| 144 | if (!parseExpression(postfix, dest, error)) |
| 145 | return false; |
| 146 | |
| 147 | return true; |
| 148 | } |
| 149 | |
| 150 | bool DebugInterface::initExpression(const char* exp, PostfixExpression& dest, std::string& error) |
| 151 | { |
no test coverage detected