clang API Documentation

Public Types | Public Member Functions
clang::TokenRewriter Class Reference

#include <TokenRewriter.h>

List of all members.

Public Types

typedef std::list< Token >
::const_iterator 
token_iterator

Public Member Functions

 TokenRewriter (FileID FID, SourceManager &SM, const LangOptions &LO)
 ~TokenRewriter ()
token_iterator token_begin () const
token_iterator token_end () const
token_iterator AddTokenBefore (token_iterator I, const char *Val)
token_iterator AddTokenAfter (token_iterator I, const char *Val)

Detailed Description

Definition at line 28 of file TokenRewriter.h.


Member Typedef Documentation

typedef std::list<Token>::const_iterator clang::TokenRewriter::token_iterator

Definition at line 54 of file TokenRewriter.h.


Constructor & Destructor Documentation

TokenRewriter::TokenRewriter ( FileID  FID,
SourceManager SM,
const LangOptions LO 
)

Definition at line 49 of file TokenRewriter.cpp.


Member Function Documentation

token_iterator clang::TokenRewriter::AddTokenAfter ( token_iterator  I,
const char *  Val 
) [inline]

Definition at line 60 of file TokenRewriter.h.

References AddTokenBefore(), and token_end().

Definition at line 55 of file TokenRewriter.h.

Definition at line 56 of file TokenRewriter.h.

Referenced by AddTokenAfter().


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