aboutsummaryrefslogtreecommitdiffstats
path: root/token.cpp
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2016-08-31 20:05:10 +0000
committerJan Tuomi <jans.tuomi@gmail.com>2016-08-31 20:05:10 +0000
commitc4cae690deddcb8a7fc6a537816e832525ca0e86 (patch)
tree42a78dedb03d776e3945c1729a2e4b1d264ef2ed /token.cpp
parent1ba5c17a68f13633d6a20785c722b22032ba45c4 (diff)
Develop runtime
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;
+}