clang API Documentation
An unwrapped line is a sequence of Token, that we would like to put on a single line if there was no column limit.
More...
#include <UnwrappedLineParser.h>

Public Member Functions | |
| UnwrappedLine () | |
Public Attributes | |
| std::list< UnwrappedLineNode > | Tokens |
The Tokens comprising this UnwrappedLine. | |
| unsigned | Level |
The indent level of the UnwrappedLine. | |
| bool | InPPDirective |
Whether this UnwrappedLine is part of a preprocessor directive. | |
| bool | MustBeDeclaration |
An unwrapped line is a sequence of Token, that we would like to put on a single line if there was no column limit.
This is used as a main interface between the UnwrappedLineParser and the UnwrappedLineFormatter. The key property is that changing the formatting within an unwrapped line does not affect any other unwrapped lines.
Definition at line 36 of file UnwrappedLineParser.h.
| clang::format::UnwrappedLine::UnwrappedLine | ( | ) | [inline] |
Definition at line 217 of file UnwrappedLineParser.h.
Whether this UnwrappedLine is part of a preprocessor directive.
Definition at line 47 of file UnwrappedLineParser.h.
Referenced by clang::format::printDebugInfo().
The indent level of the UnwrappedLine.
Definition at line 44 of file UnwrappedLineParser.h.
Referenced by clang::format::printDebugInfo().
Definition at line 49 of file UnwrappedLineParser.h.
The Tokens comprising this UnwrappedLine.
Definition at line 41 of file UnwrappedLineParser.h.
Referenced by clang::format::AnnotatedLine::AnnotatedLine(), clang::format::IsGoogScope(), and clang::format::printDebugInfo().