diff options
-rw-r--r-- | server/locale/en-US/libs/lua53/debug.lni | 88 |
1 files changed, 87 insertions, 1 deletions
diff --git a/server/locale/en-US/libs/lua53/debug.lni b/server/locale/en-US/libs/lua53/debug.lni index d2002864..900e0ea1 100644 --- a/server/locale/en-US/libs/lua53/debug.lni +++ b/server/locale/en-US/libs/lua53/debug.lni @@ -1 +1,87 @@ -[debug] +["debug.debug"] +description = 'Enters an interactive mode with the user, running each string that the user enters.' + +[gethook] +description = 'Returns the current hook settings of the thread.' + +[getinfo] +description = 'Returns a table with information about a function.' +[[.enums]] +name = 'what' +enum = 'n' +description = '`name` and `namewhat`' +[[.enums]] +name = 'what' +enum = 'S' +description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`' +[[.enums]] +name = 'what' +enum = 'l' +description = '`currentline`' +[[.enums]] +name = 'what' +enum = 't' +description = '`istailcall`' +[[.enums]] +name = 'what' +enum = 'u' +description = '`nups`, `nparams`, and `isvararg`' +[[.enums]] +name = 'what' +enum = 'f' +description = '`func`' +[[.enums]] +name = 'what' +enum = 'L' +description = '`activelines`' + +[getlocal] +description = 'Returns the name and the value of the local variable with index `local` of the function at level `f` of the stack.' + +[getmetatable] +description = 'Returns the metatable of the given value.' + +[getregistry] +description = 'Returns the registry table.' + +[getupvalue] +description = 'Returns the name and the value of the upvalue with index `up` of the function.' + +[getuservalue] +description = 'Returns the Lua value associated to u.' + +[sethook] +description = 'Sets the given function as a hook.' +[[.enums]] +name = 'mask' +enum = 'c' +description = 'Calls hook when Lua calls a function.' +[[.enums]] +name = 'mask' +enum = 'r' +description = 'Calls hook when Lua returns from a function.' +[[.enums]] +name = 'mask' +enum = 'l' +description = 'Calls hook when Lua enters a new line of code.' + +[setlocal] +description = 'Assigns the `value` to the local variable with index `local` of the function at `level` of the stack.' + +[setmetatable] +description = 'Sets the metatable for the given value to the given table (which can be nil).' + +[setupvalue] +description = 'Assigns the `value` to the upvalue with index `up` of the function.' + +[setuservalue] +description = 'Sets the given value as the Lua value associated to the given udata.' + +[traceback] +description = 'Returns a string with a traceback of the call stack. The optional message string is appended at the beginning of the traceback.' + +[upvalueid] +description = 'Returns a unique identifier (as a light userdata) for the upvalue numbered `n` from the given function.' + +[upvaluejoin] +description = 'Make the `n1`-th upvalue of the Lua closure `f1` refer to the `n2`-th upvalue of the Lua closure `f2`.' |