org.eclipse.xtext.formatting.impl
Class MatcherState
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.xtext.grammaranalysis.impl.AbstractNFAState<MatcherState,MatcherTransition>
org.eclipse.xtext.formatting.impl.MatcherState
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, INFAState<MatcherState,MatcherTransition>
public class MatcherState
- extends AbstractNFAState<MatcherState,MatcherTransition>
- Author:
- Moritz Eysholdt - Initial contribution and API
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
Methods inherited from class org.eclipse.xtext.grammaranalysis.impl.AbstractNFAState |
addOutgoing, collectAllOutgoingTransitions, collectOutgoing, collectOutgoingByContainer, collectReferencesToThis, filter, getAllIncoming, getAllOutgoing, getBuilder, getGrammarElement, getIncoming, getIncommingWithoutRuleCalls, getOutgoing, getOutgoingAfterReturn, hasOutgoingRuleCall, isEndState, isStartState, removeDuplicates, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
afterBetweenElements
protected java.util.Set<IElementMatcherProvider.IBetweenElements> afterBetweenElements
afterPatterns
protected java.util.Set<IElementMatcherProvider.IAfterElement> afterPatterns
beforeBetweenElements
protected java.util.Set<IElementMatcherProvider.IBetweenElements> beforeBetweenElements
beforePatterns
protected java.util.Set<IElementMatcherProvider.IBeforeElement> beforePatterns
ruleCallOptional
protected java.lang.Boolean ruleCallOptional
MatcherState
public MatcherState(AbstractElement element,
IGrammarNFAProvider.NFABuilder<MatcherState,MatcherTransition> builder)
collectOutgoingTransitions
public java.util.List<MatcherTransition> collectOutgoingTransitions()
- Since:
- 2.0
getAfterBetweenElements
public java.util.Set<IElementMatcherProvider.IBetweenElements> getAfterBetweenElements()
getAfterPatterns
public java.util.Set<IElementMatcherProvider.IAfterElement> getAfterPatterns()
getBeforeBetweenElements
public java.util.Set<IElementMatcherProvider.IBetweenElements> getBeforeBetweenElements()
getBeforePatterns
public java.util.Set<IElementMatcherProvider.IBeforeElement> getBeforePatterns()
hasTransitions
public boolean hasTransitions()
isOptional
protected boolean isOptional(AbstractElement ele)
isParserRuleCall
public boolean isParserRuleCall()
isParserRuleCallOptional
public boolean isParserRuleCallOptional()