org.jactr.tools.analysis.production
Class SequenceAnalyzer

java.lang.Object
  extended by org.jactr.tools.analysis.production.SequenceAnalyzer

public class SequenceAnalyzer
extends java.lang.Object


Constructor Summary
SequenceAnalyzer()
           
 
Method Summary
 void add(IBufferEndStateComputer computer)
           
 void add(IRelationshipComputer computer)
           
 void addChunkType(org.antlr.runtime.tree.CommonTree chunkType)
          we track all the chunktypes and their children so that we can check chunktype conditions
 void addProduction(org.antlr.runtime.tree.CommonTree production)
           
 java.util.Map<org.antlr.runtime.tree.CommonTree,ProductionRelationships> getAllRelationships()
           
 java.util.Collection<org.antlr.runtime.tree.CommonTree> getChunkTypeSlots(java.lang.String chunkTypeName)
           
 ProductionRelationships getRelationships(org.antlr.runtime.tree.CommonTree production)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceAnalyzer

public SequenceAnalyzer()
Method Detail

reset

public void reset()

add

public void add(IBufferEndStateComputer computer)

add

public void add(IRelationshipComputer computer)

getRelationships

public ProductionRelationships getRelationships(org.antlr.runtime.tree.CommonTree production)

getAllRelationships

public java.util.Map<org.antlr.runtime.tree.CommonTree,ProductionRelationships> getAllRelationships()

addChunkType

public void addChunkType(org.antlr.runtime.tree.CommonTree chunkType)
we track all the chunktypes and their children so that we can check chunktype conditions

Parameters:
chunkType -

addProduction

public void addProduction(org.antlr.runtime.tree.CommonTree production)

getChunkTypeSlots

public java.util.Collection<org.antlr.runtime.tree.CommonTree> getChunkTypeSlots(java.lang.String chunkTypeName)