32 Star 227 Fork 40

GVPI++俱乐部/Dora-SSR

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Config.mdx 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
Li Jin 提交于 2025-01-06 16:24 +08:00 . Fixed doc site prismjs language adding. [skip CI]
# Config
**Description:**
  The compiler compile options.
## lint_global
**Type:** Field.
**Description:**
  Whether the compiler should collect the global variables appearing in the code.
**Signature:**
```tl
lint_global: boolean
```
## implicit_return_root
**Type:** Field.
**Description:**
  Whether the compiler should do an implicit return for the root code block.
**Signature:**
```tl
implicit_return_root: boolean
```
## reserve_line_number
**Type:** Field.
**Description:**
  Whether the compiler should reserve the original line number in the compiled code.
**Signature:**
```tl
reserve_line_number: boolean
```
## space_over_tab
**Type:** Field.
**Description:**
  Whether the compiler should use the space character instead of the tab character in the compiled code.
**Signature:**
```tl
space_over_tab: boolean
```
## same_module
**Type:** Field.
**Description:**
  Whether the compiler should treat the code to be compiled as the same currently being compiled module. For internal use only.
**Signature:**
```tl
same_module: boolean
```
## line_offset
**Type:** Field.
**Description:**
  Whether the compiler error message should include the line number offset. For internal use only.
**Signature:**
```tl
line_offset: integer
```
## yue.Config.LuaTarget
**Type:** Enumeration.
**Description:**
  The target Lua version enumeration.
**Signature:**
```tl
enum LuaTarget
"5.1"
"5.2"
"5.3"
"5.4"
"5.5"
end
```
## options
**Type:** Field.
**Description:**
  The extra options to be passed to the compilation function.
**Signature:**
```tl
options: Options
```
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ippclub/Dora-SSR.git
git@gitee.com:ippclub/Dora-SSR.git
ippclub
Dora-SSR
Dora-SSR
main

搜索帮助