net.sf.parser4j.parser.service.parsenode
Interface IParseNodeVisitor
- All Known Subinterfaces:
- IParseTreeComponentVisitor
- All Known Implementing Classes:
- JTreeNodeCreator, MatchMgrInvoker, ParsingToStringUtil
public interface IParseNodeVisitor
- Author:
- luc peuvrier
beginVisit
boolean beginVisit(IParseNode node)
throws ParserException
- begin node visit
- Parameters:
node
-
- Returns:
- true if must do the son visit
- Throws:
ParserException
endVisit
void endVisit(IParseNode node)
throws ParserException
- end node visit, not invoke if
beginVisit(IParseNode)
returned
false
- Parameters:
node
-
- Throws:
ParserException
visitFirstAlternativeOnly
boolean visitFirstAlternativeOnly()
- Returns:
- true if visit first alternative only
beginAlternativeVisit
void beginAlternativeVisit(IParseNode node,
int alternativeNumber)
endAlternativeVisit
void endAlternativeVisit(IParseNode node,
int alternativeNumber)
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.