net.sf.parser4j.kernelgenerator.service.grammarnode
Class AbstractGrammarNodeVisitor
java.lang.Object
net.sf.parser4j.kernelgenerator.service.grammarnode.AbstractGrammarNodeVisitor
- All Implemented Interfaces:
- IGrammarNodeVisitor
- Direct Known Subclasses:
- GrammarToTextFile, NonTerminalEmptyStateUpdater, ParserDataGenerator
public abstract class AbstractGrammarNodeVisitor
- extends java.lang.Object
- implements IGrammarNodeVisitor
since grammar is a graph, this is generic to avoid infinite loop.
- Author:
- luc peuvrier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGrammarNodeVisitor
public AbstractGrammarNodeVisitor()
initialize
protected void initialize()
close
protected void close()
beginVisit
public boolean beginVisit(IGrammarNode grammarNode)
throws GrammarNodeVisitException
- Specified by:
beginVisit
in interface IGrammarNodeVisitor
- Throws:
GrammarNodeVisitException
endVisit
public void endVisit(IGrammarNode grammarNode)
throws GrammarNodeVisitException
- Specified by:
endVisit
in interface IGrammarNodeVisitor
- Throws:
GrammarNodeVisitException
beginVisitImpl
protected abstract void beginVisitImpl(IGrammarNode grammarNode)
throws GrammarNodeVisitException
- Throws:
GrammarNodeVisitException
endVisitImpl
protected abstract void endVisitImpl(IGrammarNode grammarNode)
throws GrammarNodeVisitException
- Throws:
GrammarNodeVisitException
visitImpl
protected abstract void visitImpl(IGrammarNode grammarNode)
throws GrammarNodeVisitException
- Throws:
GrammarNodeVisitException
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.