Files
Upsilon/apps/calculation/evaluate_context.h
Émilie Feral 0448278e36 [calculation] Make the results of calculation expressions
Change-Id: I9eb685b21944cfc6cc346a42d442f064ae5938dd
2016-12-08 15:21:52 +01:00

22 lines
520 B
C++

#ifndef CALCULATION_EVALUATECONTEXT_H
#define CALCULATION_EVALUATECONTEXT_H
#include <poincare.h>
#include "calculation_store.h"
namespace Calculation {
class EvaluateContext : public ::Context {
public:
EvaluateContext(Context * parentContext, CalculationStore * calculationStore);
Expression * ansValue();
const Expression * expressionForSymbol(const Symbol * symbol) override;
private:
Expression * m_ansValue;
CalculationStore * m_calculationStore;
::Context * m_context;
};
}
#endif