From 1c630655b2beb0f4b84fb7e1bc034ba62520be37 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Mon, 21 Sep 2026 04:50:06 +0000 Subject: fix name typo, and remove outdated parse --- include/lexer/lexer_class.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 include/lexer/lexer_class.h (limited to 'include/lexer/lexer_class.h') diff --git a/include/lexer/lexer_class.h b/include/lexer/lexer_class.h deleted file mode 100644 index 04b2e1c..0000000 --- a/include/lexer/lexer_class.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include -#include -#include - -#include "lexer/enum_type.h" - -using namespace std; - -namespace ov4 -{ - -class T_lexer -{ -public: - - // token.h - class T_token; - string trim(const string &s, const string &trim_target = " \t"); - bool is_single_symbol(char c); - void bracket_depth_changer(char c, int &bracket_depth); - bool token_continue(const string &s, char next); - void token_push(const string &push_s, int bracket_depth, bool force_text = false); - int tokenizer(const string &s); - - // ast.h - class T_ast; - string final_trim(size_t _begin, size_t _end); - size_t alloc_ast(); - int get_pivot_order(enum_token_type x); - bool is_operator(enum_token_type x); - void parse(size_t cmd_begin, size_t cmd_end, size_t ast_vec); - - // shared - std::vector ast; - std::vector token; - size_t ast_index = 0; - -}; - -} -- cgit v1.3.1-4-g156e