diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-06 15:37:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-06 15:37:19 +0800 |
commit | 958080727301e050bdaf1c7a2281b9c9e1988033 (patch) | |
tree | 0f35644d6f6e10025a3d01cf16425c149bb4d919 /server/libs | |
parent | f85f60c41a33ea562081d19aeba64fbe4400d905 (diff) | |
download | lua-language-server-958080727301e050bdaf1c7a2281b9c9e1988033.zip |
一些函数定义
Diffstat (limited to 'server/libs')
-rw-r--r-- | server/libs/lua53.ini | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/server/libs/lua53.ini b/server/libs/lua53.ini new file mode 100644 index 00000000..f5772b44 --- /dev/null +++ b/server/libs/lua53.ini @@ -0,0 +1,21 @@ +[ipairs] +type = 'function' +description = [[ +Returns three values (an iterator function, the table t, and 0) so that the construction + + for i,v in ipairs(t) do body end +will iterate over the key–value pairs (1,t[1]), (2,t[2]), ..., up to the first nil value. +]] +[[.args]] +name = 't' +type = 'table' +[[.returns]] +name = 'iterator' +type = 'function' +[[.returns]] +name = 't' +type = 'table' +[[.returns]] +name = 'i' +type = 'number' +default = '0' |