mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
19 lines
334 B
C
19 lines
334 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
namespace Pol::Bscript::Compiler
|
||
|
|
{
|
||
|
|
class Variables;
|
||
|
|
|
||
|
|
// RAII class to add a new `VariablesInfo` object onto `Variables`' stack.
|
||
|
|
class FunctionVariableScope
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
FunctionVariableScope( Variables& variables );
|
||
|
|
~FunctionVariableScope();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Variables& variables;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace Pol::Bscript::Compiler
|