From b3f83360282bfe327c0ccbeecab706e0e7d2c050 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Mon, 9 Feb 2026 11:59:14 +0000 Subject: Changed .h to .hpp --- include/semantic/symbol_table.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 include/semantic/symbol_table.h (limited to 'include/semantic/symbol_table.h') diff --git a/include/semantic/symbol_table.h b/include/semantic/symbol_table.h deleted file mode 100644 index b2b8270..0000000 --- a/include/semantic/symbol_table.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -class SymbolTable { -public: - explicit SymbolTable(); - ~SymbolTable() = default; - void enterScope(std::string scope_name); - void exitScope(); - Scope* getCurrentScope(); - Scope* getGlobalScope(); - int getScopeLevel(); - void insert(Symbol symbol); - Symbol* lookup(std::string name); - Symbol* lookupCurrentScope(std::string name); - bool isDeclared(std::string name); - bool isDeclaredInCurrentScope(std::string name); - void display(); - std::string toString(); - -private: - std::vector> scopes; - Scope* current_scope; - int scope_level; - Scope* global_scope; -}; -- cgit v1.2.3