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
Special
Supports right behavior for common unary expression
ElementMatcherProvider.TransitionMatcher
for Ql. Supports right behavior for common unary expression
-
Constructor Summary
ConstructorsConstructorDescriptionQlTransitionMatcher
(org.eclipse.xtext.IGrammarAccess grammar, org.eclipse.xtext.formatting.impl.MatcherNFAProvider nfaProvider, Iterable<T> patterns, String skipRuleName) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
QlTransitionMatcher
public QlTransitionMatcher(org.eclipse.xtext.IGrammarAccess grammar, org.eclipse.xtext.formatting.impl.MatcherNFAProvider nfaProvider, Iterable<T> patterns, String skipRuleName) - Parameters:
grammar
- actualIGrammarAccess
nfaProvider
- actualMatcherNFAProvider
patterns
- actual patternsskipRuleName
- name of the special rule from Ql grammar which must be skiped
-
-
Method Details
-
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)
-