aboutsummaryrefslogtreecommitdiff
path: root/include/lang_analysis/token.h
blob: 45d06f3ae154f2fb7813940bbddc7651c18721a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#pragma once

#include <string>

#include "lang_analysis/lexer_class.h"
#include "lang_analysis/enum_type.h"
#include "lang_analysis/symbol_property.h"

namespace ov4
{

class T_lexer::T_token
{
public:
    T_token() = default;

    enum_token_type token_type;
    std::string text;
    guard_type guard = GUARD_OFF;
    int bracket_depth = 0;
};

}