Package se.krka.kahlua.threading
Class VerifiedSingleKahluaThread
java.lang.Object
se.krka.kahlua.vm.KahluaThread
se.krka.kahlua.threading.VerifiedSingleKahluaThread
public class VerifiedSingleKahluaThread extends KahluaThread
-
Field Summary
Fields inherited from class se.krka.kahlua.vm.KahluaThread
bReset, bStep, bStepInto, currentCoroutine, currentfile, currentLine, lastCallFrame, LastCallFrame, lastLine
-
Constructor Summary
Constructors Constructor Description VerifiedSingleKahluaThread(java.io.PrintStream stream, Platform platform, KahluaTable environment)
VerifiedSingleKahluaThread(Platform platform, KahluaTable environment)
-
Method Summary
Modifier and Type Method Description int
call(int arguments)
java.lang.Object
call(java.lang.Object fun, java.lang.Object[] args)
java.lang.Object
call(java.lang.Object fun, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
KahluaTable
getEnvironment()
java.lang.Object
getMetaOp(java.lang.Object o, java.lang.String meta_op)
java.lang.Object
getmetatable(java.lang.Object o, boolean raw)
int
pcall(int arguments)
java.lang.Object[]
pcall(java.lang.Object fun)
java.lang.Object[]
pcall(java.lang.Object fun, java.lang.Object[] args)
void
setmetatable(java.lang.Object o, KahluaTable metatable)
java.lang.Object
tableget(java.lang.Object table, java.lang.Object key)
void
tableSet(java.lang.Object table, java.lang.Object key, java.lang.Object value)
Methods inherited from class se.krka.kahlua.vm.KahluaThread
breakpointToggle, doStacktraceProper, doStacktraceProper, getCurrentCoroutine, getOut, getPlatform, hasBreakpoint, hasDataBreakpoint, hasReadDataBreakpoint, isCurrent, pcallvoid, pcallvoid, pcallvoid, toggleBreakOnChange, toggleBreakOnRead
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VerifiedSingleKahluaThread
-
VerifiedSingleKahluaThread
public VerifiedSingleKahluaThread(java.io.PrintStream stream, Platform platform, KahluaTable environment)
-
-
Method Details
-
call
public int call(int arguments)- Overrides:
call
in classKahluaThread
-
pcall
public int pcall(int arguments)- Overrides:
pcall
in classKahluaThread
-
pcall
public java.lang.Object[] pcall(java.lang.Object fun)- Overrides:
pcall
in classKahluaThread
-
pcall
public final java.lang.Object[] pcall(java.lang.Object fun, java.lang.Object[] args)- Overrides:
pcall
in classKahluaThread
-
setmetatable
- Overrides:
setmetatable
in classKahluaThread
-
call
public java.lang.Object call(java.lang.Object fun, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)- Overrides:
call
in classKahluaThread
-
call
public java.lang.Object call(java.lang.Object fun, java.lang.Object[] args)- Overrides:
call
in classKahluaThread
-
getEnvironment
- Overrides:
getEnvironment
in classKahluaThread
-
getMetaOp
public java.lang.Object getMetaOp(java.lang.Object o, java.lang.String meta_op)- Overrides:
getMetaOp
in classKahluaThread
-
getmetatable
public java.lang.Object getmetatable(java.lang.Object o, boolean raw)- Overrides:
getmetatable
in classKahluaThread
-
tableget
public java.lang.Object tableget(java.lang.Object table, java.lang.Object key)- Overrides:
tableget
in classKahluaThread
-
tableSet
public void tableSet(java.lang.Object table, java.lang.Object key, java.lang.Object value)- Overrides:
tableSet
in classKahluaThread
-