diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:14:10 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:14:10 +0300 |
| commit | be011366f249b8ebed3905030ce3b7021597ee34 (patch) | |
| tree | 3b357df175ba1f484d852d73d4cbf3da9c1910df /value.h | |
| parent | d6b44fb2323b4f6f5e0bd3de33a40d6fd8283c1a (diff) | |
Add value parsing from stdin, remove value class
Diffstat (limited to 'value.h')
| -rw-r--r-- | value.h | 22 |
1 files changed, 0 insertions, 22 deletions
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 <string> -#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; -}; |
