Skip to content

Commit

Permalink
修复5.1章节中的lua_load跳转
Browse files Browse the repository at this point in the history
  • Loading branch information
atom-l committed May 6, 2024
1 parent 56c37b5 commit 7c10c9e
Show file tree
Hide file tree
Showing 82 changed files with 238 additions and 238 deletions.
18 changes: 9 additions & 9 deletions VitePress/5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ typedef struct luaL_Buffer luaL_Buffer;
const char *name,
const char *mode);</pre>

将一块缓冲区加载为Lua代码块。此函数使用[lua_load](#lua_load)来加载 buff 所指向的长度为 sz 的代码块。
将一块缓冲区加载为Lua代码块。此函数使用[lua_load](/4.6#lua_load)来加载 buff 所指向的长度为 sz 的代码块。

此函数的返回值同[lua_load](#lua_load)。参数 name 是该代码块的名称,用于调试信息和错误消息。字符串参数 mode 用法同[lua_load](#lua_load)
此函数的返回值同[lua_load](/4.6#lua_load)。参数 name 是该代码块的名称,用于调试信息和错误消息。字符串参数 mode 用法同[lua_load](/4.6#lua_load)

### luaL_loadfile {#luaL_loadfile}
<span style="color:gray;float:right;font-size:small;">[-0, +1, <em>m</em>]</span>
Expand All @@ -310,23 +310,23 @@ typedef struct luaL_Buffer luaL_Buffer;
<pre>int luaL_loadfilex (lua_State *L, const char *filename,
const char *mode);</pre>

将一个文件加载为Lua代码块。此函数使用[lua_load](#lua_load)来加载名为 filename 的文件。当 filename 为NULL时会从标准输入中加载。文件中以 '#' 开头的第一行会被忽略。
将一个文件加载为Lua代码块。此函数使用[lua_load](/4.6#lua_load)来加载名为 filename 的文件。当 filename 为NULL时会从标准输入中加载。文件中以 '#' 开头的第一行会被忽略。

字符串参数 mode 用法同[lua_load](#lua_load)
字符串参数 mode 用法同[lua_load](/4.6#lua_load)

此函数的返回值同[lua_load](#lua_load)或者在发生与文件无关的错误时返回[LUA_ERRFILE](#441---状态码)
此函数的返回值同[lua_load](/4.6#lua_load)或者在发生与文件无关的错误时返回[LUA_ERRFILE](#441---状态码)

[lua_load](#lua_load)一样,此函数只是加载代码块而不运行。
[lua_load](/4.6#lua_load)一样,此函数只是加载代码块而不运行。

### luaL_loadstring {#luaL_loadstring}
<span style="color:gray;float:right;font-size:small;">[-0, +1, <em>-</em>]</span>
<pre>int luaL_loadstring (lua_State *L, const char *s);</pre>

将一个字符串加载为Lua代码块。此函数使用[lua_load](#lua_load)来加载以零为终止符的字符串 s 。
将一个字符串加载为Lua代码块。此函数使用[lua_load](/4.6#lua_load)来加载以零为终止符的字符串 s 。

此函数的返回值同[lua_load](#lua_load)
此函数的返回值同[lua_load](/4.6#lua_load)

[lua_load](#lua_load)一样,此函数只是加载代码块而不运行。
[lua_load](/4.6#lua_load)一样,此函数只是加载代码块而不运行。

### luaL_newlib {#luaL_newlib}
<span style="color:gray;float:right;font-size:small;">[-0, +1, <em>m</em>]</span>
Expand Down
6 changes: 3 additions & 3 deletions docs/1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.2.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.3.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.4.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.5.1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.5.2.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.5.3.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.5.4.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.5.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/2.6.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<meta name="generator" content="VitePress v1.0.2">
<link rel="preload stylesheet" href="/lua5.4-manual-zh/assets/style.hAw9--ld.css" as="style">

<script type="module" src="/lua5.4-manual-zh/assets/app.D-n9DR74.js"></script>
<script type="module" src="/lua5.4-manual-zh/assets/app.D0OdGgKn.js"></script>
<link rel="preload" href="/lua5.4-manual-zh/assets/inter-roman-latin.Bu8hRsVA.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/lua5.4-manual-zh/assets/chunks/framework.Cy9JvDAg.js">
<link rel="modulepreload" href="/lua5.4-manual-zh/assets/chunks/theme.CVQuGBFA.js">
<link rel="modulepreload" href="/lua5.4-manual-zh/assets/chunks/theme.B5YjQXpA.js">
<link rel="modulepreload" href="/lua5.4-manual-zh/assets/2.6.md.Dkw1cVXs.lean.js">
<link rel="icon" href="/lua5.4-manual-zh/lua.ico">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
Expand Down Expand Up @@ -43,7 +43,7 @@
<span class="line"><span>co-body x y</span></span>
<span class="line"><span>main true 10 end</span></span>
<span class="line"><span>main false cannot resume dead coroutine</span></span></code></pre></div><br><p>你也可以通过C API来创建和处理协程:参见<a href="/lua5.4-manual-zh/4.6.html#lua_newthread">lua_newthread</a><a href="/lua5.4-manual-zh/4.6.html#lua_resume">lua_resume</a><a href="/lua5.4-manual-zh/4.6.html#lua_yield">lua_yield</a>函数。</p></div></div></main><footer class="VPDocFooter" data-v-e6f2a212 data-v-b77f9094><!--[--><!--]--><!----><nav class="prev-next" data-v-b77f9094><div class="pager" data-v-b77f9094><a class="VPLink link pager-link prev" href="/lua5.4-manual-zh/2.5.4.html" data-v-b77f9094><!--[--><span class="desc" data-v-b77f9094>上一页</span><span class="title" data-v-b77f9094>2.5.4 - 弱表</span><!--]--></a></div><div class="pager" data-v-b77f9094><a class="VPLink link pager-link next" href="/lua5.4-manual-zh/3.html" data-v-b77f9094><!--[--><span class="desc" data-v-b77f9094>下一页</span><span class="title" data-v-b77f9094>3 - 语言</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"2.2.md\":\"_ae2qo5y\",\"3.4.2.md\":\"B3bLMsFl\",\"2.5.md\":\"BkjG14KA\",\"3.3.3.md\":\"DAxfGF5a\",\"3.3.md\":\"Bd4w3T1w\",\"1.md\":\"CvScYmVY\",\"3.4.1.md\":\"Bbke4Da9\",\"3.4.4.md\":\"BZ9rXp1C\",\"2.5.2.md\":\"DpcLaGKK\",\"6.9.md\":\"BedR8Ge8\",\"6.4.2.md\":\"3i55NjsD\",\"4.1.md\":\"CeiPgVgQ\",\"2.3.md\":\"aV87ll3Z\",\"3.4.8.md\":\"C9jGQeI-\",\"4.1.2.md\":\"D4nBge4g\",\"7.md\":\"DxU7YK0B\",\"2.5.3.md\":\"BGMA7d61\",\"3.3.4.md\":\"BYRIVDAF\",\"3.3.5.md\":\"BJNZ4Tj2\",\"6.6.md\":\"vM-FQZyc\",\"4.4.1.md\":\"DriYgeGB\",\"3.1.md\":\"DhtQ8-rf\",\"4.1.3.md\":\"Gu7R695n\",\"3.3.6.md\":\"uaSnvTE5\",\"3.3.1.md\":\"C--fgcm7\",\"4.2.md\":\"DU_MNo2A\",\"4.1.1.md\":\"D_fKwwN4\",\"8.1.md\":\"BgXPQseo\",\"3.3.2.md\":\"CmqNdbtS\",\"2.4.md\":\"DDTBkjfa\",\"4.3.md\":\"BCQEn8b6\",\"3.2.md\":\"CrTgrVXO\",\"3.4.3.md\":\"B1VJ2UYK\",\"2.1.md\":\"Cm4VxO4P\",\"3.4.6.md\":\"CxHAg4O9\",\"2.5.4.md\":\"3e3i-4F7\",\"3.4.11.md\":\"D93DWHpI\",\"3.4.9.md\":\"DIGlUyhn\",\"8.3.md\":\"DFRhtIcE\",\"3.4.5.md\":\"CLWmYx1v\",\"4.md\":\"h31naPs0\",\"2.md\":\"owpiWXoA\",\"4.4.md\":\"C1BNn31p\",\"3.4.7.md\":\"CoHdEWcO\",\"3.md\":\"C8uM_Sk6\",\"6.4.1.md\":\"54Bv0qVc\",\"6.7.md\":\"DTA51GGs\",\"3.5.md\":\"XbDNNkd7\",\"6.5.md\":\"eghppwxP\",\"3.3.7.md\":\"pfeqcyVM\",\"3.4.10.md\":\"COV2vTV0\",\"6.2.md\":\"MLQ3cYfR\",\"2.5.1.md\":\"DHMFBHvj\",\"3.4.md\":\"D8IZjo20\",\"5.md\":\"D8RljHGN\",\"8.2.md\":\"CY2bTq_E\",\"4.7.md\":\"DpPnx_nC\",\"6.md\":\"BLJxPsmA\",\"4.5.md\":\"DvB2XU_K\",\"8.md\":\"DENWtMso\",\"6.3.md\":\"b9Y3nZIn\",\"9.md\":\"4Sh8Vqcb\",\"6.8.md\":\"DdxDwB90\",\"6.10.md\":\"BPKRsmkc\",\"index.md\":\"DmYmjAan\",\"3.3.8.md\":\"BWMuhB89\",\"6.4.md\":\"DAxf5lrS\",\"3.4.12.md\":\"Dadd8YBx\",\"2.6.md\":\"Dkw1cVXs\",\"6.1.md\":\"HzzAvNwc\",\"5.1.md\":\"CkxKBqc_\",\"4.6.md\":\"B0z60AG3\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Lua 5.4 中文参考手册\",\"description\":\"《Lua5.4参考手册》 译自lua官方《Lua 5.4 Reference Manual》\",\"base\":\"/lua5.4-manual-zh/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"sidebar\":[{\"text\":\"Lua 5.4 中文参考手册\",\"items\":[{\"text\":\"1 - 简介\",\"link\":\"/1\"},{\"text\":\"2 - 基本概念\",\"link\":\"/2\",\"items\":[{\"text\":\"2.1 - 值和类型\",\"link\":\"/2.1\"},{\"text\":\"2.2 - 环境和全局环境\",\"link\":\"/2.2\"},{\"text\":\"2.3 - 错误处理\",\"link\":\"/2.3\"},{\"text\":\"2.4 - 元表和元函数\",\"link\":\"/2.4\"},{\"text\":\"2.5 - 垃圾回收(GC)\",\"link\":\"/2.5\",\"items\":[{\"text\":\"2.5.1 - 步进模式\",\"link\":\"/2.5.1\"},{\"text\":\"2.5.2 - 代际模式\",\"link\":\"/2.5.2\"},{\"text\":\"2.5.3 - GC元函数\",\"link\":\"/2.5.3\"},{\"text\":\"2.5.4 - 弱表\",\"link\":\"/2.5.4\"}]},{\"text\":\"2.6 - 协程(Coroutines)\",\"link\":\"/2.6\"}]},{\"text\":\"3 - 语言\",\"link\":\"/3\",\"items\":[{\"text\":\"3.1 - 词法约定\",\"link\":\"/3.1\"},{\"text\":\"3.2 - 变量\",\"link\":\"/3.2\"},{\"text\":\"3.3 - 语句\",\"link\":\"/3.3\",\"items\":[{\"text\":\"3.3.1 - 语句块(Blocks)\",\"link\":\"/3.3.1\"},{\"text\":\"3.3.2 - 代码块(Chunks)\",\"link\":\"/3.3.2\"},{\"text\":\"3.3.3 - 赋值\",\"link\":\"/3.3.3\"},{\"text\":\"3.3.4 - 控制结构\",\"link\":\"/3.3.4\"},{\"text\":\"3.3.5 - for语句\",\"link\":\"/3.3.5\"},{\"text\":\"3.3.6 - 作为语句的函数调用\",\"link\":\"/3.3.6\"},{\"text\":\"3.3.7 - 局部声明\",\"link\":\"/3.3.7\"},{\"text\":\"3.3.8 - 待关闭变量\",\"link\":\"/3.3.8\"}]},{\"text\":\"3.4 - 表达式\",\"link\":\"/3.4\",\"items\":[{\"text\":\"3.4.1 - 算术操作\",\"link\":\"/3.4.1\"},{\"text\":\"3.4.2 - 位操作\",\"link\":\"/3.4.2\"},{\"text\":\"3.4.3 - 转换及强制转换\",\"link\":\"/3.4.3\"},{\"text\":\"3.4.4 - 关系操作\",\"link\":\"/3.4.4\"},{\"text\":\"3.4.5 - 逻辑操作\",\"link\":\"/3.4.5\"},{\"text\":\"3.4.6 - 连接\",\"link\":\"/3.4.6\"},{\"text\":\"3.4.7 - 取长操作符\",\"link\":\"/3.4.7\"},{\"text\":\"3.4.8 - 优先级\",\"link\":\"/3.4.8\"},{\"text\":\"3.4.9 - 表的构造\",\"link\":\"/3.4.9\"},{\"text\":\"3.4.10 - 函数调用\",\"link\":\"/3.4.10\"},{\"text\":\"3.4.11 - 函数定义\",\"link\":\"/3.4.11\"},{\"text\":\"3.4.12 - 表达式列表和多重返回\",\"link\":\"/3.4.12\"}]},{\"text\":\"3.5 - 可见性规则\",\"link\":\"/3.5\"}]},{\"text\":\"4 - 应用编程接口\",\"link\":\"/4\",\"items\":[{\"text\":\"4.1 - 栈\",\"link\":\"/4.1\",\"items\":[{\"text\":\"4.1.1 - 栈的大小\",\"link\":\"/4.1.1\"},{\"text\":\"4.1.2 - 有效与可接受的索引\",\"link\":\"/4.1.2\"},{\"text\":\"4.1.3 - 字符串指针\",\"link\":\"/4.1.3\"}]},{\"text\":\"4.2 - C闭包\",\"link\":\"/4.2\"},{\"text\":\"4.3 - 注册表\",\"link\":\"/4.3\"},{\"text\":\"4.4 - C代码中的错误处理\",\"link\":\"/4.4\",\"items\":[{\"text\":\"4.4.1 - 状态码\",\"link\":\"/4.4.1\"}]},{\"text\":\"4.5 - 在C代码中处理让出\",\"link\":\"/4.5\"},{\"text\":\"4.6 - 函数及类型列表\",\"link\":\"/4.6\"},{\"text\":\"4.7 - 调试接口\",\"link\":\"/4.7\"}]},{\"text\":\"5 - 辅助库\",\"link\":\"/5\",\"items\":[{\"text\":\"5.1 - 函数和类型\",\"link\":\"/5.1\"}]},{\"text\":\"6 - 标准库\",\"link\":\"/6\",\"items\":[{\"text\":\"6.1 - 基础库\",\"link\":\"/6.1\"},{\"text\":\"6.2 - 处理协程\",\"link\":\"/6.2\"},{\"text\":\"6.3 – 模块\",\"link\":\"/6.3\"},{\"text\":\"6.4 - 字符串操作\",\"link\":\"/6.4\",\"items\":[{\"text\":\"6.4.1 - 模式匹配\",\"link\":\"/6.4.1\"},{\"text\":\"6.4.2 - 打包与解包中的格式化字符串\",\"link\":\"/6.4.2\"}]},{\"text\":\"6.5 - UTF-8支持\",\"link\":\"/6.5\"},{\"text\":\"6.6 - 表操作\",\"link\":\"/6.6\"},{\"text\":\"6.7 - 数学函数\",\"link\":\"/6.7\"},{\"text\":\"6.8 - I/O操作\",\"link\":\"/6.8\"},{\"text\":\"6.9 - OS相关操作\",\"link\":\"/6.9\"},{\"text\":\"6.10 - 调试库\",\"link\":\"/6.10\"}]},{\"text\":\"7 - 单独使用的Lua\",\"link\":\"/7\"},{\"text\":\"8 - 版本兼容性相关\",\"link\":\"/8\",\"items\":[{\"text\":\"8.1 - 语言中的兼容性问题\",\"link\":\"/8.1\"},{\"text\":\"8.2 - 库中的兼容性问题\",\"link\":\"/8.2\"},{\"text\":\"8.3 - API中的兼容性问题\",\"link\":\"/8.3\"}]},{\"text\":\"9 - Lua完整语法\",\"link\":\"/9\"}]}],\"outline\":{\"label\":\"页面导航\"},\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/atom-l/lua5.4-manual-zh\"}],\"logo\":\"/lua.ico\",\"search\":{\"provider\":\"local\",\"options\":{\"detailedView\":true}}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"1.md\":\"CvScYmVY\",\"3.3.2.md\":\"CmqNdbtS\",\"3.3.7.md\":\"pfeqcyVM\",\"4.1.md\":\"CeiPgVgQ\",\"3.3.5.md\":\"BJNZ4Tj2\",\"3.md\":\"C8uM_Sk6\",\"2.2.md\":\"_ae2qo5y\",\"3.4.6.md\":\"CxHAg4O9\",\"4.4.md\":\"C1BNn31p\",\"3.2.md\":\"CrTgrVXO\",\"4.1.1.md\":\"D_fKwwN4\",\"2.5.2.md\":\"DpcLaGKK\",\"2.1.md\":\"Cm4VxO4P\",\"3.4.2.md\":\"B3bLMsFl\",\"4.1.3.md\":\"Gu7R695n\",\"2.5.1.md\":\"DHMFBHvj\",\"4.2.md\":\"DU_MNo2A\",\"3.4.10.md\":\"COV2vTV0\",\"3.4.3.md\":\"B1VJ2UYK\",\"3.4.9.md\":\"DIGlUyhn\",\"4.4.1.md\":\"DriYgeGB\",\"3.3.6.md\":\"uaSnvTE5\",\"4.3.md\":\"BCQEn8b6\",\"3.4.md\":\"D8IZjo20\",\"2.5.3.md\":\"BGMA7d61\",\"3.1.md\":\"DhtQ8-rf\",\"2.5.4.md\":\"3e3i-4F7\",\"3.3.8.md\":\"BWMuhB89\",\"3.5.md\":\"XbDNNkd7\",\"3.4.11.md\":\"D93DWHpI\",\"3.4.5.md\":\"CLWmYx1v\",\"2.4.md\":\"DDTBkjfa\",\"6.2.md\":\"MLQ3cYfR\",\"3.3.3.md\":\"DAxfGF5a\",\"3.4.8.md\":\"C9jGQeI-\",\"3.4.1.md\":\"Bbke4Da9\",\"3.3.4.md\":\"BYRIVDAF\",\"2.5.md\":\"BkjG14KA\",\"6.4.2.md\":\"3i55NjsD\",\"3.3.1.md\":\"C--fgcm7\",\"3.4.4.md\":\"BZ9rXp1C\",\"3.3.md\":\"Bd4w3T1w\",\"8.2.md\":\"CY2bTq_E\",\"4.1.2.md\":\"D4nBge4g\",\"2.3.md\":\"aV87ll3Z\",\"2.md\":\"owpiWXoA\",\"4.md\":\"h31naPs0\",\"2.6.md\":\"Dkw1cVXs\",\"3.4.7.md\":\"CoHdEWcO\",\"8.3.md\":\"DFRhtIcE\",\"index.md\":\"DmYmjAan\",\"6.7.md\":\"DTA51GGs\",\"8.1.md\":\"BgXPQseo\",\"6.6.md\":\"vM-FQZyc\",\"6.md\":\"BLJxPsmA\",\"4.5.md\":\"DvB2XU_K\",\"6.4.1.md\":\"54Bv0qVc\",\"6.9.md\":\"BedR8Ge8\",\"7.md\":\"DxU7YK0B\",\"6.10.md\":\"BPKRsmkc\",\"5.md\":\"D8RljHGN\",\"3.4.12.md\":\"Dadd8YBx\",\"6.4.md\":\"DAxf5lrS\",\"8.md\":\"DENWtMso\",\"6.1.md\":\"HzzAvNwc\",\"6.8.md\":\"DdxDwB90\",\"9.md\":\"4Sh8Vqcb\",\"6.5.md\":\"eghppwxP\",\"4.7.md\":\"DpPnx_nC\",\"6.3.md\":\"b9Y3nZIn\",\"5.1.md\":\"-iyTwL_N\",\"4.6.md\":\"B0z60AG3\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Lua 5.4 中文参考手册\",\"description\":\"《Lua5.4参考手册》 译自lua官方《Lua 5.4 Reference Manual》\",\"base\":\"/lua5.4-manual-zh/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"sidebar\":[{\"text\":\"Lua 5.4 中文参考手册\",\"items\":[{\"text\":\"1 - 简介\",\"link\":\"/1\"},{\"text\":\"2 - 基本概念\",\"link\":\"/2\",\"items\":[{\"text\":\"2.1 - 值和类型\",\"link\":\"/2.1\"},{\"text\":\"2.2 - 环境和全局环境\",\"link\":\"/2.2\"},{\"text\":\"2.3 - 错误处理\",\"link\":\"/2.3\"},{\"text\":\"2.4 - 元表和元函数\",\"link\":\"/2.4\"},{\"text\":\"2.5 - 垃圾回收(GC)\",\"link\":\"/2.5\",\"items\":[{\"text\":\"2.5.1 - 步进模式\",\"link\":\"/2.5.1\"},{\"text\":\"2.5.2 - 代际模式\",\"link\":\"/2.5.2\"},{\"text\":\"2.5.3 - GC元函数\",\"link\":\"/2.5.3\"},{\"text\":\"2.5.4 - 弱表\",\"link\":\"/2.5.4\"}]},{\"text\":\"2.6 - 协程(Coroutines)\",\"link\":\"/2.6\"}]},{\"text\":\"3 - 语言\",\"link\":\"/3\",\"items\":[{\"text\":\"3.1 - 词法约定\",\"link\":\"/3.1\"},{\"text\":\"3.2 - 变量\",\"link\":\"/3.2\"},{\"text\":\"3.3 - 语句\",\"link\":\"/3.3\",\"items\":[{\"text\":\"3.3.1 - 语句块(Blocks)\",\"link\":\"/3.3.1\"},{\"text\":\"3.3.2 - 代码块(Chunks)\",\"link\":\"/3.3.2\"},{\"text\":\"3.3.3 - 赋值\",\"link\":\"/3.3.3\"},{\"text\":\"3.3.4 - 控制结构\",\"link\":\"/3.3.4\"},{\"text\":\"3.3.5 - for语句\",\"link\":\"/3.3.5\"},{\"text\":\"3.3.6 - 作为语句的函数调用\",\"link\":\"/3.3.6\"},{\"text\":\"3.3.7 - 局部声明\",\"link\":\"/3.3.7\"},{\"text\":\"3.3.8 - 待关闭变量\",\"link\":\"/3.3.8\"}]},{\"text\":\"3.4 - 表达式\",\"link\":\"/3.4\",\"items\":[{\"text\":\"3.4.1 - 算术操作\",\"link\":\"/3.4.1\"},{\"text\":\"3.4.2 - 位操作\",\"link\":\"/3.4.2\"},{\"text\":\"3.4.3 - 转换及强制转换\",\"link\":\"/3.4.3\"},{\"text\":\"3.4.4 - 关系操作\",\"link\":\"/3.4.4\"},{\"text\":\"3.4.5 - 逻辑操作\",\"link\":\"/3.4.5\"},{\"text\":\"3.4.6 - 连接\",\"link\":\"/3.4.6\"},{\"text\":\"3.4.7 - 取长操作符\",\"link\":\"/3.4.7\"},{\"text\":\"3.4.8 - 优先级\",\"link\":\"/3.4.8\"},{\"text\":\"3.4.9 - 表的构造\",\"link\":\"/3.4.9\"},{\"text\":\"3.4.10 - 函数调用\",\"link\":\"/3.4.10\"},{\"text\":\"3.4.11 - 函数定义\",\"link\":\"/3.4.11\"},{\"text\":\"3.4.12 - 表达式列表和多重返回\",\"link\":\"/3.4.12\"}]},{\"text\":\"3.5 - 可见性规则\",\"link\":\"/3.5\"}]},{\"text\":\"4 - 应用编程接口\",\"link\":\"/4\",\"items\":[{\"text\":\"4.1 - 栈\",\"link\":\"/4.1\",\"items\":[{\"text\":\"4.1.1 - 栈的大小\",\"link\":\"/4.1.1\"},{\"text\":\"4.1.2 - 有效与可接受的索引\",\"link\":\"/4.1.2\"},{\"text\":\"4.1.3 - 字符串指针\",\"link\":\"/4.1.3\"}]},{\"text\":\"4.2 - C闭包\",\"link\":\"/4.2\"},{\"text\":\"4.3 - 注册表\",\"link\":\"/4.3\"},{\"text\":\"4.4 - C代码中的错误处理\",\"link\":\"/4.4\",\"items\":[{\"text\":\"4.4.1 - 状态码\",\"link\":\"/4.4.1\"}]},{\"text\":\"4.5 - 在C代码中处理让出\",\"link\":\"/4.5\"},{\"text\":\"4.6 - 函数及类型列表\",\"link\":\"/4.6\"},{\"text\":\"4.7 - 调试接口\",\"link\":\"/4.7\"}]},{\"text\":\"5 - 辅助库\",\"link\":\"/5\",\"items\":[{\"text\":\"5.1 - 函数和类型\",\"link\":\"/5.1\"}]},{\"text\":\"6 - 标准库\",\"link\":\"/6\",\"items\":[{\"text\":\"6.1 - 基础库\",\"link\":\"/6.1\"},{\"text\":\"6.2 - 处理协程\",\"link\":\"/6.2\"},{\"text\":\"6.3 – 模块\",\"link\":\"/6.3\"},{\"text\":\"6.4 - 字符串操作\",\"link\":\"/6.4\",\"items\":[{\"text\":\"6.4.1 - 模式匹配\",\"link\":\"/6.4.1\"},{\"text\":\"6.4.2 - 打包与解包中的格式化字符串\",\"link\":\"/6.4.2\"}]},{\"text\":\"6.5 - UTF-8支持\",\"link\":\"/6.5\"},{\"text\":\"6.6 - 表操作\",\"link\":\"/6.6\"},{\"text\":\"6.7 - 数学函数\",\"link\":\"/6.7\"},{\"text\":\"6.8 - I/O操作\",\"link\":\"/6.8\"},{\"text\":\"6.9 - OS相关操作\",\"link\":\"/6.9\"},{\"text\":\"6.10 - 调试库\",\"link\":\"/6.10\"}]},{\"text\":\"7 - 单独使用的Lua\",\"link\":\"/7\"},{\"text\":\"8 - 版本兼容性相关\",\"link\":\"/8\",\"items\":[{\"text\":\"8.1 - 语言中的兼容性问题\",\"link\":\"/8.1\"},{\"text\":\"8.2 - 库中的兼容性问题\",\"link\":\"/8.2\"},{\"text\":\"8.3 - API中的兼容性问题\",\"link\":\"/8.3\"}]},{\"text\":\"9 - Lua完整语法\",\"link\":\"/9\"}]}],\"outline\":{\"label\":\"页面导航\"},\"docFooter\":{\"prev\":\"上一页\",\"next\":\"下一页\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/atom-l/lua5.4-manual-zh\"}],\"logo\":\"/lua.ico\",\"search\":{\"provider\":\"local\",\"options\":{\"detailedView\":true}}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>

</body>
</html>
6 changes: 3 additions & 3 deletions docs/2.html

Large diffs are not rendered by default.

Loading

0 comments on commit 7c10c9e

Please sign in to comment.