clang API Documentation

Public Member Functions
clang::edit::EditsReceiver Class Reference

#include <EditsReceiver.h>

List of all members.

Public Member Functions

virtual ~EditsReceiver ()
virtual void insert (SourceLocation loc, StringRef text)=0
virtual void replace (CharSourceRange range, StringRef text)=0
virtual void remove (CharSourceRange range)
 By default it calls replace with an empty string.

Detailed Description

Definition at line 21 of file EditsReceiver.h.


Constructor & Destructor Documentation

virtual clang::edit::EditsReceiver::~EditsReceiver ( ) [inline, virtual]

Definition at line 23 of file EditsReceiver.h.


Member Function Documentation

virtual void clang::edit::EditsReceiver::insert ( SourceLocation  loc,
StringRef  text 
) [pure virtual]

Referenced by applyRewrite().

void EditsReceiver::remove ( CharSourceRange  range) [virtual]

By default it calls replace with an empty string.

Definition at line 22 of file EditedSource.cpp.

References replace().

Referenced by applyRewrite().

virtual void clang::edit::EditsReceiver::replace ( CharSourceRange  range,
StringRef  text 
) [pure virtual]

Referenced by applyRewrite(), and remove().


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