clang  6.0.0svn
Namespaces | Functions
HTMLRewrite.h File Reference
#include "clang/Basic/SourceLocation.h"
#include <string>
Include dependency graph for HTMLRewrite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::html
 

Functions

void clang::html::HighlightRange (Rewriter &R, SourceLocation B, SourceLocation E, const char *StartTag, const char *EndTag)
 HighlightRange - Highlight a range in the source code with the specified start/end tags. More...
 
void clang::html::HighlightRange (Rewriter &R, SourceRange Range, const char *StartTag, const char *EndTag)
 HighlightRange - Highlight a range in the source code with the specified start/end tags. More...
 
void clang::html::HighlightRange (RewriteBuffer &RB, unsigned B, unsigned E, const char *BufferStart, const char *StartTag, const char *EndTag)
 HighlightRange - This is the same as the above method, but takes decomposed file locations. More...
 
void clang::html::EscapeText (Rewriter &R, FileID FID, bool EscapeSpaces=false, bool ReplaceTabs=false)
 EscapeText - HTMLize a specified file so that special characters are are translated so that they are not interpreted as HTML tags. More...
 
std::string clang::html::EscapeText (StringRef s, bool EscapeSpaces=false, bool ReplaceTabs=false)
 EscapeText - HTMLized the provided string so that special characters in 's' are not interpreted as HTML tags. More...
 
void clang::html::AddLineNumbers (Rewriter &R, FileID FID)
 
void clang::html::AddHeaderFooterInternalBuiltinCSS (Rewriter &R, FileID FID, StringRef title)
 
void clang::html::SyntaxHighlight (Rewriter &R, FileID FID, const Preprocessor &PP)
 SyntaxHighlight - Relex the specified FileID and annotate the HTML with information about keywords, comments, etc. More...
 
void clang::html::HighlightMacros (Rewriter &R, FileID FID, const Preprocessor &PP)
 HighlightMacros - This uses the macro table state from the end of the file, to reexpand macros and insert (into the HTML) information about the macro expansions. More...