summaryrefslogtreecommitdiff
path: root/server/libs/@lua/debug.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 15:56:36 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 15:56:36 +0800
commitd29789157f0988dd0f189c35ed581cb3cfdeb5c8 (patch)
treefa073a6cfc5dc32a8e6f691064a61d3978fb9eaf /server/libs/@lua/debug.lni
parent79961aa0bd5ea6d297683e976165ea70866c12d3 (diff)
downloadlua-language-server-d29789157f0988dd0f189c35ed581cb3cfdeb5c8.zip
LuaJITēš„API
Diffstat (limited to 'server/libs/@lua/debug.lni')
-rw-r--r--server/libs/@lua/debug.lni21
1 files changed, 19 insertions, 2 deletions
diff --git a/server/libs/@lua/debug.lni b/server/libs/@lua/debug.lni
index 74d50161..0d4def79 100644
--- a/server/libs/@lua/debug.lni
+++ b/server/libs/@lua/debug.lni
@@ -23,7 +23,7 @@ parent = {
name = 'debug'
[getfenv]
-version = 'Lua 5.1'
+version = {'Lua 5.1', 'LuaJIT'}
[[.args]]
name = o
[[.returns]]
@@ -79,6 +79,10 @@ enum = 'f'
name = 'what'
enum = 'L'
+['getinfo Lua 5.1':getinfo]
+name = 'getinfo'
+version = 'Lua 5.1'
+
[getlocal]
[[.args]]
type = 'thread'
@@ -90,6 +94,17 @@ type = {'integer', 'function'}
name = 'local'
type = 'integer'
+['getlocal Lua 5.1']
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'level'
+type = integer'
+``````````
+name = 'local'
+type = 'integer'
+
[getmetatable]
[[.args]]
name = 'value'
@@ -135,7 +150,7 @@ type = 'any'
type = 'boolean'
[setfenv]
-version = 'Lua 5.1'
+version = {'Lua 5.1', 'LuaJIT'}
[[.args]]
name = 'object'
``````````
@@ -244,6 +259,7 @@ default = 1
name = 'message'
[upvalueid]
+version = {'Lua 5.2', 'Lua 5.3', 'Lua 5.4', 'LuaJIT'}
[[.args]]
name = 'f'
type = 'function'
@@ -255,6 +271,7 @@ name = 'id'
type = 'userdata'
[upvaluejoin]
+version = {'Lua 5.2', 'Lua 5.3', 'Lua 5.4', 'LuaJIT'}
[[.args]]
name = 'f1'
type = 'function'