#include <TokenStreamRewriteEngine.hpp>
Public Member Functions | |
ReplaceOp (size_t from, size_t to, ANTLR_USE_NAMESPACE(std) string text) | |
virtual | ~ReplaceOp () |
virtual size_t | execute (ANTLR_USE_NAMESPACE(std) ostream &out) |
virtual const char * | type () const |
Protected Attributes | |
size_t | lastIndex |
Definition at line 158 of file TokenStreamRewriteEngine.hpp.
TokenStreamRewriteEngine::ReplaceOp::ReplaceOp | ( | size_t | from, | |
size_t | to, | |||
ANTLR_USE_NAMESPACE(std) string | text | |||
) | [inline] |
Definition at line 161 of file TokenStreamRewriteEngine.hpp.
virtual TokenStreamRewriteEngine::ReplaceOp::~ReplaceOp | ( | ) | [inline, virtual] |
Definition at line 166 of file TokenStreamRewriteEngine.hpp.
virtual size_t TokenStreamRewriteEngine::ReplaceOp::execute | ( | ANTLR_USE_NAMESPACE(std) ostream & | ) | [inline, virtual] |
Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.
Reimplemented from TokenStreamRewriteEngine::RewriteOperation.
Definition at line 167 of file TokenStreamRewriteEngine.hpp.
virtual const char* TokenStreamRewriteEngine::ReplaceOp::type | ( | ) | const [inline, virtual] |
Reimplemented from TokenStreamRewriteEngine::RewriteOperation.
Reimplemented in TokenStreamRewriteEngine::DeleteOp.
Definition at line 171 of file TokenStreamRewriteEngine.hpp.
size_t TokenStreamRewriteEngine::ReplaceOp::lastIndex [protected] |
Definition at line 175 of file TokenStreamRewriteEngine.hpp.