diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-23 00:05:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-23 00:05:30 +0800 |
commit | 6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444 (patch) | |
tree | fdc22d78150fd1c5edc46732c8b151ccfefb519f /script-beta/test/definition/emmy.lua | |
parent | d0ff66c9abe9d6abbca12fd811e0c3cb69c1033a (diff) | |
download | lua-language-server-6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444.zip |
正路目录
Diffstat (limited to 'script-beta/test/definition/emmy.lua')
-rw-r--r-- | script-beta/test/definition/emmy.lua | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/script-beta/test/definition/emmy.lua b/script-beta/test/definition/emmy.lua deleted file mode 100644 index ee8fa6a7..00000000 --- a/script-beta/test/definition/emmy.lua +++ /dev/null @@ -1,91 +0,0 @@ -TEST [[ ----@class <!A!> ----@class B : <?A?> -]] - -TEST [[ ----@class <!A!> ----@type B|<?A?> -]] - -TEST [[ ----@class A -local mt = {} -function mt:<!cast!>() -end - ----@type A -local obj -obj:<?cast?>() -]] - -TEST [[ ----@class A -local <!mt!> = {} -function mt:cast() -end - ----@type A -local <!obj!> -<?obj?>:cast() -]] - -TEST [[ ----@type A -local <?<!obj!>?> - ----@class A -local <!mt!> -]] - -TEST [[ ----@type A -local obj -obj:<?func?>() - ----@class A -local mt -function mt:<!func!>() -end -]] - -TEST [[ ----@type A -local obj -obj:<?func?>() - -local mt = {} -mt.__index = mt -function mt:<!func!>() -end ----@class A -local obj = setmetatable({}, mt) -]] - -TEST [[ ----@alias <!B A!> ----@type <?B?> -]] - -TEST [[ ----@class <!Class!> ----@param a <?Class?> -]] - -TEST [[ ----@class Class ----@field <!name string!> ----@field id integer -local mt = {} -mt.<?name?> -]] - -TEST [[ ----@class loli -local unit - -function unit:<!pants!>() -end - ----@see loli#<?pants?> -]] |