Class FormattingConfigBasedStream.LineEntry

    • Field Detail

      • grammarElement

        protected org.eclipse.emf.ecore.EObject grammarElement
      • hiddenTokenDefinition

        protected ParserRule hiddenTokenDefinition
      • indent

        protected int indent
      • isHidden

        protected boolean isHidden
      • leadingWS

        protected java.lang.String leadingWS
      • value

        protected java.lang.String value
    • Constructor Detail

      • LineEntry

        public LineEntry​(org.eclipse.emf.ecore.EObject grammarElement,
                         java.lang.String value,
                         boolean isHidden,
                         java.util.Set<AbstractFormattingConfig.ElementLocator> beforeLocators,
                         java.lang.String leadingWS,
                         int indent,
                         ParserRule hiddenTokenDefition)
    • Method Detail

      • countCharactersInLastLine

        protected int countCharactersInLastLine()
      • countExistingLeadingNewlines

        protected int countExistingLeadingNewlines()
      • isBreak

        protected boolean isBreak()
      • isBreakable

        protected boolean isBreakable()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object