org.eclipse.xtext.formatting.impl
Class FormattingConfig2

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormattingConfig
      extended by org.eclipse.xtext.formatting.impl.FormattingConfig
          extended by org.eclipse.xtext.formatting.impl.FormattingConfig2

public class FormattingConfig2
extends FormattingConfig

Since:
2.3
Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.FormattingConfig
FormattingConfig.IndentationLocatorEnd, FormattingConfig.IndentationLocatorStart, FormattingConfig.LinewrapLocator, FormattingConfig.NoLinewrapLocator, FormattingConfig.NoSpaceLocator, FormattingConfig.SpaceLocator
 
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig
AbstractFormattingConfig.ElementBeforeAfterPattern, AbstractFormattingConfig.ElementBetweenPattern, AbstractFormattingConfig.ElementLocator, AbstractFormattingConfig.ElementPattern, AbstractFormattingConfig.LocatorType
 
Field Summary
protected  ILineSeparatorInformation 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
FormattingConfig2(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo, ILineSeparatorInformation lineSeparatorInfo)
           
 
Method Summary
 ILineSeparatorInformation 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineSeparatorInfo

protected ILineSeparatorInformation lineSeparatorInfo
Constructor Detail

FormattingConfig2

public FormattingConfig2(IGrammarAccess grammarAccess,
                         IHiddenTokenHelper hiddenTokenHelper,
                         IIndentationInformation indentInfo,
                         ILineSeparatorInformation lineSeparatorInfo)
Method Detail

getLineSeparatorInfo

public ILineSeparatorInformation getLineSeparatorInfo()