#include <TokenStreamRewriteEngine.hpp>
Public Member Functions | |
InsertBeforeOp (size_t index, const ANTLR_USE_NAMESPACE(std) string &text) | |
virtual | ~InsertBeforeOp () |
virtual size_t | execute (ANTLR_USE_NAMESPACE(std) ostream &out) |
virtual const char * | type () const |
Definition at line 140 of file TokenStreamRewriteEngine.hpp.
TokenStreamRewriteEngine::InsertBeforeOp::InsertBeforeOp | ( | size_t | index, | |
const ANTLR_USE_NAMESPACE(std) string & | text | |||
) | [inline] |
Definition at line 143 of file TokenStreamRewriteEngine.hpp.
virtual TokenStreamRewriteEngine::InsertBeforeOp::~InsertBeforeOp | ( | ) | [inline, virtual] |
Definition at line 147 of file TokenStreamRewriteEngine.hpp.
virtual size_t TokenStreamRewriteEngine::InsertBeforeOp::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 148 of file TokenStreamRewriteEngine.hpp.
virtual const char* TokenStreamRewriteEngine::InsertBeforeOp::type | ( | ) | const [inline, virtual] |
Reimplemented from TokenStreamRewriteEngine::RewriteOperation.
Definition at line 153 of file TokenStreamRewriteEngine.hpp.