org.inxar.syntacs.translator.lr
Interface LRTranslatorInterpreter

All Superinterfaces:
LexerInterpreter, LRTranslationComponent, ParserInterpreter
All Known Implementing Classes:
StandardLRTranslatorInterpreter

public interface LRTranslatorInterpreter
extends LexerInterpreter, ParserInterpreter

The LRTranslatorInterpreter interface is a union of the LexerInterpreter and ParserInterpreter interfaces.


Method Summary
 Object getResult()
          When translation is complete and there were no unrecoverable errors, the LRTranslatorInterpreter should be able to produce some Object which was built from the parse tree.
 
Methods inherited from interface org.inxar.syntacs.analyzer.lexical.LexerInterpreter
error, getParser, match, setParser, stop
 
Methods inherited from interface org.inxar.syntacs.translator.lr.LRTranslationComponent
getAuditor, getInput, getLRTranslatorGrammar, getProperties, initialize, reset, setAuditor, setInput, setLRTranslatorGrammar, setProperties
 
Methods inherited from interface org.inxar.syntacs.analyzer.syntactic.ParserInterpreter
accept, recover, reduce
 

Method Detail

getResult

public Object getResult()
When translation is complete and there were no unrecoverable errors, the LRTranslatorInterpreter should be able to produce some Object which was built from the parse tree. This Object will be returned by the Translator if appropriate.