mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
23 lines
466 B
C++
23 lines
466 B
C++
#ifndef POLSERVER_COMPILEDSCRIPTSERIALIZER_H
|
|
#define POLSERVER_COMPILEDSCRIPTSERIALIZER_H
|
|
|
|
#include <string>
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class CompiledScript;
|
|
|
|
class CompiledScriptSerializer
|
|
{
|
|
public:
|
|
explicit CompiledScriptSerializer( const CompiledScript& );
|
|
|
|
void write( const std::string& pathname ) const;
|
|
|
|
private:
|
|
const CompiledScript& compiled_script;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_COMPILEDSCRIPTSERIALIZER_H
|