mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
20 lines
383 B
C
20 lines
383 B
C
|
|
#ifndef POLSERVER_LOCALVARIABLESCOPEINFO_H
|
||
|
|
#define POLSERVER_LOCALVARIABLESCOPEINFO_H
|
||
|
|
|
||
|
|
#include <memory>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace Pol::Bscript::Compiler
|
||
|
|
{
|
||
|
|
class Variable;
|
||
|
|
|
||
|
|
class LocalVariableScopeInfo
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
unsigned base_index = 0;
|
||
|
|
std::vector<std::shared_ptr<Variable>> variables;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace Pol::Bscript::Compiler
|
||
|
|
#endif // POLSERVER_LOCALVARIABLESCOPEINFO_H
|