Class TraceAwarePostProcessor

  • All Implemented Interfaces:
    org.eclipse.xtext.generator.IFilePostProcessor

    public class TraceAwarePostProcessor
    extends org.eclipse.xtext.generator.LineSeparatorHarmonizer
    Specializes the LineSeparatorHarmonizer and is aware of TreeAppendable thus it can harmonize the line breaks and still maintain the trace information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence postProcess​(org.eclipse.emf.common.util.URI fileURI, java.lang.CharSequence content)  
      • Methods inherited from class org.eclipse.xtext.generator.LineSeparatorHarmonizer

        getWhitespaceInformationProvider, replaceLineSeparators
      • Methods inherited from class java.lang.Object

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

      • TraceAwarePostProcessor

        public TraceAwarePostProcessor()
    • Method Detail

      • postProcess

        public java.lang.CharSequence postProcess​(org.eclipse.emf.common.util.URI fileURI,
                                                  java.lang.CharSequence content)
        Specified by:
        postProcess in interface org.eclipse.xtext.generator.IFilePostProcessor
        Overrides:
        postProcess in class org.eclipse.xtext.generator.LineSeparatorHarmonizer