Package antlr

Class TokenStreamRewriteEngine.RewriteOperation

    • Field Detail

      • index

        protected int index
    • Constructor Detail

      • RewriteOperation

        protected RewriteOperation​(int index,
                                   String text)
    • Method Detail

      • execute

        public int execute​(StringBuffer buf)
        Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.