#ifndef POLSERVER_LOCALVARIABLESCOPES_H #define POLSERVER_LOCALVARIABLESCOPES_H #include namespace Pol::Bscript::Compiler { class LocalVariableScope; class Report; class Variables; class LocalVariableScopes { public: LocalVariableScopes( Variables& locals, Report& report ); LocalVariableScope* current_local_scope(); private: friend class LocalVariableScope; Variables& local_variables; std::vector local_variable_scopes; Report& report; }; } // namespace Pol::Bscript::Compiler #endif // POLSERVER_LOCALVARIABLESCOPES_H