Package se.krka.kahlua.vm
Class Prototype
java.lang.Object
se.krka.kahlua.vm.Prototype
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPrototype
(DataInputStream dataInputStream, boolean boolean1, String string, int int1) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(OutputStream outputStream) static LuaClosure
loadByteCode
(DataInputStream dataInputStream, KahluaTable kahluaTable) static LuaClosure
loadByteCode
(InputStream inputStream, KahluaTable kahluaTable) static int
rev
(int int1) static long
rev
(long long1) static int
toInt
(int int1, boolean boolean1) static long
toLong
(long long1, boolean boolean1) 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
public Prototype(DataInputStream dataInputStream, boolean boolean1, String string, int int1) throws IOException - Throws:
IOException
-
-
Method Details
-
toString
-
rev
public static int rev(int int1) -
rev
public static long rev(long long1) -
toInt
public static int toInt(int int1, boolean boolean1) -
toLong
public static long toLong(long long1, boolean boolean1) -
loadByteCode
public static LuaClosure loadByteCode(DataInputStream dataInputStream, KahluaTable kahluaTable) throws IOException - Throws:
IOException
-
loadByteCode
public static LuaClosure loadByteCode(InputStream inputStream, KahluaTable kahluaTable) throws IOException - Throws:
IOException
-
dump
- Throws:
IOException
-