aboutsummaryrefslogtreecommitdiff
path: root/include/lexer/ast.h
blob: 3434aa362d049f841f99f47cabccc5df5dd37caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#pragma once

#include <string>

#include "lexer/lexer_class.h"
#include "lexer/enum_type.h"
#include "lexer/token.h"

using namespace std; // remove this

namespace ov4
{

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

    enum_token_type token_type;
    string command_text;
    size_t left = string::npos;
    size_t right = string::npos;
};

}