From 251a9af5e8c4976373b71935457d1ce17c6888a1 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 31 Aug 2016 18:59:42 +0000 Subject: Add token class --- token.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 token.h (limited to 'token.h') diff --git a/token.h b/token.h new file mode 100644 index 0000000..b6ad24d --- /dev/null +++ b/token.h @@ -0,0 +1,11 @@ +#pragma once +#include + +class Token { + private: + std::string m_lexeme; + bool m_isString; + + public: + Token(std::string& lexeme, bool isString); +}; -- cgit v1.3