Class LuaJNatives.FunctionInvoker

java.lang.Object
org.luaj.vm2.Varargs
org.luaj.vm2.LuaValue
org.luaj.vm2.LuaFunction
org.luaj.vm2.lib.LibFunction
org.luaj.vm2.lib.VarArgFunction
party.iroiro.luajava.luaj.LuaJNatives.FunctionInvoker
Enclosing class:
LuaJNatives

public static class LuaJNatives.FunctionInvoker extends org.luaj.vm2.lib.VarArgFunction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ThreadLocal<Boolean>
     

    Fields inherited from class org.luaj.vm2.lib.LibFunction

    name, opcode

    Fields inherited from class org.luaj.vm2.LuaFunction

    s_metatable

    Fields inherited from class org.luaj.vm2.LuaValue

    ADD, CALL, CONCAT, DIV, EMPTYSTRING, ENV, EQ, FALSE, INDEX, IPAIRS, LE, LEN, LT, METATABLE, MINUSONE, MOD, MODE, MUL, NEWINDEX, NIL, NILS, NONE, NOVALS, ONE, PAIRS, POW, SUB, TBOOLEAN, TFUNCTION, TINT, TLIGHTUSERDATA, TNIL, TNONE, TNUMBER, TOSTRING, TRUE, TSTRING, TTABLE, TTHREAD, TUSERDATA, TVALUE, TYPE_NAMES, UNM, ZERO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.luaj.vm2.Varargs
    invoke(org.luaj.vm2.Varargs args)
     
    static boolean
     
    static void
    setFunction(LuaJState L, org.luaj.vm2.LuaValue func)
     

    Methods inherited from class org.luaj.vm2.lib.VarArgFunction

    call, call, call, call, onInvoke

    Methods inherited from class org.luaj.vm2.lib.LibFunction

    bind, bind, call, newupe, newupl, newupn, tojstring

    Methods inherited from class org.luaj.vm2.LuaFunction

    checkfunction, classnamestub, getmetatable, isfunction, name, optfunction, strvalue, type, typename

    Methods inherited from class org.luaj.vm2.LuaValue

    add, add, add, and, arg, arg1, argerror, argerror, aritherror, aritherror, arithmt, arithmtwith, assert_, buffer, call, callmt, checkboolean, checkclosure, checkdouble, checkglobals, checkint, checkinteger, checkjstring, checklong, checkmetatag, checknotnil, checknumber, checknumber, checkstring, checktable, checkthread, checkuserdata, checkuserdata, compareerror, compareerror, comparemt, concat, concat, concatmt, concatTo, concatTo, concatTo, div, div, div, divInto, eq, eq_b, eqmtcall, equals, error, get, get, get, gettable, gt, gt, gt, gt_b, gt_b, gt_b, gteq, gteq, gteq, gteq_b, gteq_b, gteq_b, illegal, inext, initupvalue1, invoke, invoke, invoke, invoke, invoke, invokemethod, invokemethod, invokemethod, invokemethod, invokemethod, invokemethod, isboolean, isclosure, isint, isinttype, islong, isnil, isnumber, isstring, istable, isthread, isuserdata, isuserdata, isvalidkey, len, lenerror, length, listOf, listOf, load, lt, lt, lt, lt_b, lt_b, lt_b, lteq, lteq, lteq, lteq_b, lteq_b, lteq_b, metatableOf, metatag, method, method, method, method, method, method, mod, mod, mod, modFrom, mul, mul, mul, narg, neg, neq, neq_b, next, not, optboolean, optclosure, optdouble, optint, optinteger, optjstring, optlong, optnumber, optstring, opttable, optthread, optuserdata, optuserdata, optvalue, or, pow, pow, pow, powWith, powWith, presize, raweq, raweq, raweq, raweq, raweq, rawget, rawget, rawget, rawlen, rawset, rawset, rawset, rawset, rawset, rawset, rawset, rawsetlist, set, set, set, set, set, set, set, setmetatable, settable, strcmp, strcmp, strongvalue, sub, sub, sub, subargs, subFrom, subFrom, tableOf, tableOf, tableOf, tableOf, tableOf, tableOf, tailcallOf, testfor_b, toboolean, tobyte, tochar, todouble, tofloat, toint, tolong, tonumber, toshort, tostring, toString, touserdata, touserdata, typerror, unimplemented, userdataOf, userdataOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, varargsOf, varargsOf, varargsOf, varargsOf, varargsOf, varargsOf

    Methods inherited from class org.luaj.vm2.Varargs

    argcheck, checkboolean, checkclosure, checkdouble, checkfunction, checkint, checkinteger, checkjstring, checklong, checknotnil, checknumber, checkstring, checktable, checkthread, checkuserdata, checkuserdata, checkvalue, dealias, eval, isfunction, isnil, isnoneornil, isnumber, isstring, istable, isTailcall, isthread, isuserdata, isvalue, optboolean, optclosure, optdouble, optfunction, optint, optinteger, optjstring, optlong, optnumber, optstring, opttable, optthread, optuserdata, optuserdata, optvalue, toboolean, tobyte, tochar, todouble, tofloat, toint, tojstring, tolong, toshort, touserdata, touserdata, type

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • FunctionInvoker

      public FunctionInvoker()
  • Method Details

    • isInsideCoroutine

      public static boolean isInsideCoroutine()
    • invoke

      public org.luaj.vm2.Varargs invoke(org.luaj.vm2.Varargs args)
      Overrides:
      invoke in class org.luaj.vm2.lib.VarArgFunction
    • setFunction

      public static void setFunction(LuaJState L, org.luaj.vm2.LuaValue func)