Package se.krka.kahlua.vm
Class Prototype
java.lang.Object
se.krka.kahlua.vm.Prototype
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrototype(DataInputStream dataInputStream, boolean boolean1, String string, int int1) -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(OutputStream outputStream) static LuaClosureloadByteCode(DataInputStream dataInputStream, KahluaTable kahluaTable) static LuaClosureloadByteCode(InputStream inputStream, KahluaTable kahluaTable) static intrev(int int1) static longrev(long long1) static inttoInt(int int1, boolean boolean1) static longtoLong(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
-