Package se.krka.kahlua.vm
Class LuaCallFrame
java.lang.Object
se.krka.kahlua.vm.LuaCallFrame
public class LuaCallFrame
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
canYield
LuaClosure
closure
Coroutine
coroutine
JavaFunction
javaFunction
int
localBase
int
localsAssigned
HashMap
LocalStackToVarMap
java.util.ArrayList
LocalVarNames
HashMap
LocalVarToStackMap
int
nArguments
int
pc
-
Constructor Summary
Constructors Constructor Description LuaCallFrame(Coroutine coroutine)
-
Method Summary
Modifier and Type Method Description void
clearFromIndex(int int1)
void
closeUpvalues(int int1)
UpValue
findUpvalue(int int1)
java.lang.Object
get(int int1)
LuaClosure
getClosure()
KahluaTable
getEnvironment()
java.lang.String
getFilename()
java.lang.String
getNameOfStack(int int1)
Platform
getPlatform()
KahluaThread
getThread()
int
getTop()
void
init()
boolean
isJava()
boolean
isLua()
void
printoutLocalVars()
int
push(java.lang.Object object)
int
push(java.lang.Object object, java.lang.Object object2)
int
pushNil()
void
pushVarargs(int int1, int int2)
void
set(int int1, java.lang.Object object)
void
setLocalVarToStack(java.lang.String string, int int1)
void
setPrototypeStacksize()
void
setTop(int int1)
void
stackClear(int int1, int int2)
void
stackCopy(int int1, int int2, int int3)
java.lang.String
toString()
java.lang.String
toString2()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
coroutine
-
closure
-
javaFunction
-
pc
public int pc -
localBase
public int localBase -
nArguments
public int nArguments -
canYield
public boolean canYield -
localsAssigned
public int localsAssigned -
LocalVarToStackMap
-
LocalStackToVarMap
-
LocalVarNames
public java.util.ArrayList LocalVarNames
-
-
Constructor Details
-
LuaCallFrame
-
-
Method Details
-
getFilename
public java.lang.String getFilename() -
set
public final void set(int int1, java.lang.Object object) -
get
public final java.lang.Object get(int int1) -
push
public int push(java.lang.Object object) -
push
public int push(java.lang.Object object, java.lang.Object object2) -
pushNil
public int pushNil() -
stackCopy
public final void stackCopy(int int1, int int2, int int3) -
stackClear
public void stackClear(int int1, int int2) -
clearFromIndex
public void clearFromIndex(int int1) -
setTop
public final void setTop(int int1) -
closeUpvalues
public void closeUpvalues(int int1) -
findUpvalue
-
getTop
public int getTop() -
init
public void init() -
setPrototypeStacksize
public void setPrototypeStacksize() -
pushVarargs
public void pushVarargs(int int1, int int2) -
getEnvironment
-
isJava
public boolean isJava() -
isLua
public boolean isLua() -
toString2
public java.lang.String toString2() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getPlatform
-
getThread
-
getClosure
-
setLocalVarToStack
public void setLocalVarToStack(java.lang.String string, int int1) -
getNameOfStack
public java.lang.String getNameOfStack(int int1) -
printoutLocalVars
public void printoutLocalVars()
-