summaryrefslogtreecommitdiff
path: root/server/libs/lua/table.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/libs/lua/table.lni
parentf8516effb5ca8e151f4c4eb45f8d97b273c9d922 (diff)
downloadlua-language-server-128584e0d91098f8a0d3c6bc48dc529e59d5d1e4.zip
修改目录名
Diffstat (limited to 'server/libs/lua/table.lni')
-rw-r--r--server/libs/lua/table.lni113
1 files changed, 113 insertions, 0 deletions
diff --git a/server/libs/lua/table.lni b/server/libs/lua/table.lni
new file mode 100644
index 00000000..b3f3f113
--- /dev/null
+++ b/server/libs/lua/table.lni
@@ -0,0 +1,113 @@
+[table]
+type = 'table'
+[[.source]]
+type = 'global'
+``````````
+type = 'library'
+name = 'table'
+
+<default>
+type = 'function'
+parent = {
+ 1 = {
+ type = 'global',
+ name = 'table',
+ },
+ 2 = {
+ type = 'library',
+ name = 'table',
+ }
+}
+
+[concat]
+[[.args]]
+name = 'list'
+type = 'table'
+``````````
+name = 'sep'
+type = 'string'
+optional = 'after'
+default = ''
+``````````
+name = 'i'
+type = 'integer'
+optional = 'after'
+default = 1
+``````````
+name = 'j'
+type = 'integer'
+optional = 'self'
+[[.returns]]
+type = 'string'
+
+[insert]
+[[.args]]
+name = 'list'
+type = 'table'
+``````````
+name = 'pos'
+type = 'integer'
+optional = 'self'
+``````````
+name = 'value'
+type = 'any'
+
+[move]
+[[.args]]
+name = 'a1'
+type = 'table'
+``````````
+name = 'f'
+type = 'integer'
+``````````
+name = 'e'
+type = 'integer'
+``````````
+name = 't'
+type = 'integer'
+``````````
+name = 'a2'
+type = 'table'
+optional = 'self'
+[[.returns]]
+name = 'a2'
+type = 'table'
+
+[pack]
+[[.args]]
+type = '...'
+[[.returns]]
+type = 'table'
+
+[remove]
+[[.args]]
+name = 'list'
+type = 'table'
+``````````
+name = 'pos'
+type = 'integer'
+optional = 'self'
+[[.returns]]
+
+[sort]
+[[.args]]
+name = 'list'
+type = 'table'
+``````````
+name = 'comp'
+type = 'function'
+optional = 'self'
+
+[unpack]
+[[.args]]
+name = 'list'
+type = 'table'
+``````````
+name = 'i'
+type = 'integer'
+optional = 'after'
+type = 1
+``````````
+name = 'j'
+type = 'integer'
+optional = 'self'