Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / ASTInterpreter.h
diff options
context:
space:
mode:
1 files changed, 2 insertions, 1 deletions
-rw-r--r--JSImpl/src/ASTInterpreter.h3
diff --git a/JSImpl/src/ASTInterpreter.h b/JSImpl/src/ASTInterpreter.h
index ba797c1..cce6108 100644
--- a/JSImpl/src/ASTInterpreter.h
+++ b/JSImpl/src/ASTInterpreter.h
@@ -11,7 +11,7 @@ public:
~ASTInterpreter();
- typedef std::variant<double> Value;
+ typedef std::variant<double, IPLString> Value;
typedef IPLSharedPtr<Value> ValuePtr;
typedef IPLVector<ValuePtr> ValueStack;
@@ -47,6 +47,7 @@ public:
{
public:
virtual void PrintVariable(const char* name, double value) = 0;
+ virtual void PrintVariable(const char* name, const IPLString& value) = 0;
};
void Print(Printer& p);