1 #ifndef GAME_MWBASE_SCRIPTMANAGER_H
2 #define GAME_MWBASE_SCRIPTMANAGER_H
virtual const Compiler::Locals & getLocals(const std::string &name)=0
Return locals for script name.
ScriptManager & operator=(const ScriptManager &)
not implemented
Definition: globalscripts.hpp:38
ScriptManager()
Definition: scriptmanager.hpp:34
virtual std::pair< int, int > compileAll()=0
Definition: interpreter.hpp:16
Definition: context.hpp:9
virtual MWScript::GlobalScripts & getGlobalScripts()=0
Interface for script manager (implemented in MWScript)
Definition: scriptmanager.hpp:24
virtual void run(const std::string &name, Interpreter::Context &interpreterContext)=0
Run the script with the given name (compile first, if not compiled yet)
virtual ~ScriptManager()
Definition: scriptmanager.hpp:36
virtual bool compile(const std::string &name)=0
Local variable declarations.
Definition: locals.hpp:12
const char * name
Definition: crashcatcher.cpp:59