aboutsummaryrefslogtreecommitdiffstats
path: root/token.h
blob: 8ccb9759b3a1cb6d9b6bf7fa4d3928183798af8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <string>

class Token {
    private:
        std::string m_lexeme;
        bool m_isString;

    public:
        Token(std::string& lexeme, bool isString);
        const std::string& getLexeme() const;
        bool isString() const;
};