Class AbstractTokenStream
- java.lang.Object
-
- org.eclipse.xtext.formatting.impl.AbstractTokenStream
-
- All Implemented Interfaces:
ITokenStream
,ITokenStreamExtension
- Direct Known Subclasses:
BaseTokenStream
,TokenStringBuffer
,WriterTokenStream
public abstract class AbstractTokenStream extends java.lang.Object implements ITokenStreamExtension
-
-
Constructor Summary
Constructors Constructor Description AbstractTokenStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
void
init(ParserRule startRule)
void
writeHidden(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)
void
writeSemantic(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfaceITokenStream
- 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
- 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
- Throws:
java.io.IOException
-
init
public void init(ParserRule startRule)
- Specified by:
init
in interfaceITokenStreamExtension
- Since:
- 2.0
-
-