aboutsummaryrefslogtreecommitdiffstats
path: root/value.h
diff options
context:
space:
mode:
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;