protected class OneWhitespaceFormatter.OneWhitespaceFormatterStream extends BaseTokenStream
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasStarted |
protected boolean |
preserveWS |
protected boolean |
wsWritten |
out| Constructor and Description |
|---|
OneWhitespaceFormatter.OneWhitespaceFormatterStream(ITokenStream out,
boolean preserve) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isComment(org.eclipse.emf.ecore.EObject grammarElement,
String value) |
void |
writeHidden(org.eclipse.emf.ecore.EObject grammarElement,
String value) |
void |
writeSemantic(org.eclipse.emf.ecore.EObject grammarElement,
String value) |
protected void |
writeSpaceIfNecessary() |
flush, initprotected boolean hasStarted
protected boolean preserveWS
protected boolean wsWritten
public OneWhitespaceFormatter.OneWhitespaceFormatterStream(ITokenStream out, boolean preserve)
protected boolean isComment(org.eclipse.emf.ecore.EObject grammarElement,
String value)
public void writeHidden(org.eclipse.emf.ecore.EObject grammarElement,
String value)
throws IOException
writeHidden in interface ITokenStreamwriteHidden in class AbstractTokenStreamIOExceptionpublic void writeSemantic(org.eclipse.emf.ecore.EObject grammarElement,
String value)
throws IOException
writeSemantic in interface ITokenStreamwriteSemantic in class AbstractTokenStreamIOExceptionprotected void writeSpaceIfNecessary()
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.