From 5c1f937a7eb7a9cc9cd86cb69b3263f41f24408f Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Sun, 22 Feb 2026 22:24:27 +0000 Subject: Partially completed lots of changes, refactoring most of the files --- include/semantic/scope.hpp | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 include/semantic/scope.hpp (limited to 'include/semantic/scope.hpp') diff --git a/include/semantic/scope.hpp b/include/semantic/scope.hpp deleted file mode 100644 index ff20542..0000000 --- a/include/semantic/scope.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include -#include - -class Scope { -public: - explicit Scope(std::string name, int level, *Scope parent); - std::string getScopeName(); - int getScopeLevel(); - *Scope getParentScope(); - void define(Symbol symbol); - *Symbol lookup(std::string name); - bool isDeclared(std::string name); - std::unordered_map getAllSymbols(); - std::string toString(); - -private: - std::string scope_name; - int scope_level - *Scope parent_scope; - std::unordered_map symbols; -}; -- cgit v1.2.3