org.eclipse.xtext.formatting.impl
Class AbstractDeclarativeFormatter
java.lang.Object
  
org.eclipse.xtext.formatting.impl.AbstractFormatter
      
org.eclipse.xtext.formatting.impl.BaseFormatter
          
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
- All Implemented Interfaces: 
 - IFormatter
 
- Direct Known Subclasses: 
 - CodetemplatesFormatter, PureXbaseFormatter, SimpleAntlrFormatter, SimpleExpressionsFormatter, TemplatesFormatter, XbaseFormatter, XbaseWithAnnotationsFormatter, Xtend2Formatter, XtextFormatter, XtypeFormatter
 
public abstract class AbstractDeclarativeFormatter
- extends BaseFormatter
 
- Author:
 
  - Moritz Eysholdt - Initial contribution and API
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractDeclarativeFormatter
public AbstractDeclarativeFormatter()
configureFormatting
protected abstract void configureFormatting(FormattingConfig config)
 
createFormatterStream
public ITokenStream createFormatterStream(java.lang.String indent,
                                          ITokenStream out,
                                          boolean preserveWhitespaces)
- Specified by:
 createFormatterStream in interface IFormatter- Overrides:
 createFormatterStream in class AbstractFormatter
 
 
createFormattingConfig
protected FormattingConfig createFormattingConfig()
 
createMatcher
protected IElementMatcherProvider.IElementMatcher<AbstractFormattingConfig.ElementPattern> createMatcher()
 
getConfig
protected FormattingConfig getConfig()
 
getGrammarAccess
protected IGrammarAccess getGrammarAccess()
 
getHiddenTokenHelper
protected IHiddenTokenHelper getHiddenTokenHelper()
 
getIndentInfo
protected IIndentationInformation getIndentInfo()
 
getMatcherProvider
protected IElementMatcherProvider getMatcherProvider()
 
saveDebugGraphvizDiagram
protected void saveDebugGraphvizDiagram(java.lang.String filename)
 
setGrammarAccess
@Deprecated
public void setGrammarAccess(IGrammarAccess grammarAccess)
- Deprecated.