Debugger: Rework expression evaluator.

CLanguageExpressionEvaluator:
- Revise to make use of Number class rather than MAPM. In the process,
  implement support for bitwise operators.

SourceLanguage/CLanguageFamily/CLanguageExpressionEvaluator:
- Adjust interface for expression evaluation to allow specifying the
  type to evaluate the expression as. Adjust implementing classes
  accordingly.

ExpressionEvaluationWindow:
- Adjust to new expression interface. For now defaults to 64-bit integer
  type, UI for type selection to be added.
This commit is contained in:
Rene Gollent
2014-10-27 11:52:27 -04:00
parent 1c6c5f3b57
commit fc8713b02e
7 changed files with 139 additions and 166 deletions
@@ -30,7 +30,7 @@ SourceLanguage::ParseTypeExpression(const BString& expression,
status_t
SourceLanguage::EvaluateExpression(const BString& expression,
Value*& _resultValue)
type_code type, Value*& _resultValue)
{
return B_NOT_SUPPORTED;
}