Module generator

Source
Expand description

A module that contains the main LuaGenerator trait and its implementations.

Structs§

DenseLuaGenerator
This implementation of LuaGenerator attempts to produce Lua code as small as possible. It is not meant to be read by humans.
ReadableLuaGenerator
This implementation of LuaGenerator attempts to produce Lua code as readable as possible.
TokenBasedLuaGenerator
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.