fsa_editor::CiderInterface Class Reference

Inheritance diagram for fsa_editor::CiderInterface:

fsa_editor::FSACiderInterface List of all members.

Public Member Functions

void symbolAdded (GrammarSymbolEvent gse)
void symbolRemoved (GrammarSymbolEvent gse)
void symbolModified (GrammarSymbolEvent gse)
boolean add (GrammarSymbol symbol)
boolean remove (GrammarSymbol symbol)
int getIDNumber (GrammarSymbol symbol)
Interpreter getInterpreter ()
void printForest ()

Package Functions

 CiderInterface (Interpreter inter)

Constructor & Destructor Documentation

fsa_editor::CiderInterface::CiderInterface ( Interpreter  inter  )  [inline, package]


Member Function Documentation

void fsa_editor::CiderInterface::symbolAdded ( GrammarSymbolEvent  gse  )  [inline]

This method is required by the GrammarSymbolListener interface. It should not be called directly.

Warning: This is only called when a symbol is not explicitly added using add().

void fsa_editor::CiderInterface::symbolRemoved ( GrammarSymbolEvent  gse  )  [inline]

This method is required by the GrammarSymbolListener interface. It should not be called directly.

Warning: This is only called when a symbol is not explicitly removed using remove().

void fsa_editor::CiderInterface::symbolModified ( GrammarSymbolEvent  gse  )  [inline]

This method is required by the GrammarSymbolListener interface. It should not be called directly.

Reimplemented in fsa_editor::FSACiderInterface.

boolean fsa_editor::CiderInterface::add ( GrammarSymbol  symbol  )  [inline]

Parameters:
symbol The symbol to be added. Must be a terminal symbol in the grammar.
Returns:
true if successful, or false if the Interpreter would not accept the token as a valid terminal symbol.

boolean fsa_editor::CiderInterface::remove ( GrammarSymbol  symbol  )  [inline]

Parameters:
symbol The symbol to be removed. Must be a terminal symbol in the grammar.
Returns:
true if successful, or false if the token could not be removed from the Interpreter.

int fsa_editor::CiderInterface::getIDNumber ( GrammarSymbol  symbol  )  [inline]

Interpreter fsa_editor::CiderInterface::getInterpreter (  )  [inline]

Returns the Interpreter used by the canvas.

void fsa_editor::CiderInterface::printForest (  )  [inline]

Convenience method.

Prints the Interpreter's forest to System.out.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:53 2007 for Digest by  doxygen 1.5.2