Package org.luaj.kahluafork.compiler
Class FuncState
java.lang.Object
org.luaj.kahluafork.compiler.FuncState
public class FuncState
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
BITRK
static java.lang.String
currentFile
static java.lang.String
currentfullFile
static int
iABC
static int
iABx
static int
iAsBx
int
isVararg
int
lastlinedefined
static int
LFIELDS_PER_FLUSH
int
linedefined
java.lang.String[]
locvars
static int
LUA_MULTRET
static int[]
luaP_opmodes
static int
MASK_A
static int
MASK_B
static int
MASK_Bx
static int
MASK_C
static int
MASK_NOT_A
static int
MASK_NOT_B
static int
MASK_NOT_Bx
static int
MASK_NOT_C
static int
MASK_NOT_OP
static int
MASK_OP
static int
MAX_OP
static int
MAXARG_A
static int
MAXARG_B
static int
MAXARG_Bx
static int
MAXARG_C
static int
MAXARG_sBx
static int
MAXINDEXRK
static int
MAXSTACK
static int
NO_REG
static int
NUM_OPCODES
static int
OP_ADD
static int
OP_CALL
static int
OP_CLOSE
static int
OP_CLOSURE
static int
OP_CONCAT
static int
OP_DIV
static int
OP_EQ
static int
OP_FORLOOP
static int
OP_FORPREP
static int
OP_GETGLOBAL
static int
OP_GETTABLE
static int
OP_GETUPVAL
static int
OP_JMP
static int
OP_LE
static int
OP_LEN
static int
OP_LOADBOOL
static int
OP_LOADK
static int
OP_LOADNIL
static int
OP_LT
static int
OP_MOD
static int
OP_MOVE
static int
OP_MUL
static int
OP_NEWTABLE
static int
OP_NOT
static int
OP_POW
static int
OP_RETURN
static int
OP_SELF
static int
OP_SETGLOBAL
static int
OP_SETLIST
static int
OP_SETTABLE
static int
OP_SETUPVAL
static int
OP_SUB
static int
OP_TAILCALL
static int
OP_TEST
static int
OP_TESTSET
static int
OP_TFORLOOP
static int
OP_UNM
static int
OP_VARARG
static int
POS_A
static int
POS_B
static int
POS_Bx
static int
POS_C
static int
POS_OP
static int
SIZE_A
static int
SIZE_B
static int
SIZE_Bx
static int
SIZE_C
static int
SIZE_OP
java.lang.String[]
upvalues
static int
VARARG_HASARG
static int
VARARG_ISVARARG
static int
VARARG_NEEDSARG
-
Method Summary
Modifier and Type Method Description protected static void
_assert(boolean boolean1)
static int
GET_OPCODE(int int1)
static int
GETARG_A(int int1)
static int
GETARG_B(int int1)
static int
GETARG_Bx(int int1)
static int
GETARG_C(int int1)
static int
GETARG_sBx(int int1)
static int
getBMode(int int1)
static int
getCMode(int int1)
static int
getOpMode(int int1)
static int
INDEXK(int int1)
static boolean
ISK(int int1)
static int
RKASK(int int1)
static boolean
testTMode(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
locvars
public java.lang.String[] locvars -
upvalues
public java.lang.String[] upvalues -
linedefined
public int linedefined -
lastlinedefined
public int lastlinedefined -
isVararg
public int isVararg -
currentFile
public static java.lang.String currentFile -
currentfullFile
public static java.lang.String currentfullFile -
MAXSTACK
public static final int MAXSTACK- See Also:
- Constant Field Values
-
LUA_MULTRET
public static final int LUA_MULTRET- See Also:
- Constant Field Values
-
VARARG_HASARG
public static final int VARARG_HASARG- See Also:
- Constant Field Values
-
VARARG_ISVARARG
public static final int VARARG_ISVARARG- See Also:
- Constant Field Values
-
VARARG_NEEDSARG
public static final int VARARG_NEEDSARG- See Also:
- Constant Field Values
-
iABC
public static final int iABC- See Also:
- Constant Field Values
-
iABx
public static final int iABx- See Also:
- Constant Field Values
-
iAsBx
public static final int iAsBx- See Also:
- Constant Field Values
-
SIZE_C
public static final int SIZE_C- See Also:
- Constant Field Values
-
SIZE_B
public static final int SIZE_B- See Also:
- Constant Field Values
-
SIZE_Bx
public static final int SIZE_Bx- See Also:
- Constant Field Values
-
SIZE_A
public static final int SIZE_A- See Also:
- Constant Field Values
-
SIZE_OP
public static final int SIZE_OP- See Also:
- Constant Field Values
-
POS_OP
public static final int POS_OP- See Also:
- Constant Field Values
-
POS_A
public static final int POS_A- See Also:
- Constant Field Values
-
POS_C
public static final int POS_C- See Also:
- Constant Field Values
-
POS_B
public static final int POS_B- See Also:
- Constant Field Values
-
POS_Bx
public static final int POS_Bx- See Also:
- Constant Field Values
-
MAX_OP
public static final int MAX_OP- See Also:
- Constant Field Values
-
MAXARG_A
public static final int MAXARG_A- See Also:
- Constant Field Values
-
MAXARG_B
public static final int MAXARG_B- See Also:
- Constant Field Values
-
MAXARG_C
public static final int MAXARG_C- See Also:
- Constant Field Values
-
MAXARG_Bx
public static final int MAXARG_Bx- See Also:
- Constant Field Values
-
MAXARG_sBx
public static final int MAXARG_sBx- See Also:
- Constant Field Values
-
MASK_OP
public static final int MASK_OP- See Also:
- Constant Field Values
-
MASK_A
public static final int MASK_A- See Also:
- Constant Field Values
-
MASK_B
public static final int MASK_B- See Also:
- Constant Field Values
-
MASK_C
public static final int MASK_C- See Also:
- Constant Field Values
-
MASK_Bx
public static final int MASK_Bx- See Also:
- Constant Field Values
-
MASK_NOT_OP
public static final int MASK_NOT_OP- See Also:
- Constant Field Values
-
MASK_NOT_A
public static final int MASK_NOT_A- See Also:
- Constant Field Values
-
MASK_NOT_B
public static final int MASK_NOT_B- See Also:
- Constant Field Values
-
MASK_NOT_C
public static final int MASK_NOT_C- See Also:
- Constant Field Values
-
MASK_NOT_Bx
public static final int MASK_NOT_Bx- See Also:
- Constant Field Values
-
BITRK
public static final int BITRK- See Also:
- Constant Field Values
-
MAXINDEXRK
public static final int MAXINDEXRK- See Also:
- Constant Field Values
-
NO_REG
public static final int NO_REG- See Also:
- Constant Field Values
-
OP_MOVE
public static final int OP_MOVE- See Also:
- Constant Field Values
-
OP_LOADK
public static final int OP_LOADK- See Also:
- Constant Field Values
-
OP_LOADBOOL
public static final int OP_LOADBOOL- See Also:
- Constant Field Values
-
OP_LOADNIL
public static final int OP_LOADNIL- See Also:
- Constant Field Values
-
OP_GETUPVAL
public static final int OP_GETUPVAL- See Also:
- Constant Field Values
-
OP_GETGLOBAL
public static final int OP_GETGLOBAL- See Also:
- Constant Field Values
-
OP_GETTABLE
public static final int OP_GETTABLE- See Also:
- Constant Field Values
-
OP_SETGLOBAL
public static final int OP_SETGLOBAL- See Also:
- Constant Field Values
-
OP_SETUPVAL
public static final int OP_SETUPVAL- See Also:
- Constant Field Values
-
OP_SETTABLE
public static final int OP_SETTABLE- See Also:
- Constant Field Values
-
OP_NEWTABLE
public static final int OP_NEWTABLE- See Also:
- Constant Field Values
-
OP_SELF
public static final int OP_SELF- See Also:
- Constant Field Values
-
OP_ADD
public static final int OP_ADD- See Also:
- Constant Field Values
-
OP_SUB
public static final int OP_SUB- See Also:
- Constant Field Values
-
OP_MUL
public static final int OP_MUL- See Also:
- Constant Field Values
-
OP_DIV
public static final int OP_DIV- See Also:
- Constant Field Values
-
OP_MOD
public static final int OP_MOD- See Also:
- Constant Field Values
-
OP_POW
public static final int OP_POW- See Also:
- Constant Field Values
-
OP_UNM
public static final int OP_UNM- See Also:
- Constant Field Values
-
OP_NOT
public static final int OP_NOT- See Also:
- Constant Field Values
-
OP_LEN
public static final int OP_LEN- See Also:
- Constant Field Values
-
OP_CONCAT
public static final int OP_CONCAT- See Also:
- Constant Field Values
-
OP_JMP
public static final int OP_JMP- See Also:
- Constant Field Values
-
OP_EQ
public static final int OP_EQ- See Also:
- Constant Field Values
-
OP_LT
public static final int OP_LT- See Also:
- Constant Field Values
-
OP_LE
public static final int OP_LE- See Also:
- Constant Field Values
-
OP_TEST
public static final int OP_TEST- See Also:
- Constant Field Values
-
OP_TESTSET
public static final int OP_TESTSET- See Also:
- Constant Field Values
-
OP_CALL
public static final int OP_CALL- See Also:
- Constant Field Values
-
OP_TAILCALL
public static final int OP_TAILCALL- See Also:
- Constant Field Values
-
OP_RETURN
public static final int OP_RETURN- See Also:
- Constant Field Values
-
OP_FORLOOP
public static final int OP_FORLOOP- See Also:
- Constant Field Values
-
OP_FORPREP
public static final int OP_FORPREP- See Also:
- Constant Field Values
-
OP_TFORLOOP
public static final int OP_TFORLOOP- See Also:
- Constant Field Values
-
OP_SETLIST
public static final int OP_SETLIST- See Also:
- Constant Field Values
-
OP_CLOSE
public static final int OP_CLOSE- See Also:
- Constant Field Values
-
OP_CLOSURE
public static final int OP_CLOSURE- See Also:
- Constant Field Values
-
OP_VARARG
public static final int OP_VARARG- See Also:
- Constant Field Values
-
NUM_OPCODES
public static final int NUM_OPCODES- See Also:
- Constant Field Values
-
luaP_opmodes
public static final int[] luaP_opmodes -
LFIELDS_PER_FLUSH
public static final int LFIELDS_PER_FLUSH- See Also:
- Constant Field Values
-
-
Method Details
-
_assert
protected static void _assert(boolean boolean1) -
GET_OPCODE
public static int GET_OPCODE(int int1) -
GETARG_A
public static int GETARG_A(int int1) -
GETARG_B
public static int GETARG_B(int int1) -
GETARG_C
public static int GETARG_C(int int1) -
GETARG_Bx
public static int GETARG_Bx(int int1) -
GETARG_sBx
public static int GETARG_sBx(int int1) -
ISK
public static boolean ISK(int int1) -
INDEXK
public static int INDEXK(int int1) -
RKASK
public static int RKASK(int int1) -
getOpMode
public static int getOpMode(int int1) -
getBMode
public static int getBMode(int int1) -
getCMode
public static int getCMode(int int1) -
testTMode
public static boolean testTMode(int int1)
-