org.jactr.tools.analysis.production
Class SequenceAnalyzer
java.lang.Object
org.jactr.tools.analysis.production.SequenceAnalyzer
public class SequenceAnalyzer
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceAnalyzer
public SequenceAnalyzer()
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)