saffron.walden
Class PrintHandler
java.lang.Object
|
+--saffron.walden.PrintHandler
- All Implemented Interfaces:
- Handler
- public class PrintHandler
- extends Object
- implements Handler
A PrintHandler
writes the output of a Interpreter
to a
PrintWriter
.
- Since:
- May 26, 2002
- Version:
- $Id: //open/saffron/src/main/saffron/walden/PrintHandler.java#1 $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pw
PrintWriter pw
interpreter
Interpreter interpreter
interactive
boolean interactive
prompt
String prompt
PrintHandler
public PrintHandler(Interpreter interpreter,
PrintWriter pw,
boolean interatcive)
beforeParse
public void beforeParse()
- Specified by:
beforeParse
in interface Handler
afterExecute
public void afterExecute(OJClass clazz,
Object o)
- Specified by:
afterExecute
in interface Handler
beforeExecute
public void beforeExecute(ParseTree parseTree)
- Specified by:
beforeExecute
in interface Handler
onParseException
public void onParseException(ParseException e)
- Specified by:
onParseException
in interface Handler