Config
Description:
The compiler compile options.
lint_global
Type: Field.
Description:
Whether the compiler should collect the global variables appearing in the code.
Signature:
lint_global: boolean
implicit_return_root
Type: Field.
Description:
Whether the compiler should do an implicit return for the root code block.
Signature:
implicit_return_root: boolean
reserve_line_number
Type: Field.
Description:
Whether the compiler should reserve the original line number in the compiled code.
Signature:
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:
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:
same_module: boolean
line_offset
Type: Field.
Description:
Whether the compiler error message should include the line number offset. For internal use only.
Signature:
line_offset: integer
yue.Config.LuaTarget
Type: Enumeration.
Description:
The target Lua version enumeration.
Signature:
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:
options: Options