#include <sstream>#include <string>#include <vector>#include <functional>#include <cstdint>Go to the source code of this file.
Classes | |
| class | lua_kernel_base |
| struct | lua_kernel_base::command_log |
| Log implementation. More... | |
| struct | luafunc_serialize_error |
| struct | game_config_tag |
| struct | lua_object_traits< game_config_tag > |
Macros | |
| #define | GAME_CONFIG_GETTER(name, type, kernel_type) |
| #define | GAME_CONFIG_SETTER(name, type, kernel_type) |
Functions | |
| config | luaW_serialize_function (lua_State *L, int func) |
| std::vector< std::string > | luaW_get_attributes (lua_State *L, int idx) |
| This function does the actual work of grabbing all the attribute names. More... | |
| #define GAME_CONFIG_GETTER | ( | name, | |
| type, | |||
| kernel_type | |||
| ) |
Definition at line 165 of file lua_kernel_base.hpp.
| #define GAME_CONFIG_SETTER | ( | name, | |
| type, | |||
| kernel_type | |||
| ) |
Definition at line 168 of file lua_kernel_base.hpp.
| std::vector<std::string> luaW_get_attributes | ( | lua_State * | L, |
| int | idx | ||
| ) |
This function does the actual work of grabbing all the attribute names.
It's a separate function so that it can be used by tab-completion as well.
Definition at line 610 of file lua_kernel_base.cpp.
References dir_meta_helper(), impl_is_deprecated(), utils::views::keys, lua_push(), luaW_toboolean(), and ON_SCOPE_EXIT.
Referenced by luaW_Registry::dir(), lua_widget::impl_widget_dir(), and intf_object_dir().
| config luaW_serialize_function | ( | lua_State * | L, |
| int | func | ||
| ) |
Definition at line 1107 of file lua_kernel_base.cpp.
References config::add_child(), cfg, data, config::empty(), i, lg::info(), luaW_getglobal(), luaW_to_namedtuple(), luaW_toconfig(), luaW_toscalar(), and names.
Referenced by intf_execute(), and lua_kernel_base::run_binary_lua_tag().