Package com._1c.g5.v8.dt.ql.formatting
Class QlElementMatcherProvider.QlTransitionMatcher<T extends org.eclipse.xtext.formatting.IElementMatcherProvider.IElementPattern>
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.formatting.QlElementMatcherProvider.QlTransitionMatcher<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
org.eclipse.xtext.formatting.IElementMatcherProvider.IElementMatcher<T>,org.eclipse.xtext.formatting.IElementMatcherProvider.IElementMatcherExtension<T>
- Enclosing class:
- QlElementMatcherProvider
protected static class QlElementMatcherProvider.QlTransitionMatcher<T extends org.eclipse.xtext.formatting.IElementMatcherProvider.IElementPattern> extends Object
SpecialElementMatcherProvider.TransitionMatcherfor Ql.
Supports right behavior for common unary expression
-
-
Constructor Summary
Constructors Constructor Description QlTransitionMatcher(org.eclipse.xtext.IGrammarAccess grammar, org.eclipse.xtext.formatting.impl.MatcherNFAProvider nfaProvider, Iterable<T> patterns, String skipRuleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.util.Pair<List<org.eclipse.xtext.formatting.impl.MatcherTransition>,List<org.eclipse.xtext.formatting.impl.MatcherState>>findTransitionPath(org.eclipse.xtext.formatting.impl.MatcherState from, org.eclipse.xtext.AbstractElement to, boolean returning, boolean canReturn, Set<org.eclipse.xtext.util.Pair<Boolean,org.eclipse.xtext.formatting.impl.MatcherState>> visited)
-
-
-
Constructor Detail
-
QlTransitionMatcher
public QlTransitionMatcher(org.eclipse.xtext.IGrammarAccess grammar, org.eclipse.xtext.formatting.impl.MatcherNFAProvider nfaProvider, Iterable<T> patterns, String skipRuleName)- Parameters:
grammar- actualIGrammarAccessnfaProvider- actualMatcherNFAProviderpatterns- actual patternsskipRuleName- name of the special rule from Ql grammar which must be skiped
-
-
Method Detail
-
findTransitionPath
protected org.eclipse.xtext.util.Pair<List<org.eclipse.xtext.formatting.impl.MatcherTransition>,List<org.eclipse.xtext.formatting.impl.MatcherState>> findTransitionPath(org.eclipse.xtext.formatting.impl.MatcherState from, org.eclipse.xtext.AbstractElement to, boolean returning, boolean canReturn, Set<org.eclipse.xtext.util.Pair<Boolean,org.eclipse.xtext.formatting.impl.MatcherState>> visited)
-
-