public class TreeConstState extends AbstractNFAState<TreeConstState,TreeConstTransition>
AbstractNFAState.IsInitializedMarker| Modifier and Type | Field and Description |
|---|---|
protected Map<TreeConstState,Integer> |
distances |
protected List<TreeConstTransition> |
enabledOutgoing |
protected List<TreeConstTransition> |
enabledOutgoingAfterReturn |
protected Map<TreeConstState,Integer> |
endDistances |
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status |
status |
protected Set<TypeRef> |
types |
protected boolean |
typesDirty |
allIncoming, builder, element, endState, outgoing, outgoingRuleCalls| Constructor and Description |
|---|
TreeConstState(AbstractElement element,
IGrammarNFAProvider.NFABuilder<TreeConstState,TreeConstTransition> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateDistances(TreeConstState root,
int dist) |
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status |
checkForAmbigiousPaths(Set<TreeConstState> visited) |
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status |
checkForDetoursAndLoops(Set<TreeConstState> visited) |
protected void |
consume(Map<TreeConstState,Integer> dist) |
protected void |
discardMisleadingDistances(Set<TreeConstState> visited) |
List<TreeConstTransition> |
getEnabledOutgoing() |
List<TreeConstTransition> |
getEnabledOutgoingAfterReturn() |
protected Map<TreeConstState,Integer> |
getEndDistances() |
org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status |
getStatus() |
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status |
getStatusInternal() |
Set<TypeRef> |
getTypes() |
Collection<TypeRef> |
getTypesToCheck() |
protected void |
initStatus() |
protected void |
initTypes(Map<TreeConstState,List<TreeConstState>> map,
Set<TreeConstState> endStates) |
protected boolean |
isConsumingElement() |
boolean |
isDisabled() |
protected boolean |
isTransitionEnabledTo(Map<TreeConstState,Integer> dist) |
protected void |
populateTypes(Map<TreeConstState,List<TreeConstState>> map) |
protected List<TypeRef> |
sortTypes(Collection<TypeRef> types) |
String |
toString() |
addOutgoing, collectAllOutgoingTransitions, collectOutgoing, collectOutgoingByContainer, collectReferencesToThis, filter, getAllIncoming, getAllOutgoing, getBuilder, getGrammarElement, getIncoming, getIncommingWithoutRuleCalls, getOutgoing, getOutgoingAfterReturn, hasOutgoingRuleCall, isEndState, isStartState, removeDuplicatesprotected Map<TreeConstState,Integer> distances
protected List<TreeConstTransition> enabledOutgoing
protected List<TreeConstTransition> enabledOutgoingAfterReturn
protected Map<TreeConstState,Integer> endDistances
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status status
protected boolean typesDirty
public TreeConstState(AbstractElement element, IGrammarNFAProvider.NFABuilder<TreeConstState,TreeConstTransition> builder)
protected void calculateDistances(TreeConstState root, int dist)
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status checkForAmbigiousPaths(Set<TreeConstState> visited)
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status checkForDetoursAndLoops(Set<TreeConstState> visited)
protected void consume(Map<TreeConstState,Integer> dist)
protected void discardMisleadingDistances(Set<TreeConstState> visited)
public List<TreeConstTransition> getEnabledOutgoing()
public List<TreeConstTransition> getEnabledOutgoingAfterReturn()
protected Map<TreeConstState,Integer> getEndDistances()
protected org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status getStatusInternal()
public org.eclipse.xtext.parsetree.reconstr.impl.TreeConstState.Status getStatus()
public Collection<TypeRef> getTypesToCheck()
protected void initStatus()
protected void initTypes(Map<TreeConstState,List<TreeConstState>> map, Set<TreeConstState> endStates)
protected boolean isConsumingElement()
public boolean isDisabled()
protected boolean isTransitionEnabledTo(Map<TreeConstState,Integer> dist)
protected void populateTypes(Map<TreeConstState,List<TreeConstState>> map)
protected List<TypeRef> sortTypes(Collection<TypeRef> types)
public String toString()
toString in class AbstractNFAState<TreeConstState,TreeConstTransition>Copyright © 2015. All Rights Reserved.