TokenStreamRewriteEngine::ReplaceOp Class Reference

#include <TokenStreamRewriteEngine.hpp>

Inheritance diagram for TokenStreamRewriteEngine::ReplaceOp:

Inheritance graph
Collaboration diagram for TokenStreamRewriteEngine::ReplaceOp:

Collaboration graph

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

Detailed Description

Definition at line 158 of file TokenStreamRewriteEngine.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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]

Field Documentation

Definition at line 175 of file TokenStreamRewriteEngine.hpp.

The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6