From be011366f249b8ebed3905030ce3b7021597ee34 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Thu, 1 Sep 2016 11:14:10 +0300 Subject: Add value parsing from stdin, remove value class --- value.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 value.h (limited to 'value.h') diff --git a/value.h b/value.h deleted file mode 100644 index 7d85d3c..0000000 --- a/value.h +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once -#include -#include "token.h" - -class Value { - public: - enum Type { - Integer, - String - }; - - Value(Token& token); - const Value::Type getType() const; - const int getIntData() const; - const std::string& getStrData() const; - - private: - int m_intData; - std::string m_strData; - - Value::Type m_type; -}; -- cgit v1.3