15 #ifndef LLVM_CLANG_REWRITE_CORE_HTMLREWRITE_H
16 #define LLVM_CLANG_REWRITE_CORE_HTMLREWRITE_H
34 const char *StartTag,
const char *EndTag);
41 const char *StartTag,
const char *EndTag) {
48 const char *BufferStart,
49 const char *StartTag,
const char *EndTag);
54 bool EscapeSpaces =
false,
bool ReplaceTabs =
false);
61 bool EscapeSpaces =
false,
bool ReplaceTabs =
false);
66 const char *title =
nullptr);
SourceLocation getEnd() const
void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP)
void AddLineNumbers(Rewriter &R, FileID FID)
void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP)
void AddHeaderFooterInternalBuiltinCSS(Rewriter &R, FileID FID, const char *title=nullptr)
Encodes a location in the source. The SourceManager can decode this to get at the full include stack...
void EscapeText(Rewriter &R, FileID FID, bool EscapeSpaces=false, bool ReplaceTabs=false)
SourceLocation getBegin() const
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
Defines the clang::SourceLocation class and associated facilities.
A trivial tuple used to represent a source range.
Engages in a tight little dance with the lexer to efficiently preprocess tokens.
void HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E, const char *StartTag, const char *EndTag)