aboutsummaryrefslogtreecommitdiffstats
path: root/token.cpp
blob: 6e9e5e207da9b0a2df941a322ef1c92fac64e4e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "token.h"

Token::Token(std::string& lexeme, bool isString) :
    m_lexeme(lexeme), m_isString(isString) {

}

const std::string& Token::getLexeme() const {
    return m_lexeme;
}

bool Token::isString() const {
    return m_isString;
}