protected class AbstractParseTreeConstructor.WsMergerStream extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ICompositeNode |
lastCompositeNode |
protected int |
lastIndex |
protected HiddenAndTokenNodeIterator |
nodeIterator |
protected ITokenStream |
out |
| Constructor and Description |
|---|
AbstractParseTreeConstructor.WsMergerStream(ITokenStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
init(ParserRule parseRule) |
void |
writeComment(ILeafNode comment) |
void |
writeSemantic(AbstractElement grammarElement,
String value,
INode node) |
protected void |
writeWhitespacesSince(INode node) |
protected ICompositeNode lastCompositeNode
protected int lastIndex
protected ITokenStream out
@Inject protected HiddenAndTokenNodeIterator nodeIterator
public AbstractParseTreeConstructor.WsMergerStream(ITokenStream out)
public void flush()
throws IOException
IOExceptionpublic void writeComment(ILeafNode comment) throws IOException
IOExceptionpublic void writeSemantic(AbstractElement grammarElement, String value, INode node) throws IOException
IOExceptionpublic void init(ParserRule parseRule)
protected void writeWhitespacesSince(INode node) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.