Package de.gebit.integrity.formatting
Class DSLFormatter.TableTestFormatterTokenStream
java.lang.Object
de.gebit.integrity.formatting.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 Summary
ConstructorsConstructorDescriptionTableTestFormatterTokenStream(org.eclipse.xtext.parsetree.reconstr.ITokenStream anOut) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()voidwriteHidden(org.eclipse.emf.ecore.EObject aGrammarElement, String aValue) voidwriteSemantic(org.eclipse.emf.ecore.EObject aGrammarElement, String aValue)
-
Constructor Details
-
TableTestFormatterTokenStream
public TableTestFormatterTokenStream(org.eclipse.xtext.parsetree.reconstr.ITokenStream anOut) Creates a new instance.- Parameters:
anOut- the target stream
-
-
Method Details
-
flush
- Specified by:
flushin interfaceorg.eclipse.xtext.parsetree.reconstr.ITokenStream- Throws:
IOException
-
writeHidden
public void writeHidden(org.eclipse.emf.ecore.EObject aGrammarElement, String aValue) throws IOException - Specified by:
writeHiddenin interfaceorg.eclipse.xtext.parsetree.reconstr.ITokenStream- Throws:
IOException
-
writeSemantic
public void writeSemantic(org.eclipse.emf.ecore.EObject aGrammarElement, String aValue) throws IOException - Specified by:
writeSemanticin interfaceorg.eclipse.xtext.parsetree.reconstr.ITokenStream- Throws:
IOException
-