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