|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Varargs | |
|---|---|
| org.luaj.vm2 | |
| Uses of Varargs in org.luaj.vm2 |
|---|
| Subclasses of Varargs in org.luaj.vm2 | |
|---|---|
class |
Globals
Global environment used by luaj. |
class |
LuaBoolean
Extension of LuaValue which can hold a Java boolean as its value. |
class |
LuaClosure
Extension of LuaFunction which executes lua bytecode. |
class |
LuaDouble
Extension of LuaNumber which can hold a Java double as its value. |
class |
LuaFunction
Base class for functions implemented in Java. |
class |
LuaInteger
Extension of LuaNumber which can hold a Java int as its value. |
class |
LuaNil
Class to encapsulate behavior of the singleton instance nil |
class |
LuaNumber
Base class for representing numbers as lua values directly. |
class |
LuaString
Subclass of LuaValue for representing lua strings. |
class |
LuaTable
Subclass of LuaValue for representing lua tables. |
class |
LuaThread
Subclass of LuaValue that implements
a lua coroutine thread using Java Threads. |
class |
LuaUserdata
|
class |
LuaValue
Base class for all concrete lua type values. |
class |
TailcallVarargs
Subclass of Varargs that represents a lua tail call
in a Java library function execution environment. |
class |
WeakTable
Subclass of LuaTable that provides weak key and weak value semantics. |
| Methods in org.luaj.vm2 that return Varargs | |
|---|---|
Varargs |
TailcallVarargs.eval()
|
Varargs |
Varargs.eval()
Evaluate any pending tail call and return result. |
protected Varargs |
LuaClosure.execute(LuaValue[] stack,
Varargs varargs)
|
Varargs |
LuaTable.inext(LuaValue key)
Get the next element after a particular key in the contiguous array part of a table |
Varargs |
LuaValue.inext(LuaValue index)
Find the next integer-key,value pair if this is a table,
return NIL if there are no more, or throw a LuaError if not a table. |
Varargs |
LuaValue.invoke()
Call this with 0 arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue[] args)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue[] args,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue arg1,
LuaValue arg2,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue arg,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaClosure.invoke(Varargs varargs)
|
Varargs |
LuaValue.invoke(Varargs args)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(LuaValue name)
Call named method on this with 0 arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(LuaValue name,
LuaValue[] args)
Call named method on this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(LuaValue name,
Varargs args)
Call named method on this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(java.lang.String name)
Call named method on this with 0 arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(java.lang.String name,
LuaValue[] args)
Call named method on this with 1 argument, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(java.lang.String name,
Varargs args)
Call named method on this with 1 argument, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaThread.State.lua_resume(LuaThread new_thread,
Varargs args)
|
Varargs |
LuaThread.State.lua_yield(Varargs args)
|
Varargs |
LuaTable.next(LuaValue key)
Get the next element after a particular key in the table |
Varargs |
LuaValue.next(LuaValue index)
Find the next key,value pair if this is a table,
return NIL if there are no more, or throw a LuaError if not a table. |
Varargs |
WeakTable.next(LuaValue key)
Get the next element after a particular key in the table |
Varargs |
LuaClosure.onInvoke(Varargs varargs)
|
Varargs |
LuaValue.onInvoke(Varargs args)
Callback used during tail call processing to invoke the function once. |
Varargs |
LuaThread.resume(Varargs args)
|
Varargs |
LuaValue.subargs(int start)
Create a Varargs instance containing arguments starting at index start |
Varargs |
TailcallVarargs.subargs(int start)
|
abstract Varargs |
Varargs.subargs(int start)
Create a Varargs instance containing arguments starting at index start |
static Varargs |
LuaValue.tailcallOf(LuaValue func,
Varargs args)
Construct a TailcallVarargs around a function and arguments. |
Varargs |
LuaTable.unpack()
Unpack all the elements of this table |
Varargs |
LuaTable.unpack(int i)
Unpack all the elements of this table from element i |
Varargs |
LuaTable.unpack(int i,
int j)
Unpack the elements from i to j inclusive |
static Varargs |
LuaValue.varargsOf(LuaValue[] v)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
int offset,
int length)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
int offset,
int length,
Varargs more)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
Varargs r)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue v1,
LuaValue v2,
Varargs v3)
Construct a Varargs around a set of 3 or more LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue v,
Varargs r)
Construct a Varargs around a set of 2 or more LuaValues. |
Varargs |
Globals.yield(Varargs args)
Function which yields the current thread. |
| Methods in org.luaj.vm2 with parameters of type Varargs | |
|---|---|
protected Varargs |
LuaClosure.execute(LuaValue[] stack,
Varargs varargs)
|
Varargs |
LuaValue.invoke(LuaValue[] args,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue arg1,
LuaValue arg2,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invoke(LuaValue arg,
Varargs varargs)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaClosure.invoke(Varargs varargs)
|
Varargs |
LuaValue.invoke(Varargs args)
Call this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(LuaValue name,
Varargs args)
Call named method on this with variable arguments, including metatag processing,
and retain all return values in a Varargs. |
Varargs |
LuaValue.invokemethod(java.lang.String name,
Varargs args)
Call named method on this with 1 argument, including metatag processing,
and retain all return values in a Varargs. |
static LuaTable |
LuaValue.listOf(LuaValue[] unnamedValues,
Varargs lastarg)
Construct a LuaTable initialized with supplied array values. |
Varargs |
LuaThread.State.lua_resume(LuaThread new_thread,
Varargs args)
|
Varargs |
LuaThread.State.lua_yield(Varargs args)
|
Varargs |
LuaClosure.onInvoke(Varargs varargs)
|
Varargs |
LuaValue.onInvoke(Varargs args)
Callback used during tail call processing to invoke the function once. |
static void |
Print.printState(LuaClosure cl,
int pc,
LuaValue[] stack,
int top,
Varargs varargs)
Print the state of a LuaClosure that is being executed |
void |
LuaValue.rawsetlist(int key0,
Varargs values)
Set list values in a table without invoking metatag processing |
Varargs |
LuaThread.resume(Varargs args)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues,
Varargs lastarg)
Construct a LuaTable initialized with supplied named values and sequential elements in an array part and as varargs. |
static LuaTable |
LuaValue.tableOf(Varargs varargs,
int firstarg)
Construct a LuaTable initialized with supplied array values. |
static Varargs |
LuaValue.tailcallOf(LuaValue func,
Varargs args)
Construct a TailcallVarargs around a function and arguments. |
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
int offset,
int length,
Varargs more)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
Varargs r)
Construct a Varargs around an array of LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue v1,
LuaValue v2,
Varargs v3)
Construct a Varargs around a set of 3 or more LuaValues. |
static Varargs |
LuaValue.varargsOf(LuaValue v,
Varargs r)
Construct a Varargs around a set of 2 or more LuaValues. |
Varargs |
Globals.yield(Varargs args)
Function which yields the current thread. |
| Constructors in org.luaj.vm2 with parameters of type Varargs | |
|---|---|
LuaTable(LuaValue[] named,
LuaValue[] unnamed,
Varargs lastarg)
Construct table with named and unnamed parts. |
|
LuaTable(Varargs varargs)
Construct table of unnamed elements. |
|
LuaTable(Varargs varargs,
int firstarg)
Construct table of unnamed elements. |
|
TailcallVarargs(LuaValue object,
LuaValue methodname,
Varargs args)
|
|
TailcallVarargs(LuaValue f,
Varargs args)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||