summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-17 18:05:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-17 18:05:28 +0800
commitae7510e8d1b7398f93ee4a1198eed154822d594d (patch)
treecc81fadaaa76fa4266865b8e9fcf2ad452b29bc8 /server/locale
parent92f927854f697d4220e0ce1135bbc84364085c05 (diff)
downloadlua-language-server-ae7510e8d1b7398f93ee4a1198eed154822d594d.zip
更新库
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/libs/lua53/debug.lni88
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`.'