aboutsummaryrefslogtreecommitdiffstats
path: root/token.cpp
blob: df8c82acc0327a63adf63935d219267d00c45441 (plain)
1
2
3
4
5
6
7
8
9
10
#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;
}