net.sf.parser4j.parser.service
Interface IMatchMgrInvoker
- All Known Implementing Classes:
- MatchMgrInvoker
public interface IMatchMgrInvoker
- Author:
- luc peuvrier
setPreserveParseNode
void setPreserveParseNode(boolean preserveParseNode)
isPreserveParseNode
boolean isPreserveParseNode()
computeParseNodeData
void computeParseNodeData(IParseSessionForMatchMgr parseSession,
IParseState parseState)
throws ParserException
- Throws:
ParserException
checkDataComputed
void checkDataComputed(IParseSessionForMatchMgr parseSession,
IParseNode parseNode)
throws ParserException
- Throws:
ParserException
immediateReduction
boolean immediateReduction(int nonterminalIdentifier)
- Parameters:
nonterminalIdentifier
-
- Returns:
- true if must do immediate reduction
confirmReduction
boolean confirmReduction(int matchedNonterminalIdentifier,
IParseNode[] parseNodes,
int[] notWhiteIndexes,
ParseSession parseSession)
throws ParserException
- Parameters:
matchedNonterminalIdentifier
- parseNodes
- notWhiteIndexes
- parseSession
-
- Returns:
- true if reduction confirmed
- Throws:
ParserException
reduceAction
void reduceAction(int matchedNonterminalIdentifier,
IParseNode fatherParseNode,
IParseNode[] parseNodes,
int[] notWhiteIndexes,
ParseSession parseSession)
throws ParserException
- Throws:
ParserException
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.