LuaBuilder constructor

const LuaBuilder({
  1. required List<String> sources,
  2. CompileMode mode = CompileMode.bytecode,
  3. String outputDirName = 'lua',
  4. bool enableConstantFolding = true,
  5. bool enablePeephole = true,
  6. bool stripDebug = false,
})

Creates a LuaBuilder with the supplied configuration.

Implementation

const LuaBuilder({
  required this.sources,
  this.mode = CompileMode.bytecode,
  this.outputDirName = 'lua',
  this.enableConstantFolding = true,
  this.enablePeephole = true,
  this.stripDebug = false,
});