Class DSLFormatter.TableTestFormatterTokenStream

  • All Implemented Interfaces:
    org.eclipse.xtext.parsetree.reconstr.ITokenStream
    Enclosing class:
    DSLFormatter

    public class DSLFormatter.TableTestFormatterTokenStream
    extends Object
    implements org.eclipse.xtext.parsetree.reconstr.ITokenStream
    This token stream is basically a filter that sits between the streams, catches tables and formats them before they're forwarded.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • TableTestFormatterTokenStream

        public TableTestFormatterTokenStream​(org.eclipse.xtext.parsetree.reconstr.ITokenStream anOut)
        Creates a new instance.
        Parameters:
        anOut - the target stream
    • Method Detail

      • flush

        public void flush()
                   throws IOException
        Specified by:
        flush in interface org.eclipse.xtext.parsetree.reconstr.ITokenStream
        Throws:
        IOException
      • writeHidden

        public void writeHidden​(org.eclipse.emf.ecore.EObject aGrammarElement,
                                String aValue)
                         throws IOException
        Specified by:
        writeHidden in interface org.eclipse.xtext.parsetree.reconstr.ITokenStream
        Throws:
        IOException
      • writeSemantic

        public void writeSemantic​(org.eclipse.emf.ecore.EObject aGrammarElement,
                                  String aValue)
                           throws IOException
        Specified by:
        writeSemantic in interface org.eclipse.xtext.parsetree.reconstr.ITokenStream
        Throws:
        IOException