Package se.krka.kahlua.vm
Class KahluaThread
java.lang.Object
se.krka.kahlua.vm.KahluaThread
- Direct Known Subclasses:
BlockingKahluaThread
,VerifiedSingleKahluaThread
public class KahluaThread
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KahluaThread.Entry
-
Field Summary
Fields Modifier and Type Field Description boolean
bReset
boolean
bStep
boolean
bStepInto
Coroutine
currentCoroutine
java.lang.String
currentfile
int
currentLine
int
lastCallFrame
static LuaCallFrame
LastCallFrame
int
lastLine
java.util.ArrayList
profileEntries
java.util.HashMap
profileEntryMap
-
Constructor Summary
Constructors Constructor Description KahluaThread(java.io.PrintStream printStream, Platform platform, KahluaTable kahluaTable)
KahluaThread(Platform platform, KahluaTable kahluaTable)
-
Method Summary
Modifier and Type Method Description void
breakpointToggle(java.lang.String string, int int1)
int
call(int int1)
java.lang.Object
call(java.lang.Object object, java.lang.Object[] objectArray)
java.lang.Object
call(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
void
doStacktraceProper()
void
doStacktraceProper(LuaCallFrame luaCallFrame)
Coroutine
getCurrentCoroutine()
KahluaTable
getEnvironment()
protected java.lang.Object
getMetaOp(java.lang.Object object, java.lang.String string)
java.lang.Object
getmetatable(java.lang.Object object, boolean boolean1)
java.io.PrintStream
getOut()
Platform
getPlatform()
boolean
hasBreakpoint(java.lang.String string, int int1)
boolean
hasDataBreakpoint(KahluaTable kahluaTable, java.lang.Object object)
boolean
hasReadDataBreakpoint(KahluaTable kahluaTable, java.lang.Object object)
boolean
isCurrent(java.lang.String string, int int1)
int
pcall(int int1)
java.lang.Object[]
pcall(java.lang.Object object)
java.lang.Object[]
pcall(java.lang.Object object, java.lang.Object[] objectArray)
java.lang.Boolean
pcallBoolean(java.lang.Object object, java.lang.Object[] objectArray)
java.lang.Boolean
pcallBoolean(java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
java.lang.Boolean
pcallBoolean(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
void
pcallvoid(java.lang.Object object, java.lang.Object object2)
void
pcallvoid(java.lang.Object object, java.lang.Object[] objectArray)
void
pcallvoid(java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
void
pcallvoid(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
void
setmetatable(java.lang.Object object, KahluaTable kahluaTable)
java.lang.Object
tableget(java.lang.Object object, java.lang.Object object2)
void
tableSet(java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
void
toggleBreakOnChange(KahluaTable kahluaTable, java.lang.Object object)
void
toggleBreakOnRead(KahluaTable kahluaTable, java.lang.Object object)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
LastCallFrame
-
currentCoroutine
-
bStep
public boolean bStep -
currentfile
public java.lang.String currentfile -
currentLine
public int currentLine -
lastLine
public int lastLine -
lastCallFrame
public int lastCallFrame -
bReset
public boolean bReset -
profileEntries
public java.util.ArrayList profileEntries -
profileEntryMap
public java.util.HashMap profileEntryMap -
bStepInto
public boolean bStepInto
-
-
Constructor Details
-
KahluaThread
-
KahluaThread
-
-
Method Details
-
getCurrentCoroutine
-
call
public int call(int int1) -
isCurrent
public boolean isCurrent(java.lang.String string, int int1) -
doStacktraceProper
-
doStacktraceProper
public void doStacktraceProper() -
getMetaOp
protected java.lang.Object getMetaOp(java.lang.Object object, java.lang.String string) -
call
public java.lang.Object call(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
call
public java.lang.Object call(java.lang.Object object, java.lang.Object[] objectArray) -
tableget
public java.lang.Object tableget(java.lang.Object object, java.lang.Object object2) -
tableSet
public void tableSet(java.lang.Object object, java.lang.Object object2, java.lang.Object object3) -
setmetatable
-
getmetatable
public java.lang.Object getmetatable(java.lang.Object object, boolean boolean1) -
pcall
public java.lang.Object[] pcall(java.lang.Object object, java.lang.Object[] objectArray) -
pcallvoid
public void pcallvoid(java.lang.Object object, java.lang.Object[] objectArray) -
pcallvoid
public void pcallvoid(java.lang.Object object, java.lang.Object object2) -
pcallvoid
public void pcallvoid(java.lang.Object object, java.lang.Object object2, java.lang.Object object3) -
pcallvoid
public void pcallvoid(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
pcallBoolean
public java.lang.Boolean pcallBoolean(java.lang.Object object, java.lang.Object object2, java.lang.Object object3) -
pcallBoolean
public java.lang.Boolean pcallBoolean(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
pcallBoolean
public java.lang.Boolean pcallBoolean(java.lang.Object object, java.lang.Object[] objectArray) -
pcall
public java.lang.Object[] pcall(java.lang.Object object) -
pcall
public int pcall(int int1) -
getEnvironment
-
getOut
public java.io.PrintStream getOut() -
getPlatform
-
breakpointToggle
public void breakpointToggle(java.lang.String string, int int1) -
hasBreakpoint
public boolean hasBreakpoint(java.lang.String string, int int1) -
toggleBreakOnChange
-
toggleBreakOnRead
-
hasDataBreakpoint
-
hasReadDataBreakpoint
-