From 50bafbdd68160d00606a4e83d9759c21223c11f8 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Thu, 1 Sep 2016 11:20:59 +0300 Subject: Restructure project --- src/token.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/token.h (limited to 'src/token.h') diff --git a/src/token.h b/src/token.h new file mode 100644 index 0000000..8ccb975 --- /dev/null +++ b/src/token.h @@ -0,0 +1,13 @@ +#pragma once +#include + +class Token { + private: + std::string m_lexeme; + bool m_isString; + + public: + Token(std::string& lexeme, bool isString); + const std::string& getLexeme() const; + bool isString() const; +}; -- cgit v1.3