TokenStreamRewriteEngine::InsertBeforeOp Class Reference

#include <TokenStreamRewriteEngine.hpp>

Inheritance diagram for TokenStreamRewriteEngine::InsertBeforeOp:

Inheritance graph
[legend]
Collaboration diagram for TokenStreamRewriteEngine::InsertBeforeOp:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 140 of file TokenStreamRewriteEngine.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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