6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CALCULATION_LOCAL_CONTEXT_H
#define CALCULATION_LOCAL_CONTEXT_H
#include <poincare.h>
#include "calculation_store.h"
namespace Calculation {
class LocalContext : public Poincare::Context {
public:
LocalContext(Poincare::GlobalContext * parentContext, CalculationStore * calculationStore);
void setExpressionForSymbolName(Poincare::Expression * expression, const Poincare::Symbol * symbol) override;
const Poincare::Expression * expressionForSymbol(const Poincare::Symbol * symbol) override;
private:
Poincare::Evaluation<double> * ansValue();
CalculationStore * m_calculationStore;
Poincare::GlobalContext * m_parentContext;
};
}
#endif
|