ReferenceScripts

DecompilerFormatter.new

Creates an independent formatter-settings table.

Syntax

DecompilerFormatter.new() -> DecompilerFormatter

Returns

TypeDescription
DecompilerFormatterFormatting table.

Description

IndentWidth defaults to 4 spaces and ColumnLimit to 80 columns. The width is a formatting target; a long literal cannot always be wrapped without changing it.

Example

local options = DecompilerOptions.new()
options.Formatter = DecompilerFormatter.new()
options.Formatter.ColumnLimit = 100

These are Game executor contracts. Check build requirements and session lifetimes before using them.