Lines Matching refs:FormatToken
156 struct FormatToken;
195 llvm::SmallVector<FormatToken *, 1> ExpandedFrom;
210 struct FormatToken { struct
211 FormatToken() in FormatToken() function
424 FormatToken *NextOperator = nullptr; argument
427 FormatToken *MatchingParen = nullptr; argument
430 FormatToken *Previous = nullptr; argument
433 FormatToken *Next = nullptr; argument
631 FormatToken *getPreviousNonComment() const { in getPreviousNonComment() argument
632 FormatToken *Tok = Previous; in getPreviousNonComment()
639 const FormatToken *getNextNonComment() const { in getNextNonComment() argument
640 const FormatToken *Tok = Next; in getNextNonComment()
667 const FormatToken *T = this; in isCppStructuredBinding() argument
684 const FormatToken *getNamespaceToken() const { in getNamespaceToken() argument
685 const FormatToken *NamespaceTok = this; in getNamespaceToken()
697 void copyFrom(const FormatToken &Tok) { *this = Tok; } in copyFrom() argument
701 FormatToken(const FormatToken &) = delete;
702 FormatToken &operator=(const FormatToken &) = default; argument
741 virtual void precomputeFormattingInfos(const FormatToken *Token); argument
764 virtual void CommaFound(const FormatToken *Token) {} in CommaFound()
766 virtual const FormatToken *lastComma() { return nullptr; } in lastComma()
777 void precomputeFormattingInfos(const FormatToken *Token) override;
786 void CommaFound(const FormatToken *Token) override { in CommaFound()
790 const FormatToken *lastComma() override { in lastComma()
818 SmallVector<const FormatToken *, 8> Commas;
1051 bool IsJavaScriptIdentifier(const FormatToken &Tok,
1118 bool isCSharpKeyword(const FormatToken &Tok) const { in isCSharpKeyword()