org.jactr.tools.analysis.production.endstates
Class BufferEndStates
java.lang.Object
org.jactr.tools.analysis.production.endstates.BufferEndStates
public class BufferEndStates
- extends java.lang.Object
|
Constructor Summary |
BufferEndStates(org.antlr.runtime.tree.CommonTree production)
|
|
Method Summary |
void |
addEndState(BufferEndState endState)
|
java.util.Map<java.lang.String,java.util.Collection<BufferEndState>> |
getEndStates()
|
java.util.Map<java.lang.String,org.antlr.runtime.tree.CommonTree> |
getMapOfTrees(int type)
return the map of asts for all the default conditions (query & match) and
actions (add, remove, modify) so that they need not be calculated every time
by every buffer state computer |
org.antlr.runtime.tree.CommonTree |
getProduction()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferEndStates
public BufferEndStates(org.antlr.runtime.tree.CommonTree production)
getProduction
public org.antlr.runtime.tree.CommonTree getProduction()
addEndState
public void addEndState(BufferEndState endState)
getEndStates
public java.util.Map<java.lang.String,java.util.Collection<BufferEndState>> getEndStates()
getMapOfTrees
public java.util.Map<java.lang.String,org.antlr.runtime.tree.CommonTree> getMapOfTrees(int type)
- return the map of asts for all the default conditions (query & match) and
actions (add, remove, modify) so that they need not be calculated every time
by every buffer state computer
- Parameters:
type -
- Returns: