diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2016-08-31 18:59:42 +0000 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2016-08-31 18:59:42 +0000 |
| commit | 251a9af5e8c4976373b71935457d1ce17c6888a1 (patch) | |
| tree | 33313df7f059bbf3a825d83d7ef0273b2ec012c2 /token.cpp | |
| parent | c59f10a0b0f58840c02327fc602a681c5410b212 (diff) | |
Add token class
Diffstat (limited to 'token.cpp')
| -rw-r--r-- | token.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/token.cpp b/token.cpp new file mode 100644 index 0000000..560f89e --- /dev/null +++ b/token.cpp @@ -0,0 +1,7 @@ +#include "token.h" + +Token::Token(std::string& lexeme, bool isString) : + m_lexeme(lexeme), m_isString(isString) { + +} + |
