summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN/libs/lua/coroutine.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/locale/zh-CN/libs/lua/coroutine.lni
parentf8516effb5ca8e151f4c4eb45f8d97b273c9d922 (diff)
downloadlua-language-server-128584e0d91098f8a0d3c6bc48dc529e59d5d1e4.zip
修改目录名
Diffstat (limited to 'server/locale/zh-CN/libs/lua/coroutine.lni')
-rw-r--r--server/locale/zh-CN/libs/lua/coroutine.lni36
1 files changed, 36 insertions, 0 deletions
diff --git a/server/locale/zh-CN/libs/lua/coroutine.lni b/server/locale/zh-CN/libs/lua/coroutine.lni
new file mode 100644
index 00000000..e41b5e22
--- /dev/null
+++ b/server/locale/zh-CN/libs/lua/coroutine.lni
@@ -0,0 +1,36 @@
+[create]
+description = '创建一个主体函数为 `f` 的新协程。'
+
+[isyieldable]
+description = '如果正在运行的协程可以让出,则返回真。'
+
+[resume]
+description = '开始或继续协程 `co` 的运行。'
+
+[running]
+description = '返回当前正在运行的协程加一个布尔量。 如果当前运行的协程是主线程,其为真。'
+
+[status]
+description = '以字符串形式返回协程 `co` 的状态。'
+[[.enums]]
+name = 'status'
+enum = 'running'
+description = '正在运行。'
+``````````
+name = 'status'
+enum = 'suspended'
+description = '挂起或是还没有开始运行。'
+``````````
+name = 'status'
+enum = 'normal'
+description = '是活动的,但并不在运行。'
+``````````
+name = 'status'
+enum = 'dead'
+description = '运行完主体函数或因错误停止。'
+
+[wrap]
+description = '创建一个主体函数为 `f` 的新协程。'
+
+[yield]
+description = '挂起正在调用的协程的执行。'