| java.lang.Object pnuts.lang.Context pnuts.tools.DebugContext
DebugContext | public class DebugContext extends Context (Code) | | This class is a Context used in debug mode.
|
DebugContext | public DebugContext()(Code) | | |
clone | public Object clone(boolean clear_attributes, boolean clear_locals, boolean clear_listeners)(Code) | | |
close | protected void close(Function f, Object[] args)(Code) | | Tracks stack depth (function return) in pure interpreter.
This method overrides Context.close().
|
fireCommandEvent | void fireCommandEvent(int type, Object arg)(Code) | | |
getBeginLine | protected int getBeginLine()(Code) | | |
getCallDepth | public int getCallDepth()(Code) | | Get the stack depth (in pure interpreter)
|
getDebugger | public Debugger getDebugger()(Code) | | Returns the debugger that controls this debug context
|
getEndLine | protected int getEndLine()(Code) | | |
getEvalDepth | public int getEvalDepth()(Code) | | Get the depth of evaluation.
This value increases when load(), loadFile(), or eval() is called.
|
onError | protected void onError(Throwable t)(Code) | | This method is called when some exception is thrown.
|
onExit | protected void onExit(Object arg)(Code) | | This method is called when an evaluation is terminated normally.
|
open | protected void open(Function f, Object[] args)(Code) | | Tracks stack depth (function call) in pure interpreter.
This method overrides Context.open().
|
setDebugger | public void setDebugger(Debugger debugger)(Code) | | Registers the specified debugger as the controller of this debug context
|
updateLine | protected void updateLine(SimpleNode node, int beginLine, int beginColumn)(Code) | | This method is called when line number is changed.
|
Methods inherited from pnuts.lang.Context | public void autoload(String name, String file)(Code)(Java Doc) public void autoload(String name, AutoloadHook hook)(Code)(Java Doc) public synchronized void clearPackages()(Code)(Java Doc) public Object clone()(Code)(Java Doc) public Object clone(boolean clear_attributes, boolean clear_locals)(Code)(Java Doc) protected void close(Function func, Object args)(Code)(Java Doc) public boolean defined(String name)(Code)(Java Doc) public Object get(String symbol)(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public ClassLoader getCodeLoader()(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public Package getCurrentPackage()(Code)(Java Doc) public PrintWriter getErrorStream()(Code)(Java Doc) public PrintWriter getErrorWriter()(Code)(Java Doc) public Executable getExitHook()(Code)(Java Doc) public Object getId(String interned)(Code)(Java Doc) public Implementation getImplementation()(Code)(Java Doc) public String getName()(Code)(Java Doc) public OutputStream getOutputStream()(Code)(Java Doc) public PnutsImpl getPnutsImpl()(Code)(Java Doc) public String getScriptEncoding()(Code)(Java Doc) protected Object getScriptSource()(Code)(Java Doc) public PrintWriter getTerminalStream()(Code)(Java Doc) public PrintWriter getTerminalWriter()(Code)(Java Doc) protected Object getValue(String symbol)(Code)(Java Doc) public PrintWriter getWriter()(Code)(Java Doc) public boolean isVerbose()(Code)(Java Doc) public Enumeration keys()(Code)(Java Doc) protected void loadModule(String name, Package pkg) throws IOException(Code)(Java Doc) protected void onError(Throwable t)(Code)(Java Doc) protected void onExit(Object arg)(Code)(Java Doc) protected void open(Function f, Object args)(Code)(Java Doc) public void registerQuantityFactory(String unit, QuantityFactory fac)(Code)(Java Doc) public Class resolveClass(String symbol)(Code)(Java Doc) public Object resolveSymbol(String interned)(Code)(Java Doc) public void set(String symbol, Object value)(Code)(Java Doc) public void setClassLoader(ClassLoader loader)(Code)(Java Doc) public void setCodeLoader(ClassLoader loader)(Code)(Java Doc) public void setConfiguration(Configuration config)(Code)(Java Doc) public void setCurrentPackage(Package pkg)(Code)(Java Doc) public void setErrorStream(Object errorStream, boolean autoFlush)(Code)(Java Doc) public void setErrorStream(Object errorStream)(Code)(Java Doc) public void setErrorWriter(Writer w, boolean autoFlush)(Code)(Java Doc) public void setErrorWriter(Writer w)(Code)(Java Doc) public void setExitHook(Executable hook)(Code)(Java Doc) public void setImplementation(Implementation impl)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setOutputStream(Object out, boolean autoFlush)(Code)(Java Doc) public void setOutputStream(Object outputStream)(Code)(Java Doc) public void setOutputStream(OutputStream out)(Code)(Java Doc) public void setPnutsImpl(PnutsImpl impl)(Code)(Java Doc) public void setScriptEncoding(String encoding)(Code)(Java Doc) public void setTerminalStream(Object str, boolean autoFlush)(Code)(Java Doc) public void setTerminalStream(Object stream)(Code)(Java Doc) public void setTerminalWriter(Writer w)(Code)(Java Doc) public void setTerminalWriter(Writer w, boolean autoFlush)(Code)(Java Doc) protected void setValue(String symbol, Object obj)(Code)(Java Doc) public void setVerbose(boolean b)(Code)(Java Doc) public void setWriter(Writer out)(Code)(Java Doc) public void setWriter(Writer out, boolean autoFlush)(Code)(Java Doc) public synchronized boolean unusePackage(Package pkg)(Code)(Java Doc) protected void updateColumn(int column)(Code)(Java Doc) protected void updateLine(SimpleNode node, int beginLine, int beginColumn)(Code)(Java Doc) protected void updateLine(int line)(Code)(Java Doc) public boolean usePackage(Package pkg, boolean checkException)(Code)(Java Doc) public boolean usePackage(String name)(Code)(Java Doc) public boolean usePackage(String name, boolean checkException)(Code)(Java Doc) public String[] usedPackages()(Code)(Java Doc)
|
|
|