CIDER Toolkit
Version 0.2.0

au.edu.monash.csse.tonyj.cider.interpreter
Interface GrammarSymbolListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
InterpretedTokenCanvas

public interface GrammarSymbolListener
extends java.util.EventListener

This interface must be implemented to listen for events that involve GrammarSymbols that are being used by an Interpreter.


Method Summary
 void symbolAdded(GrammarSymbolEvent event)
          This method is called when a grammar symbol has been added to the internal parse forest of the Interpreter.
 void symbolModified(GrammarSymbolEvent event)
          This method is called when a grammar symbol that is in the internal parse forest of the Interpreter is modified.
 void symbolRemoved(GrammarSymbolEvent event)
          This method is called when a grammar symbol has been removed from the internal parse forest of the Interpreter.
 

Method Detail

symbolAdded

public void symbolAdded(GrammarSymbolEvent event)
This method is called when a grammar symbol has been added to the internal parse forest of the Interpreter.

Parameters:
event - Contains details of the event.

symbolRemoved

public void symbolRemoved(GrammarSymbolEvent event)
This method is called when a grammar symbol has been removed from the internal parse forest of the Interpreter.

Parameters:
event - Contains details of the event.

symbolModified

public void symbolModified(GrammarSymbolEvent event)
This method is called when a grammar symbol that is in the internal parse forest of the Interpreter is modified.

Parameters:
event - Contains details of the event.

CIDER Toolkit
Version 0.2.0