diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-03 18:39:07 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-03 18:39:07 +0800 |
commit | b468e3bda20b5178faa0bc26b7afd433505cbbb6 (patch) | |
tree | bfaada09c5565a15677648fb59a983b5d9343dea /server/locale | |
parent | 59649fe8a9733bed0cda3ad999754821b11f3d02 (diff) | |
download | lua-language-server-b468e3bda20b5178faa0bc26b7afd433505cbbb6.zip |
collectgarbage的新模式
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/en-US/libs/lua/basic.lni | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/lua/basic.lni b/server/locale/en-US/libs/lua/basic.lni index 4f5afb84..e9d17979 100644 --- a/server/locale/en-US/libs/lua/basic.lni +++ b/server/locale/en-US/libs/lua/basic.lni @@ -38,6 +38,48 @@ name = 'opt' enum = 'isrunning' description = 'Returns whether the collector is running.' +["collectgarbage Lua 5.4"] +[[.enums]] +name = 'opt' +enum = 'collect' +description = 'Performs a full garbage-collection cycle.' +`````````` +name = 'opt' +enum = 'stop' +description = 'Stops automatic execution.' +`````````` +name = 'opt' +enum = 'restart' +description = 'Restarts automatic execution.' +`````````` +name = 'opt' +enum = 'count' +description = 'Returns the total memory in Kbytes.' +`````````` +name = 'opt' +enum = 'step' +description = 'Performs a garbage-collection step.' +`````````` +name = 'opt' +enum = 'setpause' +description = 'Set pause.' +`````````` +name = 'opt' +enum = 'setstepmul' +description = 'Set step multiplier.' +`````````` +name = 'opt' +enum = 'incremental' +description = 'Change the collector mode to incremental.' +`````````` +name = 'opt' +enum = 'generational' +description = 'Change the collector mode to generational.' +`````````` +name = 'opt' +enum = 'isrunning' +description = 'Returns whether the collector is running.' + [dofile] description = 'Opens the named file and executes its contents as a Lua chunk.' |