#include <dlua.h>
Public Member Functions | |
| dlua_chunk (const std::string &_context="dlua_chunk") | |
| dlua_chunk (lua_State *ls) | |
| std::string | describe (const std::string &chunkname) const |
| void | clear () |
| void | add (int line, const std::string &line2) |
| void | set_chunk (const std::string &s) |
| int | load (CLua &interp) |
| int | run (CLua &interp) |
| int | load_call (CLua &interp, const char *function) |
| void | set_file (const std::string &s) |
| const std::string & | lua_string () const |
| std::string | orig_error () const |
| bool | rewrite_chunk_errors (std::string &err) const |
| bool | empty () const |
| const std::string & | compiled_chunk () const |
| void | write (writer &) const |
| void | read (reader &) |
Static Public Member Functions | |
| static dlua_chunk | precompiled (const std::string &compiled) |
Public Attributes | |
| std::string | error |
| dlua_chunk::dlua_chunk | ( | const std::string & | _context = "dlua_chunk" |
) |

| dlua_chunk::dlua_chunk | ( | lua_State * | ls | ) |

| dlua_chunk dlua_chunk::precompiled | ( | const std::string & | compiled | ) | [static] |
| std::string dlua_chunk::describe | ( | const std::string & | chunkname | ) | const |

| void dlua_chunk::clear | ( | ) |
| void dlua_chunk::add | ( | int | line, | |
| const std::string & | line2 | |||
| ) |
| void dlua_chunk::set_chunk | ( | const std::string & | s | ) |
| int dlua_chunk::load | ( | CLua & | interp | ) |

| int dlua_chunk::run | ( | CLua & | interp | ) |

| int dlua_chunk::load_call | ( | CLua & | interp, | |
| const char * | function | |||
| ) |

| void dlua_chunk::set_file | ( | const std::string & | s | ) |
| const std::string& dlua_chunk::lua_string | ( | ) | const [inline] |
| std::string dlua_chunk::orig_error | ( | ) | const |

| bool dlua_chunk::rewrite_chunk_errors | ( | std::string & | err | ) | const |

| bool dlua_chunk::empty | ( | ) | const |

| const std::string& dlua_chunk::compiled_chunk | ( | ) | const [inline] |
| void dlua_chunk::write | ( | writer & | outf | ) | const |

| void dlua_chunk::read | ( | reader & | inf | ) |

std::string dlua_chunk::error [mutable] |
1.5.6