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 voidflush()voidinit(ParserRule startRule)voidwriteHidden(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)voidwriteSemantic(org.eclipse.emf.ecore.EObject grammarElement, java.lang.String value)
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin 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:
writeHiddenin 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:
writeSemanticin interfaceITokenStream- Throws:
java.io.IOException
-
init
public void init(ParserRule startRule)
- Specified by:
initin interfaceITokenStreamExtension- Since:
- 2.0
-
-