|
λ61
|
#include <BuildScript.hpp>
Public Member Functions | |
| BuildScript (const std::string &scriptFilePath, l61_stat &scriptCtx) | |
| ~BuildScript () override | |
| Public Member Functions inherited from l61::ScriptEngine::RunnableScriptEnvironment | |
| virtual int | scriptRun (const std::vector< std::string > &args) |
| RunnableScriptEnvironment (const std::string &scriptFilePath, l61_stat &scriptCtx) | |
| ~RunnableScriptEnvironment () override=default | |
| Public Member Functions inherited from l61::ScriptEngine::FileBackedScriptEnvironment | |
| const std::string & | getScriptFilePath () const |
| std::string | toString () const override |
| Returns a human-readable string representation of the object. | |
| FileBackedScriptEnvironment (const std::string &scriptFilePath, l61_stat &scriptCtx) | |
| ~FileBackedScriptEnvironment () override=default | |
| Public Member Functions inherited from l61::ScriptEngine::ScriptEnvironment | |
| template<class T> | |
| void | addValue (const std::string &key, T &&value) |
| template<class T> | |
| T | getValue (const std::string &key) |
| template<class T> | |
| void | setValue (const std::string &key, const T &value) |
| bool | has (const std::string &key) |
| sol::table | makeTable (const std::string &name) |
| ScriptEnvironment (const ScriptEnvironment &)=delete | |
| ScriptEnvironment (ScriptEnvironment &&)=delete | |
| ScriptEnvironment & | operator= (const ScriptEnvironment &)=delete |
| void | specialRun (const std::function< void(sol::state &)> &func) override |
| void | exec (const std::string &code) final |
| for user input | |
| void | attachDebugger (AbstractScriptDebugger *debugger) override |
| sol::protected_function_result | runCodeBlock (const std::string &luaCode) override |
| ~ScriptEnvironment () override | |
| Public Member Functions inherited from l61::Object | |
| virtual | ~Object ()=default |
| virtual std::size_t | hashCode () const |
| Returns a hash code for the object. | |
| std::string | typeName () const |
| Returns the demangled name of the type. | |
| const std::type_info & | typeInfo () const |
| Returns RTTI type information object. | |
| virtual nlohmann::json | toJsonValue () const |
| Serializes the object into JSON form. | |
| operator std::string () const | |
| Explicit conversion operator to std::string. | |
| operator nlohmann::json () const | |
| Explicit conversion operator to nlohmann::json. | |
Protected Member Functions | |
| int | run (const std::vector< std::string > &args) override |
| void | scriptPreInit () override |
| Protected Member Functions inherited from l61::ScriptEngine::RunnableScriptEnvironment | |
| int | standardMainEntryPoint (const std::vector< std::string > &args) |
| Protected Member Functions inherited from l61::ScriptEngine::ScriptEnvironment | |
| void | lib61_setup () |
| sol::state & | getLuaCtx () override |
| l61_stat & | getScriptCtx () |
| ScriptEnvironment (l61_stat &scriptCtx) | |
Additional Inherited Members | |
| Static Protected Member Functions inherited from l61::ScriptEngine::ScriptEnvironment | |
| static sol::table | lua_mountLib (sol::this_state state, const std::string &libraryName) |
|
explicit |
|
overridedefault |
|
overrideprotectedvirtual |
Implements l61::ScriptEngine::RunnableScriptEnvironment.
|
overrideprotectedvirtual |
Implements l61::ScriptEngine::RunnableScriptEnvironment.