|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.luaj.vm2.Varargs
org.luaj.vm2.TailcallVarargs
public class TailcallVarargs
| Constructor Summary | |
|---|---|
TailcallVarargs(LuaValue f,
Varargs args)
|
|
| Method Summary | |
|---|---|
LuaValue |
arg(int i)
Get the n-th argument value (1-based) |
LuaValue |
arg1()
Get the first argument |
Varargs |
eval()
Evaluate any pending tail call and return result |
boolean |
isTailcall()
Return true if this is a TailcallVarargs |
int |
narg()
Get the number of arguments, or 0 if there are none. |
| Methods inherited from class org.luaj.vm2.Varargs |
|---|
argcheck, checkboolean, checkclosure, checkdouble, checkfunction, checkint, checkinteger, checkjstring, checklong, checknotnil, checknumber, checkstring, checkString, checktable, checkthread, checkuserdata, checkuserdata, checkvalue, isfunction, isnil, isnoneornil, isnumber, isstring, istable, isthread, isuserdata, isvalue, optboolean, optclosure, optdouble, optfunction, optint, optinteger, optjstring, optlong, optnumber, optstring, optString, opttable, optthread, optuserdata, optuserdata, optvalue, subargs, toboolean, tobyte, tochar, todouble, tofloat, toint, tojstring, tojstring, tolong, toshort, toString, touserdata, touserdata, type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TailcallVarargs(LuaValue f,
Varargs args)
| Method Detail |
|---|
public boolean isTailcall()
Varargs
isTailcall in class Varargspublic Varargs eval()
Varargs
eval in class Varargspublic LuaValue arg(int i)
Varargs
arg in class Varargsi - 1 for the first argument, 2 for the second, etc.
public LuaValue arg1()
Varargs
arg1 in class Varargspublic int narg()
Varargs
narg in class Varargs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||