From 50a51df0404ee4f057fbc19657672d1c7d3eef68 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Sat, 7 Mar 2026 18:33:21 +0000 Subject: removed implementations of symbol table related classes, need to fix the parser to use the new AST node classes then i can write the symbol table classes and refactor the lexer and parser to use the symbol table --- include/symbol_table.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include/symbol_table.hpp') diff --git a/include/symbol_table.hpp b/include/symbol_table.hpp index 55de65a..42c6cd7 100644 --- a/include/symbol_table.hpp +++ b/include/symbol_table.hpp @@ -1,12 +1,14 @@ #pragma once +#include "scope.hpp" + +#include + class SymbolTable { public: - + explicit SymbolTable(); + void addScope(Scope* scope); private: - std::vector scopes; - Scope* current_scope; - - + std::vector scopes; }; -- cgit v1.2.3