Luau๏ƒ

Experimental: This class may be changed or removed in future versions.

Inherits: Object

Static Luau compiler utilities.

Description๏ƒ

Provides compile() for Luau source to bytecode conversion.

Methods๏ƒ

float

clock() static

PackedByteArray

compile(source_code: String, options: LuaCompileOptions) static

bool

is_pseudo(index: int) static

int

upvalue_index(upvalue: int) static


Constants๏ƒ

LUA_MULTRET = -1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_REGISTRYINDEX = -10000 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_ENVIRONINDEX = -10001 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_GLOBALSINDEX = -10002 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_OK = 0 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_YIELD = 1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_ERRRUN = 2 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_ERRSYNTAX = 3 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_ERRMEM = 4 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_ERRERR = 5 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_BREAK = 6 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_CORUN = 0 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_COSUS = 1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_CONOR = 2 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_COFIN = 3 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_COERR = 4 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TNONE = -1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TNIL = 0 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TBOOLEAN = 1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TLIGHTUSERDATA = 2 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TNUMBER = 3 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TVECTOR = 4 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TSTRING = 5 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TTABLE = 6 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TFUNCTION = 7 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TUSERDATA = 8 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TTHREAD = 9 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TBUFFER = 10 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TPROTO = 11 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TUPVAL = 12 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_TDEADKEY = 13 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_NOREF = -1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_REFNIL = 0 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!

LUA_NOTAG = -1 ๐Ÿ”—

There is currently no description for this constant. Please help us by contributing one!


Method Descriptions๏ƒ

float clock() static ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


PackedByteArray compile(source_code: String, options: LuaCompileOptions) static ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


bool is_pseudo(index: int) static ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


int upvalue_index(upvalue: int) static ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!