Class CustomDeclarativeFormatter

  • All Implemented Interfaces:
    org.eclipse.xtext.formatting.IFormatter, org.eclipse.xtext.formatting.IFormatterExtension

    public abstract class CustomDeclarativeFormatter
    extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
    Custom formatter
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter

        org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.ConfigStore
    • Field Summary

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

        grammar
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.parsetree.reconstr.ITokenStream createFormatterStream​(org.eclipse.emf.ecore.EObject context, String indent, org.eclipse.xtext.parsetree.reconstr.ITokenStream out, boolean preserveWhitespaces)  
      • Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter

        configureFormatting, createFormatterStream, createFormattingConfig, createMatcher, getConfig, getGrammarAccess, getHiddenTokenHelper, getIndentInfo, getLineSeparatorInfo, getMatcherProvider, saveDebugGraphvizDiagram, setGrammarAccess
      • Methods inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter

        getWSRule
    • Constructor Detail

      • CustomDeclarativeFormatter

        public CustomDeclarativeFormatter()
    • Method Detail

      • createFormatterStream

        public org.eclipse.xtext.parsetree.reconstr.ITokenStream createFormatterStream​(org.eclipse.emf.ecore.EObject context,
                                                                                       String indent,
                                                                                       org.eclipse.xtext.parsetree.reconstr.ITokenStream out,
                                                                                       boolean preserveWhitespaces)
        Specified by:
        createFormatterStream in interface org.eclipse.xtext.formatting.IFormatterExtension
        Overrides:
        createFormatterStream in class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter