clang API Documentation
#include <UnwrappedLineParser.h>
Public Member Functions | |
UnwrappedLineParser (const FormatStyle &Style, const AdditionalKeywords &Keywords, ArrayRef< FormatToken * > Tokens, UnwrappedLineConsumer &Callback) | |
bool | parse () |
Returns true in case of a structural error. | |
Friends | |
class | ScopedLineState |
class | CompoundStatementIndenter |
Definition at line 61 of file UnwrappedLineParser.h.
clang::format::UnwrappedLineParser::UnwrappedLineParser | ( | const FormatStyle & | Style, |
const AdditionalKeywords & | Keywords, | ||
ArrayRef< FormatToken * > | Tokens, | ||
UnwrappedLineConsumer & | Callback | ||
) |
Definition at line 204 of file UnwrappedLineParser.cpp.
Returns true in case of a structural error.
Definition at line 226 of file UnwrappedLineParser.cpp.
References clang::format::UnwrappedLineConsumer::consumeUnwrappedLine(), clang::format::UnwrappedLineConsumer::finishRun(), and TokenSource.
friend class CompoundStatementIndenter [friend] |
Definition at line 206 of file UnwrappedLineParser.h.
friend class ScopedLineState [friend] |
Definition at line 205 of file UnwrappedLineParser.h.