net.sf.parser4j.generator.service.match
Class MatchRulesCat

java.lang.Object
  extended by net.sf.parser4j.parser.service.match.AbstractMatchMgr
      extended by net.sf.parser4j.parser.service.match.AbstractMatchMgrAdapter
          extended by net.sf.parser4j.generator.service.match.MatchRulesCat
All Implemented Interfaces:
IMatchMgr

public class MatchRulesCat
extends AbstractMatchMgrAdapter

Author:
luc peuvrier

Field Summary
 
Fields inherited from class net.sf.parser4j.parser.service.match.AbstractMatchMgr
_log
 
Constructor Summary
MatchRulesCat(IParseNodeDataAccess parseNodeDataAccess)
           
 
Method Summary
 void reduceAction(IParseSessionForMatchMgr parseSession, IParseNode fatherParseNode, IParseNode[] parseNodes, int[] notWhiteIndexes)
          do the reduction action
 
Methods inherited from class net.sf.parser4j.parser.service.match.AbstractMatchMgrAdapter
confirmReduction, immediateReduction, needsToConfirmReduction
 
Methods inherited from class net.sf.parser4j.parser.service.match.AbstractMatchMgr
getDataByAlternative, getUniqData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRulesCat

public MatchRulesCat(IParseNodeDataAccess parseNodeDataAccess)
Method Detail

reduceAction

public void reduceAction(IParseSessionForMatchMgr parseSession,
                         IParseNode fatherParseNode,
                         IParseNode[] parseNodes,
                         int[] notWhiteIndexes)
                  throws ParserException
Description copied from interface: IMatchMgr
do the reduction action

Parameters:
parseSession - share with all match manager
fatherParseNode - the father parse node, reduction parse node result
parseNodes - the sons parse node
notWhiteIndexes - indexes of not white space parse node, can be empty if all parses nodes are whitespace
Throws:
ParserException


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.