Package com.hk.lua
This packages contains a nearly complete
Lua 5.3
interpreter with very strong Java integration capabilities.-
Interface Summary Interface Description Lua.LuaMethod This interface can be passes intoLua.newFunc(com.hk.lua.Lua.LuaMethod)
to return aLuaObject
as an executable Lua function.Tokens Various token identifiers and flags -
Class Summary Class Description Environment This class encapsulates a Lua environment.Lua This class contains various utility methods for handling different types of Lua data and environments.LuaFactory Lua factories can be used to create variousLuaInterpreter
objects without the need of recompiling.LuaInterpreter This utility class encapsulates an entire Lua environment within a single Java class/package.LuaLibrary<T extends Enum<T> & BiConsumer<Environment,LuaObject>> LuaLibrary objects wrap a set of library methods to be imported into a Lua environment.LuaLibraryDate.LuaDateUserdata LuaLibraryIO.LuaIOUserdata LuaLibraryReflect.LuaJavaClass LuaLibraryReflect.LuaJavaInstance LuaObject Every Lua value at runtime (and before) is represented by a LuaObject.LuaReader LuaThread LuaThread class.LuaUserdata Abstract LuaUserdata class.LuaWriter -
Enum Summary Enum Description LuaErrors LuaErrors class.LuaLibraryBasic LuaLibraryBasic class.LuaLibraryCoroutine LuaLibraryCoroutine class.LuaLibraryDate LuaLibraryDate class.LuaLibraryHash LuaLibraryHash class.LuaLibraryIO This class is to replicate the io library from Lua.LuaLibraryJson LuaLibraryJson class.LuaLibraryMath LuaLibraryMath class.LuaLibraryOS LuaLibraryOS class.LuaLibraryPackage LuaLibraryPackage class.LuaLibraryReflect LuaLibraryReflect class.LuaLibraryString LuaLibraryString class.LuaLibraryTable LuaLibraryTable class.LuaType LuaType class. -
Exception Summary Exception Description LuaException LuaException class. -
Annotation Types Summary Annotation Type Description Lua.LuaParameters Annotate a Java method with this class to automatically assure parameters being passed to the annotated method.