aboutsummaryrefslogtreecommitdiffstats
path: root/token.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'token.cpp')
-rw-r--r--token.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/token.cpp b/token.cpp
index 560f89e..df8c82a 100644
--- a/token.cpp
+++ b/token.cpp
@@ -5,3 +5,6 @@ Token::Token(std::string& lexeme, bool isString) :
}
+const std::string& Token::getLexeme() const {
+ return m_lexeme;
+}