diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-27 15:33:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-27 15:33:28 +0800 |
commit | cbde92feafae9807e20acf8bb10e438e27e24c39 (patch) | |
tree | 056db12cab3c4020bb72d9cb30e6416669d62788 /meta/template/io.lua | |
parent | 9c4760872cc0184c3d5b9f5d8df2fbb9f6467040 (diff) | |
download | lua-language-server-cbde92feafae9807e20acf8bb10e438e27e24c39.zip |
rename
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r-- | meta/template/io.lua | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua index c159fc4c..5cfd3cab 100644 --- a/meta/template/io.lua +++ b/meta/template/io.lua @@ -11,18 +11,18 @@ io = {} ---@alias openmode ----|>'"r"' # ---#DESENUM 'openmode.r' ----| '"w"' # ---#DESENUM 'openmode.w' ----| '"a"' # ---#DESENUM 'openmode.a' ----| '"r+"' # ---#DESENUM 'openmode.r+' ----| '"w+"' # ---#DESENUM 'openmode.w+' ----| '"a+"' # ---#DESENUM 'openmode.a+' ----| '"rb"' # ---#DESENUM 'openmode.rb' ----| '"wb"' # ---#DESENUM 'openmode.wb' ----| '"ab"' # ---#DESENUM 'openmode.ab' ----| '"r+b"' # ---#DESENUM 'openmode.r+b' ----| '"w+b"' # ---#DESENUM 'openmode.w+b' ----| '"a+b"' # ---#DESENUM 'openmode.a+b' +---|>'"r"' # ---#DESTAIL 'openmode.r' +---| '"w"' # ---#DESTAIL 'openmode.w' +---| '"a"' # ---#DESTAIL 'openmode.a' +---| '"r+"' # ---#DESTAIL 'openmode.r+' +---| '"w+"' # ---#DESTAIL 'openmode.w+' +---| '"a+"' # ---#DESTAIL 'openmode.a+' +---| '"rb"' # ---#DESTAIL 'openmode.rb' +---| '"wb"' # ---#DESTAIL 'openmode.wb' +---| '"ab"' # ---#DESTAIL 'openmode.ab' +---| '"r+b"' # ---#DESTAIL 'openmode.r+b' +---| '"w+b"' # ---#DESTAIL 'openmode.w+b' +---| '"a+b"' # ---#DESTAIL 'openmode.a+b' ---#DES 'io.close' ---@param file? file* @@ -58,8 +58,8 @@ function io.open(filename, mode) end function io.output(file) end ---@alias popenmode ----| '"r"' # ---#DESENUM 'popenmode.r' ----| '"w"' # ---#DESENUM 'popenmode.w' +---| '"r"' # ---#DESTAIL 'popenmode.r' +---| '"w"' # ---#DESTAIL 'popenmode.w' ---#DES 'io.popen' ---@param prog string @@ -79,9 +79,9 @@ function io.read(...) end function io.tmpfile() end ---@alias filetype ----| '"file"' # ---#DESENUM 'filetype.file' ----| '"closed file"' # ---#DESENUM 'filetype.closed file' ----| 'nil' # ---#DESENUM 'filetype.nil' +---| '"file"' # ---#DESTAIL 'filetype.file' +---| '"closed file"' # ---#DESTAIL 'filetype.closed file' +---| 'nil' # ---#DESTAIL 'filetype.nil' ---#DES 'io.type' ---@param file file* |