Class Prototype
java.lang.Object
se.krka.kahlua.vm.Prototype
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(OutputStream arg0) static LuaClosure
loadByteCode
(DataInputStream arg0, KahluaTable arg1) static LuaClosure
loadByteCode
(InputStream arg0, KahluaTable arg1) static int
rev
(int arg0) static long
rev
(long arg0) static int
toInt
(int arg0, boolean arg1) static long
toLong
(long arg0, boolean arg1) toString()
-
Field Details
-
code
public int[] code -
constants
-
prototypes
-
numParams
public int numParams -
isVararg
public boolean isVararg -
name
-
lines
public int[] lines -
numUpvalues
public int numUpvalues -
maxStacksize
public int maxStacksize -
file
-
filename
-
locvars
-
locvarlines
public int[] locvarlines
-
-
Constructor Details
-
Prototype
public Prototype() -
Prototype
- Throws:
IOException
-
-
Method Details
-
toString
-
rev
public static int rev(int arg0) -
rev
public static long rev(long arg0) -
toInt
public static int toInt(int arg0, boolean arg1) -
toLong
public static long toLong(long arg0, boolean arg1) -
loadByteCode
- Throws:
IOException
-
loadByteCode
- Throws:
IOException
-
dump
- Throws:
IOException
-