#include "/work/llvm-www-releases/7.0.0/docsbuild/llvm.src/tools/clang/lib/Format/BreakableToken.h"
Definition at line 291 of file BreakableToken.h.
◆ BreakableComment()
Creates a breakable token for a comment.
StartColumn
specifies the column in which the comment will start after formatting.
Definition at line 245 of file BreakableToken.cpp.
◆ compressWhitespace()
void clang::format::BreakableComment::compressWhitespace |
( |
unsigned |
LineIndex, |
|
|
unsigned |
TailOffset, |
|
|
Split |
Split, |
|
|
WhitespaceManager & |
Whitespaces |
|
) |
| const |
|
override |
◆ getLineCount()
unsigned clang::format::BreakableComment::getLineCount |
( |
| ) |
const |
|
override |
◆ getSplit()
BreakableToken::Split clang::format::BreakableComment::getSplit |
( |
unsigned |
LineIndex, |
|
|
unsigned |
TailOffset, |
|
|
unsigned |
ColumnLimit, |
|
|
unsigned |
ContentStartColumn, |
|
|
llvm::Regex & |
CommentPragmasRegex |
|
) |
| const |
|
override |
◆ mayReflow()
virtual bool clang::format::BreakableComment::mayReflow |
( |
unsigned |
LineIndex, |
|
|
llvm::Regex & |
CommentPragmasRegex |
|
) |
| const |
|
protectedpure virtual |
◆ supportsReflow()
bool clang::format::BreakableComment::supportsReflow |
( |
| ) |
const |
|
inlineoverride |
◆ tokenAt()
const FormatToken & clang::format::BreakableComment::tokenAt |
( |
unsigned |
LineIndex | ) |
const |
|
protected |
◆ Content
SmallVector<StringRef, 16> clang::format::BreakableComment::Content |
|
protected |
Definition at line 329 of file BreakableToken.h.
Referenced by clang::format::BreakableBlockComment::BreakableBlockComment(), clang::format::BreakableLineCommentSection::BreakableLineCommentSection(), clang::format::BreakableBlockComment::getContentIndent(), clang::format::BreakableBlockComment::getRangeLength(), clang::format::BreakableLineCommentSection::getRangeLength(), clang::format::BreakableBlockComment::getReflowSplit(), clang::format::BreakableLineCommentSection::getReflowSplit(), getSplit(), clang::format::BreakableBlockComment::getSplitAfterLastLine(), clang::format::BreakableBlockComment::mayReflow(), and clang::format::BreakableLineCommentSection::mayReflow().
◆ ContentColumn
SmallVector<int, 16> clang::format::BreakableComment::ContentColumn |
|
protected |
◆ Lines
SmallVector<StringRef, 16> clang::format::BreakableComment::Lines |
|
protected |
◆ ReflowPrefix
StringRef clang::format::BreakableComment::ReflowPrefix = " " |
|
protected |
◆ StartColumn
unsigned clang::format::BreakableComment::StartColumn |
|
protected |
◆ Tokens
The documentation for this class was generated from the following files: