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 ElementMatcherProvider.TransitionMatcher for 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

    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QlTransitionMatcher

      public QlTransitionMatcher(org.eclipse.xtext.IGrammarAccess grammar, org.eclipse.xtext.formatting.impl.MatcherNFAProvider nfaProvider, Iterable<T> patterns, String skipRuleName)
      Parameters:
      grammar - actual IGrammarAccess
      nfaProvider - actual MatcherNFAProvider
      patterns - actual patterns
      skipRuleName - 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)