net.sf.parser4j.generator.service
Class StatementDefTokenSonUpdater
java.lang.Object
net.sf.parser4j.generator.service.StatementDefTokenSonUpdater
- All Implemented Interfaces:
- IGrammarDefVisitor
public class StatementDefTokenSonUpdater
- extends java.lang.Object
- implements IGrammarDefVisitor
Update statement definition token son state using
StatementDef.setTokenSon(boolean)
Also create set of not referenced non terminal definition
- Author:
- luc peuvrier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatementDefTokenSonUpdater
public StatementDefTokenSonUpdater()
update
public void update(IGrammarDefNode rootData)
throws GeneratorException
- Throws:
GeneratorException
getNotReferenced
public java.util.Set<java.lang.String> getNotReferenced()
- Returns:
- the notReferenced
beginVisit
public void beginVisit(GrammarDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(GrammarDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RulesGroupListDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RulesGroupListDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RulesDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RulesDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RuleDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RuleDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public boolean beginVisit(StatementDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(StatementDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.