jxl.enshell
Class Enterpreter

java.lang.Object
  extended by java.lang.Thread
      extended by jxl.terminal.Interpreter
          extended by jxl.enshell.Enterpreter
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, ParserListener

public class Enterpreter
extends Interpreter
implements ParserListener

Author:
Alex Lynch (jxlynch@users.sf.net)

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Enterpreter(java.lang.ClassLoader cl)
          Creates a new instance of Enterpreter2
 
Method Summary
static Enterpreter currentEnterpreter()
           
protected  void finish()
           
 void handleBlockStatement(ParsedElement pel, AbstractScope scope)
           
static void print(java.lang.Object o)
           
static void println(java.lang.Object o)
           
 void run()
           
 void viewWholeTree(ParsedElement root)
           
 
Methods inherited from class jxl.terminal.Interpreter
getIn, getOut
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Enterpreter

public Enterpreter(java.lang.ClassLoader cl)
Creates a new instance of Enterpreter2

Method Detail

currentEnterpreter

public static Enterpreter currentEnterpreter()

print

public static void print(java.lang.Object o)

println

public static void println(java.lang.Object o)

finish

protected void finish()
Specified by:
finish in class Interpreter

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

viewWholeTree

public void viewWholeTree(ParsedElement root)
Specified by:
viewWholeTree in interface ParserListener

handleBlockStatement

public void handleBlockStatement(ParsedElement pel,
                                 AbstractScope scope)
                          throws EvalException
Throws:
EvalException