org.eclipse.xtext.formatting.impl
Class MatcherTransition
java.lang.Object
org.eclipse.xtext.grammaranalysis.impl.AbstractNFATransition<MatcherState,MatcherTransition>
org.eclipse.xtext.formatting.impl.MatcherTransition
- All Implemented Interfaces:
- INFATransition<MatcherState,MatcherTransition>
public class MatcherTransition
- extends AbstractNFATransition<MatcherState,MatcherTransition>
- Author:
- Moritz Eysholdt - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
commonPatterns
protected java.util.Set<IElementMatcherProvider.IElementPattern> commonPatterns
guardedPatterns
protected java.util.Map<MatcherState,java.util.Set<IElementMatcherProvider.IElementPattern>> guardedPatterns
MatcherTransition
public MatcherTransition(MatcherState source,
MatcherState target,
boolean ruleCall,
AbstractElement loopCenter)
addPattern
public void addPattern(IElementMatcherProvider.IElementPattern pattern)
addPattern
public void addPattern(MatcherState guard,
IElementMatcherProvider.IElementPattern pattern)
getCommonPatterns
public java.util.Set<IElementMatcherProvider.IElementPattern> getCommonPatterns()
getGuardPatterns
public java.util.Map<MatcherState,java.util.Set<IElementMatcherProvider.IElementPattern>> getGuardPatterns()
getPatterns
public java.util.List<IElementMatcherProvider.IElementPattern> getPatterns(java.util.Collection<MatcherState> from)