clang: clang::TokenRole Class Reference (original) (raw)
#include "[/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/FormatToken.h](FormatToken%5F8h%5Fsource.html)"
| Protected Attributes |
|
| const FormatStyle & |
Style |
Definition at line 945 of file FormatToken.h.
| clang::TokenRole::TokenRole ( const FormatStyle & Style) |
inline |
◆ ~TokenRole()
| clang::format::TokenRole::~TokenRole ( ) |
virtual |
◆ CommaFound()
| virtual void clang::TokenRole::CommaFound ( const FormatToken * Token) |
inlinevirtual |
| virtual unsigned clang::TokenRole::formatAfterToken ( LineState & State, ContinuationIndenter * Indenter, bool DryRun ) |
inlinevirtual |
Same as formatFromToken, but assumes that the first token has already been set thereby deciding on the first line break.
Reimplemented in clang::CommaSeparatedList.
Definition at line 968 of file FormatToken.h.
| virtual unsigned clang::TokenRole::formatFromToken ( LineState & State, ContinuationIndenter * Indenter, bool DryRun ) |
inlinevirtual |
◆ lastComma()
| virtual const FormatToken * clang::TokenRole::lastComma ( ) |
inlinevirtual |
| void clang::format::TokenRole::precomputeFormattingInfos ( const FormatToken * Token) |
virtual |
◆ Style
| const FormatStyle& clang::TokenRole::Style |
protected |
The documentation for this class was generated from the following files: