public class TokenStreamRewriter.RewriteOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
index
Token buffer index.
|
protected int |
instructionIndex
What index into rewrites List are we?
|
protected Object |
text |
Modifier | Constructor and Description |
---|---|
protected |
TokenStreamRewriter.RewriteOperation(int index) |
protected |
TokenStreamRewriter.RewriteOperation(int index,
Object text) |
Modifier and Type | Method and Description |
---|---|
int |
execute(StringBuilder buf)
Execute the rewrite operation by possibly adding to the buffer.
|
String |
toString() |
protected int instructionIndex
protected int index
protected Object text
protected TokenStreamRewriter.RewriteOperation(int index)
protected TokenStreamRewriter.RewriteOperation(int index, Object text)
public int execute(StringBuilder buf)
Copyright © 1992–2014 ANTLR. All rights reserved.