antlr::TokenStreamRewriteEngine::ReplaceOp Class Reference

#include <TokenStreamRewriteEngine.hpp>

Inheritance diagram for antlr::TokenStreamRewriteEngine::ReplaceOp:
[legend]
Collaboration diagram for antlr::TokenStreamRewriteEngine::ReplaceOp:
[legend]

List of all members.

Public Member Functions

 ReplaceOp (size_t from, size_t to, std::string text)
virtual ~ReplaceOp ()
virtual size_t execute (std::ostream &out)
virtual const char * type () const

Protected Attributes

size_t lastIndex

Constructor & Destructor Documentation

antlr::TokenStreamRewriteEngine::ReplaceOp::ReplaceOp ( size_t  from,
size_t  to,
std::string  text 
) [inline]
virtual antlr::TokenStreamRewriteEngine::ReplaceOp::~ReplaceOp (  )  [inline, virtual]

Member Function Documentation

virtual size_t antlr::TokenStreamRewriteEngine::ReplaceOp::execute ( 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 antlr::TokenStreamRewriteEngine::RewriteOperation.

virtual const char* antlr::TokenStreamRewriteEngine::ReplaceOp::type (  )  const [inline, virtual]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on 16 Nov 2015 for ANTLR Support Libraries 2.7.1+ by  doxygen 1.6.1