summaryrefslogtreecommitdiff
path: root/server/libs/@luaJIT/bit.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-10 10:36:03 +0800
committersumneko <sumneko@hotmail.com>2019-04-10 10:36:03 +0800
commite5d6ba25f22fa873c30b786b87d6b821f926d3d9 (patch)
tree7ea63818235d22bc46fc21a4e6034c3198cfcd6d /server/libs/@luaJIT/bit.lni
parent1e07791ab99b76f5f2b01b1ad1d470272cd662ae (diff)
downloadlua-language-server-e5d6ba25f22fa873c30b786b87d6b821f926d3d9.zip
给LuaJIT的相关库都加上版本
Diffstat (limited to 'server/libs/@luaJIT/bit.lni')
-rw-r--r--server/libs/@luaJIT/bit.lni145
1 files changed, 145 insertions, 0 deletions
diff --git a/server/libs/@luaJIT/bit.lni b/server/libs/@luaJIT/bit.lni
new file mode 100644
index 00000000..742d2bc5
--- /dev/null
+++ b/server/libs/@luaJIT/bit.lni
@@ -0,0 +1,145 @@
+<default>
+version = LuaJIT
+
+[bit]
+type = table
+[[.source]]
+type = library
+name = bit
+``````````
+type = global
+name = bit
+
+<default>
+type = function
+parent = {
+ 1 = {
+ type = 'library',
+ name = 'bit',
+ },
+ 2 = {
+ type = 'global',
+ name = 'bit',
+ },
+}
+
+[tobit]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number
+
+[tohex]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+optional = after
+[[.returns]]
+type = number
+
+[bnot]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number
+
+[bor]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[band]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[bxor]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[lshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[rshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[arshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[rol]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[ror]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[bswap]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number