diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:20:59 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:20:59 +0300 |
| commit | 50bafbdd68160d00606a4e83d9759c21223c11f8 (patch) | |
| tree | 66c58cfb012dc0b7d222a03e8c55507b75e9af1f /src/token.h | |
| parent | be011366f249b8ebed3905030ce3b7021597ee34 (diff) | |
Restructure project
Diffstat (limited to 'src/token.h')
| -rw-r--r-- | src/token.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <string> + +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; +}; |
