clang
7.0.0
|
Determines extra information about the tokens comprising an UnwrappedLine
.
More...
#include "/work/llvm-www-releases/7.0.0/docsbuild/llvm.src/tools/clang/lib/Format/TokenAnnotator.h"
Public Member Functions | |
TokenAnnotator (const FormatStyle &Style, const AdditionalKeywords &Keywords) | |
void | setCommentLineLevels (SmallVectorImpl< AnnotatedLine *> &Lines) |
Adapts the indent levels of comment lines to the indent of the subsequent line. More... | |
void | annotate (AnnotatedLine &Line) |
void | calculateFormattingInformation (AnnotatedLine &Line) |
Determines extra information about the tokens comprising an UnwrappedLine
.
Definition at line 143 of file TokenAnnotator.h.
|
inline |
Definition at line 145 of file TokenAnnotator.h.
void clang::format::TokenAnnotator::annotate | ( | AnnotatedLine & | Line | ) |
Definition at line 1932 of file TokenAnnotator.cpp.
void clang::format::TokenAnnotator::calculateFormattingInformation | ( | AnnotatedLine & | Line | ) |
Definition at line 2069 of file TokenAnnotator.cpp.
void clang::format::TokenAnnotator::setCommentLineLevels | ( | SmallVectorImpl< AnnotatedLine *> & | Lines | ) |
Adapts the indent levels of comment lines to the indent of the subsequent line.
Definition at line 1891 of file TokenAnnotator.cpp.