aboutsummaryrefslogtreecommitdiffstats
path: root/value.h
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2016-08-31 20:05:10 +0000
committerJan Tuomi <jans.tuomi@gmail.com>2016-08-31 20:05:10 +0000
commitc4cae690deddcb8a7fc6a537816e832525ca0e86 (patch)
tree42a78dedb03d776e3945c1729a2e4b1d264ef2ed /value.h
parent1ba5c17a68f13633d6a20785c722b22032ba45c4 (diff)
Develop runtime
Diffstat (limited to 'value.h')
-rw-r--r--value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/value.h b/value.h
index 71d5101..7d85d3c 100644
--- a/value.h
+++ b/value.h
@@ -1,5 +1,6 @@
#pragma once
#include <string>
+#include "token.h"
class Value {
public:
@@ -8,7 +9,7 @@ class Value {
String
};
- Value(std::string& lexeme);
+ Value(Token& token);
const Value::Type getType() const;
const int getIntData() const;
const std::string& getStrData() const;