clang API Documentation
#include <EditsReceiver.h>
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. |
Definition at line 21 of file EditsReceiver.h.
virtual clang::edit::EditsReceiver::~EditsReceiver | ( | ) | [inline, virtual] |
Definition at line 23 of file EditsReceiver.h.
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().