32#if !defined(LUTOK_DEBUG_HPP)
33#define LUTOK_DEBUG_HPP
67 int event(
void)
const;
68 std::string
name(
void)
const;
70 std::string
what(
void)
const;
71 std::string
source(
void)
const;
73 int n_ups(
void)
const;
Internal implementation for lutok::debug.
Definition debug.cpp:40
A model for the Lua debug state.
Definition debug.hpp:54
void get_info(state &, const std::string &)
Wrapper around lua_getinfo.
Definition debug.cpp:67
int last_line_defined(void) const
Accessor for the 'lastlinedefined' field of lua_Debug.
Definition debug.cpp:178
~debug(void)
Destructor.
Definition debug.cpp:54
std::string source(void) const
Accessor for the 'source' field of lua_Debug.
Definition debug.cpp:136
int current_line(void) const
Accessor for the 'currentline' field of lua_Debug.
Definition debug.cpp:147
int line_defined(void) const
Accessor for the 'linedefined' field of lua_Debug.
Definition debug.cpp:167
void get_stack(state &, const int)
Wrapper around lua_getstack.
Definition debug.cpp:81
int event(void) const
Accessor for the 'event' field of lua_Debug.
Definition debug.cpp:93
std::string name(void) const
Accessor for the 'name' field of lua_Debug.
Definition debug.cpp:103
std::shared_ptr< impl > _pimpl
Pointer to the shared internal implementation.
Definition debug.hpp:58
int n_ups(void) const
Accessor for the 'nups' field of lua_Debug.
Definition debug.cpp:157
debug(void)
Constructor for an empty debug structure.
Definition debug.cpp:47
std::string short_src(void) const
Accessor for the 'short_src' field of lua_Debug.
Definition debug.cpp:188
std::string name_what(void) const
Accessor for the 'namewhat' field of lua_Debug.
Definition debug.cpp:114
std::string what(void) const
Accessor for the 'what' field of lua_Debug.
Definition debug.cpp:125
A RAII model for the Lua state.
Definition state.hpp:71