Lines Matching defs:FormatToken
1 //===--- FormatToken.h - Format C++ code ------------------------*- C++ -*-===//
11 /// \brief This file contains the declaration of the FormatToken, a wrapper
113 struct FormatToken {
114 FormatToken() {}
254 FormatToken *NextOperator = nullptr;
262 FormatToken *MatchingParen = nullptr;
265 FormatToken *Previous = nullptr;
268 FormatToken *Next = nullptr;
413 FormatToken *getPreviousNonComment() const {
414 FormatToken *Tok = Previous;
421 const FormatToken *getNextNonComment() const {
422 const FormatToken *Tok = Next;
444 FormatToken(const FormatToken &) = delete;
445 void operator=(const FormatToken &) = delete;
486 virtual void precomputeFormattingInfos(const FormatToken *Token);
509 virtual void CommaFound(const FormatToken *Token) {}
520 void precomputeFormattingInfos(const FormatToken *Token) override;
529 void CommaFound(const FormatToken *Token) override {
555 SmallVector<const FormatToken *, 8> Commas;