antlr::TokenStreamRewriteEngine::InsertBeforeOp Class Reference

#include <TokenStreamRewriteEngine.hpp>

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

List of all members.

Public Member Functions

 InsertBeforeOp (size_t index, const std::string &text)
virtual ~InsertBeforeOp ()
virtual size_t execute (std::ostream &out)
virtual const char * type () const

Constructor & Destructor Documentation

antlr::TokenStreamRewriteEngine::InsertBeforeOp::InsertBeforeOp ( size_t  index,
const std::string &  text 
) [inline]
virtual antlr::TokenStreamRewriteEngine::InsertBeforeOp::~InsertBeforeOp (  )  [inline, virtual]

Member Function Documentation

virtual size_t antlr::TokenStreamRewriteEngine::InsertBeforeOp::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::InsertBeforeOp::type (  )  const [inline, virtual]

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