Package org.antlr.runtime
Class TokenRewriteStream.InsertBeforeOp
java.lang.Object
org.antlr.runtime.TokenRewriteStream.RewriteOperation
org.antlr.runtime.TokenRewriteStream.InsertBeforeOp
- Enclosing class:
TokenRewriteStream
-
Field Summary
Fields inherited from class org.antlr.runtime.TokenRewriteStream.RewriteOperation
index, instructionIndex, text
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(StringBuffer buf) Execute the rewrite operation by possibly adding to the buffer.Methods inherited from class org.antlr.runtime.TokenRewriteStream.RewriteOperation
toString
-
Constructor Details
-
InsertBeforeOp
-
-
Method Details
-
execute
Description copied from class:TokenRewriteStream.RewriteOperation
Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.- Overrides:
execute
in classTokenRewriteStream.RewriteOperation
-