static class TokenStreamRewriteEngine.ReplaceOp extends TokenStreamRewriteEngine.RewriteOperation
| Modifier and Type | Field and Description |
|---|---|
protected int |
lastIndex |
index, text| Constructor and Description |
|---|
ReplaceOp(int from,
int to,
java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
int |
execute(java.lang.StringBuffer buf)
Execute the rewrite operation by possibly adding to the buffer.
|
toStringpublic int execute(java.lang.StringBuffer buf)
TokenStreamRewriteEngine.RewriteOperationexecute in class TokenStreamRewriteEngine.RewriteOperation