summaryrefslogtreecommitdiff
path: root/server/locale/en-US/libs/lua/debug.lni
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-31 13:14:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-31 13:14:49 +0800
commit128584e0d91098f8a0d3c6bc48dc529e59d5d1e4 (patch)
tree99b7d329a33167e3b92605c2fdfd9072dee89a01 /server/locale/en-US/libs/lua/debug.lni
parentf8516effb5ca8e151f4c4eb45f8d97b273c9d922 (diff)
downloadlua-language-server-128584e0d91098f8a0d3c6bc48dc529e59d5d1e4.zip
修改目录名
Diffstat (limited to 'server/locale/en-US/libs/lua/debug.lni')
-rw-r--r--server/locale/en-US/libs/lua/debug.lni87
1 files changed, 87 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/lua/debug.lni b/server/locale/en-US/libs/lua/debug.lni
new file mode 100644
index 00000000..d94a8b47
--- /dev/null
+++ b/server/locale/en-US/libs/lua/debug.lni
@@ -0,0 +1,87 @@
+["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`'
+``````````
+name = 'what'
+enum = 'S'
+description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`'
+``````````
+name = 'what'
+enum = 'l'
+description = '`currentline`'
+``````````
+name = 'what'
+enum = 't'
+description = '`istailcall`'
+``````````
+name = 'what'
+enum = 'u'
+description = '`nups`, `nparams`, and `isvararg`'
+``````````
+name = 'what'
+enum = 'f'
+description = '`func`'
+``````````
+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.'
+``````````
+name = 'mask'
+enum = 'r'
+description = 'Calls hook when Lua returns from a function.'
+``````````
+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`.'