com.inxar.syntacs.analyzer.syntactic
Class StandardParser

java.lang.Object
  |
  +--com.inxar.syntacs.translator.lr.AbstractLRTranslationComponent
        |
        +--com.inxar.syntacs.analyzer.syntactic.StandardParser
All Implemented Interfaces:
LRTranslationComponent, Parser

public class StandardParser
extends AbstractLRTranslationComponent
implements Parser

Concrete implementation of Parser.


Constructor Summary
StandardParser()
           
 
Method Summary
 ParserInterpreter getParserInterpreter()
          Gets the ParserInterpreter.
 void initialize(Object arg)
          The argument must be a DPA.
 void nextRx()
           
 void notify(Symbol symbol)
          Notifies the Parser that a new Symbol (token) has been discovered.
 void reset()
          Resets the internal state of the TranslationComponent in preparation for another translation.
 void setParserInterpreter(ParserInterpreter interpreter)
          Sets the ParserInterpreter.
 
Methods inherited from class com.inxar.syntacs.translator.lr.AbstractLRTranslationComponent
getAuditor, getInput, getLRTranslatorGrammar, getProperties, setAuditor, setInput, setLRTranslatorGrammar, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.inxar.syntacs.translator.lr.LRTranslationComponent
getAuditor, getInput, getLRTranslatorGrammar, getProperties, setAuditor, setInput, setLRTranslatorGrammar, setProperties
 

Constructor Detail

StandardParser

public StandardParser()
Method Detail

initialize

public void initialize(Object arg)
The argument must be a DPA.
Specified by:
initialize in interface LRTranslationComponent
Overrides:
initialize in class AbstractLRTranslationComponent

reset

public void reset()
Description copied from interface: LRTranslationComponent
Resets the internal state of the TranslationComponent in preparation for another translation.
Specified by:
reset in interface LRTranslationComponent
Overrides:
reset in class AbstractLRTranslationComponent

nextRx

public void nextRx()

notify

public void notify(Symbol symbol)
            throws TranslationException
Description copied from interface: Parser
Notifies the Parser that a new Symbol (token) has been discovered.
Specified by:
notify in interface Parser

setParserInterpreter

public void setParserInterpreter(ParserInterpreter interpreter)
Description copied from interface: Parser
Sets the ParserInterpreter.
Specified by:
setParserInterpreter in interface Parser

getParserInterpreter

public ParserInterpreter getParserInterpreter()
Description copied from interface: Parser
Gets the ParserInterpreter.
Specified by:
getParserInterpreter in interface Parser