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

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.MatchIdAfterFirst
All Implemented Interfaces:
IMatchMgr

public class MatchIdAfterFirst
extends AbstractMatchMgrAdapter

Author:
luc peuvrier

Field Summary
 
Fields inherited from class net.sf.parser4j.parser.service.match.AbstractMatchMgr
_log
 
Constructor Summary
MatchIdAfterFirst(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

MatchIdAfterFirst

public MatchIdAfterFirst(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.