Class WriterTokenStream
- java.lang.Object
-
- org.eclipse.xtext.formatting.impl.AbstractTokenStream
-
- org.eclipse.xtext.parsetree.reconstr.impl.WriterTokenStream
-
- All Implemented Interfaces:
ITokenStream
,ITokenStreamExtension
public class WriterTokenStream extends AbstractTokenStream
-
-
Constructor Summary
Constructors Constructor Description WriterTokenStream(java.io.Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
void
writeHidden(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)
void
writeSemantic(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)
-
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractTokenStream
init
-
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfaceITokenStream
- Overrides:
flush
in classAbstractTokenStream
- Throws:
java.io.IOException
-
writeHidden
public void writeHidden(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value) throws java.io.IOException
- Specified by:
writeHidden
in interfaceITokenStream
- Overrides:
writeHidden
in classAbstractTokenStream
- Throws:
java.io.IOException
-
writeSemantic
public void writeSemantic(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value) throws java.io.IOException
- Specified by:
writeSemantic
in interfaceITokenStream
- Overrides:
writeSemantic
in classAbstractTokenStream
- Throws:
java.io.IOException
-
-