Home | History | Annotate | Download | only in Format

Lines Matching refs:FormatToken

1 //===--- FormatToken.h - Format C++ code ------------------------*- C++ -*-===//
11 /// \brief This file contains the declaration of the FormatToken, a wrapper
112 struct FormatToken {
113 FormatToken() {}
261 FormatToken *MatchingParen = nullptr;
264 FormatToken *Previous = nullptr;
267 FormatToken *Next = nullptr;
398 FormatToken *getPreviousNonComment() const {
399 FormatToken *Tok = Previous;
406 const FormatToken *getNextNonComment() const {
407 const FormatToken *Tok = Next;
429 FormatToken(const FormatToken &) = delete;
430 void operator=(const FormatToken &) = delete;
443 virtual void precomputeFormattingInfos(const FormatToken *Token);
466 virtual void CommaFound(const FormatToken *Token) {}
477 void precomputeFormattingInfos(const FormatToken *Token) override;
486 void CommaFound(const FormatToken *Token) override {
512 SmallVector<const FormatToken *, 8> Commas;