net.sf.joost.stx
Class TestListener

java.lang.Object
  |
  +--net.sf.joost.stx.TestListener
All Implemented Interfaces:
ParserListener

public class TestListener
extends java.lang.Object
implements ParserListener

Callback interface that can be used to receive information about the STX instructions created by a Parser object.

Version:
$Revision: 2.2 $ $Date: 2003/09/03 15:03:04 $
Author:
Oliver Becker

Constructor Summary
TestListener()
           
 
Method Summary
 void nodeCreated(NodeBase inst)
          Send a notification that the parser has created an internal representation of an STX instruction
 void parseFinished()
          Send a notification that the parser has finished its parsing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestListener

public TestListener()
Method Detail

nodeCreated

public void nodeCreated(NodeBase inst)
Description copied from interface: ParserListener
Send a notification that the parser has created an internal representation of an STX instruction

Specified by:
nodeCreated in interface ParserListener
Parameters:
inst - the instruction

parseFinished

public void parseFinished()
Description copied from interface: ParserListener
Send a notification that the parser has finished its parsing. All nodes reported by ParserListener.nodeCreated(net.sf.joost.instruction.NodeBase) have been fully initialized.

Specified by:
parseFinished in interface ParserListener