Expand description
A module that contains the main LuaGenerator trait and its implementations.
Structs§
- Dense
LuaGenerator - This implementation of LuaGenerator attempts to produce Lua code as small as possible. It is not meant to be read by humans.
- Readable
LuaGenerator - This implementation of LuaGenerator attempts to produce Lua code as readable as possible.
- Token
Based LuaGenerator - This implementation of LuaGenerator outputs the AST nodes from the tokens associated with each of them.
Traits§
- LuaGenerator
- A trait to let its implementation define how the Lua code is generated. See ReadableLuaGenerator and DenseLuaGenerator for implementations.