clang API Documentation

Public Member Functions | Public Attributes
clang::format::AnnotatedLine Class Reference

#include <TokenAnnotator.h>

Collaboration diagram for clang::format::AnnotatedLine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AnnotatedLine (const UnwrappedLine &Line)
 ~AnnotatedLine ()

Public Attributes

FormatTokenFirst
FormatTokenLast
SmallVector< AnnotatedLine *, 0 > Children
LineType Type
unsigned Level
bool InPPDirective
bool MustBeDeclaration
bool MightBeFunctionDecl
bool Affected
bool LeadingEmptyLinesAffected
bool ChildrenAffected
 True if a one of this line's children intersects with an input range.

Detailed Description

Definition at line 38 of file TokenAnnotator.h.


Constructor & Destructor Documentation

Definition at line 73 of file TokenAnnotator.h.

References Children.


Member Data Documentation

True if this line should be formatted, i.e. intersects directly or indirectly with one of the input ranges.

Definition at line 92 of file TokenAnnotator.h.

True if a one of this line's children intersects with an input range.

Definition at line 99 of file TokenAnnotator.h.

True if the leading empty lines of this line intersect with one of the input ranges.

Definition at line 96 of file TokenAnnotator.h.

Definition at line 87 of file TokenAnnotator.h.

Definition at line 84 of file TokenAnnotator.h.

Referenced by clang::format::TokenAnnotator::annotate().


The documentation for this class was generated from the following file: