blob: 9e5a717da41436501a0cc5f2458e3201ce1e64e9 (
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
26
27
28
29
30
|
#pragma once
#include <string>
#include "lang_analysis/lexer_class.h"
#include "lang_analysis/enum_type.h"
#include "lang_analysis/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;
// if this is marked as `subshell`
// it will fork a subshell
// then the subshell will handler the rest
bool subshell;
};
}
|