lua_formatter

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedType         = errors.New("unsupported type")
	ErrTableIsNil              = errors.New("table is nil")
	ErrKeyMustBeAString        = errors.New("key must be a string")
	ErrWrongValue              = errors.New("value must be a string, number, boolean or table")
	ErrUnexpectedDataLoss      = errors.New("unexpected data loss")
	ErrUnexpectedDuplicatedKey = errors.New("unexpected duplicated key")
)

Functions

func TableToString

func TableToString(table *lua.LTable) (string, error)

func ValueToString

func ValueToString(v lua.LValue) (string, error)

func ValueToStringNoErr

func ValueToStringNoErr(value lua.LValue) string

func ValuesToString

func ValuesToString(values []lua.LValue) (string, error)

func ValuesToStringNoErr

func ValuesToStringNoErr(values []lua.LValue) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL