Class QlFormattingConfig


  • public class QlFormattingConfig
    extends org.eclipse.xtext.formatting.impl.FormattingConfig2
    Custom FormattingConfig for Ql language
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  QlFormattingConfig.IndentationLocatorSkipAll
      Special implementation of AbstractFormattingConfig.ElementLocator for skipping all indentation
      • Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig

        org.eclipse.xtext.formatting.impl.FormattingConfig.IndentationLocatorEnd, org.eclipse.xtext.formatting.impl.FormattingConfig.IndentationLocatorStart, org.eclipse.xtext.formatting.impl.FormattingConfig.LinewrapLocator, org.eclipse.xtext.formatting.impl.FormattingConfig.NoLinewrapLocator, org.eclipse.xtext.formatting.impl.FormattingConfig.NoSpaceLocator, org.eclipse.xtext.formatting.impl.FormattingConfig.SpaceLocator
      • Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig

        org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementBeforeAfterPattern, org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementBetweenPattern, org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementLocator, org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementPattern, org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.LocatorType
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig2

        lineSeparatorInfo
      • Fields inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig

        charsPerLine, indentInfo, whitespaceRule, wrappedLineIndentation
      • Fields inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig

        grammarAccess, hiddenTokenHelper, locatorsCommentAfter, locatorsCommentBefore, locatorsSemantic
    • Constructor Summary

      Constructors 
      Constructor Description
      QlFormattingConfig​(org.eclipse.xtext.IGrammarAccess grammarAccess, org.eclipse.xtext.parsetree.reconstr.IHiddenTokenHelper hiddenTokenHelper, org.eclipse.xtext.formatting.IIndentationInformation indentInfo, org.eclipse.xtext.formatting.ILineSeparatorInformation lineSeparatorInfo)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QlFormattingConfig.IndentationLocatorSkipAll skipAllIndentation()
      Skips all indentation
      • Methods inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig2

        getLineSeparatorInfo
      • Methods inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig

        getCharsPerLine, getIndentationSpace, getWhitespaceRule, getWrappedLineIndentation, setAutoLinewrap, setIndentation, setIndentationDecrement, setIndentationIncrement, setLinewrap, setLinewrap, setLinewrap, setNoLinewrap, setNoSpace, setSpace, setWhitespaceRule, setWrappedLineIndentation
      • Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig

        addLocator, addLocatorComment, addLocatorSemantic, addLocatorSemantic, getAbstractElements, getLocatorsForCommentTokensAfter, getLocatorsForCommentTokensBefore, getLocatorsForSemanticTokens
    • Constructor Detail

      • QlFormattingConfig

        public QlFormattingConfig​(org.eclipse.xtext.IGrammarAccess grammarAccess,
                                  org.eclipse.xtext.parsetree.reconstr.IHiddenTokenHelper hiddenTokenHelper,
                                  org.eclipse.xtext.formatting.IIndentationInformation indentInfo,
                                  org.eclipse.xtext.formatting.ILineSeparatorInformation lineSeparatorInfo)
        Constructor
        Parameters:
        grammarAccess - actual IGrammarAccess
        hiddenTokenHelper - actual IHiddenTokenHelper
        indentInfo - actual IIndentationInformation
        lineSeparatorInfo - actual ILineSeparatorInformation