• Home
  • Raw
  • Download

Lines Matching refs:FormatToken

29   virtual FormatToken *getNextToken() = 0;
32 virtual FormatToken *setPosition(unsigned Position) = 0;
61 FormatToken *&ResetToken) in ScopedMacroState()
77 FormatToken *getNextToken() override { in getNextToken()
89 FormatToken *setPosition(unsigned Position) override { in setPosition()
97 FormatToken *getFakeEOF() { in getFakeEOF()
99 static FormatToken FormatTok; in getFakeEOF()
110 FormatToken *&ResetToken;
114 FormatToken *Token;
173 IndexedTokenSource(ArrayRef<FormatToken *> Tokens) in IndexedTokenSource()
176 FormatToken *getNextToken() override { in getNextToken()
186 FormatToken *setPosition(unsigned P) override { in setPosition()
194 ArrayRef<FormatToken *> Tokens;
202 ArrayRef<FormatToken *> Tokens, in UnwrappedLineParser()
317 FormatToken *Tok = FormatTok; in calculateBraceTypes()
318 const FormatToken *PrevTok = getPreviousToken(); in calculateBraceTypes()
322 SmallVector<FormatToken *, 8> LBraceStack; in calculateBraceTypes()
326 FormatToken *NextTok; in calculateBraceTypes()
472 const FormatToken &InitialToken) { in ShouldBreakBeforeBrace()
667 const FormatToken *FormatTok) { in mustBeJSIdent()
682 const FormatToken *FormatTok) { in mustBeJSIdentOrValue()
689 const FormatToken *FormatTok) { in isJSDeclOrStmt()
715 FormatToken *Previous = FormatTok; in readTokenWithJavaScriptASI()
717 FormatToken *Next = FormatTok; in readTokenWithJavaScriptASI()
730 const FormatToken *PrePrevious = std::prev(Line->Tokens.end(), 2)->Tok; in readTokenWithJavaScriptASI()
918 const FormatToken *Previous = getPreviousToken(); in parseStructuralElement()
1045 FormatToken *Next = Tokens->getNextToken(); in parseStructuralElement()
1122 const FormatToken* Previous = getPreviousToken(); in tryToParseLambda()
1131 FormatToken &LSquare = *FormatTok; in tryToParseLambda()
1532 const FormatToken &InitialToken = *FormatTok; in parseNamespace()
1752 FormatToken *Tok = Tokens->getNextToken(); in parseJavaEnumBody()
1809 const FormatToken &InitialToken = *FormatTok; in parseRecord()
2016 bool UnwrappedLineParser::isOnNewLine(const FormatToken &FormatTok) { in isOnNewLine()
2023 for (SmallVectorImpl<FormatToken *>::const_iterator in flushComments()
2047 const FormatToken *UnwrappedLineParser::getPreviousToken() { in getPreviousToken()
2104 void UnwrappedLineParser::pushToken(FormatToken *Tok) { in pushToken()