aboutsummaryrefslogtreecommitdiff
path: root/include/lexer/ast.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-21 04:50:06 +0000
committer_ov4 <ov4@ov4.org>2026-09-21 04:50:06 +0000
commit1c630655b2beb0f4b84fb7e1bc034ba62520be37 (patch)
treee90e70c425813df29c8bbd5c1e84ef22f4e4a176 /include/lexer/ast.h
parent9f5936bf64deb625a27259d778937e281ca19cea (diff)
fix name typo, and remove outdated parse
Diffstat (limited to 'include/lexer/ast.h')
-rw-r--r--include/lexer/ast.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/lexer/ast.h b/include/lexer/ast.h
deleted file mode 100644
index 871afaf..0000000
--- a/include/lexer/ast.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#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;
-
- // if this is marked as `subshell`
- // it will fork a subshell
- // then the subshell will handler the rest
- bool subshell;
-};
-
-}