Package com.prineside.luaj.lib
package com.prineside.luaj.lib
-
ClassDescriptionSubclass of
LibFunctionwhich implements the lua basic library functions.Subclass of LibFunction that implements the Lua standardbit32library.Subclass ofLibFunctionwhich implements the lua standardcoroutinelibrary.Subclass ofLibFunctionwhich implements the lua standarddebuglibrary.Abstract base class extendingLibFunctionwhich implements the core of the lua standardiolibrary.Subclass ofLuaFunctioncommon to Java functions exposed to lua.Subclass ofLibFunctionwhich implements the lua standardmathlibrary.Abstract base class for Java function implementations that take one argument and return one value.Subclass ofLibFunctionwhich implements the standard luaoslibrary.Subclass ofLibFunctionwhich implements the lua standard package and module library functions.Called last Converts package name to class name and tries to create new instance of this class, casting it to LuaValue (will fail if not instance of LuaValue)Called second Calls _G.package.searchpath(name, _G.package.path) and then globals.loadfile() if foundCalled first Searches in preloaded packages (_G.package.preload table)require (modname) Loads the given module.Interface for opening application resource files such as scripts sources.Subclass ofLibFunctionwhich implements the lua standardstringlibrary.string.byte (s [, i [, j]]) Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j].string.char (...) Receives zero or more integers.string.dump (function[, stripDebug]) Returns a string containing a binary representation of the given function, so that a later loadstring on this string returns a copy of the function.string.find (s, pattern [, init [, plain]]) Looks for the first match of pattern in the string s.string.format (formatstring, ...) Returns a formatted version of its variable number of arguments following the description given in its first argument (which must be a string).string.gmatch (s, pattern) Returns an iterator function that, each time it is called, returns the next captures from pattern over string s.string.gsub (s, pattern, repl [, n]) Returns a copy of s in which all (or the first n, if given) occurrences of the pattern have been replaced by a replacement string specified by repl, which may be a string, a table, or a function.string.len (s) Receives a string and returns its length.string.lower (s) Receives a string and returns a copy of this string with all uppercase letters changed to lowercase.string.match (s, pattern [, init]) Looks for the first match of pattern in the string s.string.rep (s, n) Returns a string that is the concatenation of n copies of the string s.string.reverse (s) Returns a string that is the string s reversed.string.sub (s, i [, j]) Returns the substring of s that starts at i and continues until j; i and j may be negative.string.upper (s) Receives a string and returns a copy of this string with all lowercase letters changed to uppercase.Subclass ofLibFunctionwhich implements the lua standardtablelibrary.Abstract base class for Java function implementations that take two arguments and return one value.Abstract base class for Java function implementations that take two arguments and return one value.Abstract base class for Java function implementations that takes varaiable arguments and returns multiple return values.Abstract base class for Java function implementations that take no arguments and return one value.