Lines Matching refs:FormatToken

31   virtual FormatToken *getNextToken() = 0;
34 virtual FormatToken *setPosition(unsigned Position) = 0;
60 static bool isLineComment(const FormatToken &FormatTok) { in isLineComment()
67 static bool continuesLineComment(const FormatToken &FormatTok, in continuesLineComment()
68 const FormatToken *Previous, in continuesLineComment()
69 const FormatToken *MinColumnToken) { in continuesLineComment()
82 FormatToken *&ResetToken) in ScopedMacroState()
100 FormatToken *getNextToken() override { in getNextToken()
113 FormatToken *setPosition(unsigned Position) override { in setPosition()
126 FormatToken FakeEOF;
129 FormatToken *&ResetToken;
133 FormatToken *Token;
134 FormatToken *PreviousToken;
198 IndexedTokenSource(ArrayRef<FormatToken *> Tokens) in IndexedTokenSource()
201 FormatToken *getNextToken() override { in getNextToken()
211 FormatToken *setPosition(unsigned P) override { in setPosition()
219 ArrayRef<FormatToken *> Tokens;
228 ArrayRef<FormatToken *> Tokens, in UnwrappedLineParser()
399 FormatToken *Next; in parseLevel()
446 FormatToken *Tok = FormatTok; in calculateBraceTypes()
447 const FormatToken *PrevTok = Tok->Previous; in calculateBraceTypes()
451 SmallVector<FormatToken *, 8> LBraceStack; in calculateBraceTypes()
455 FormatToken *NextTok; in calculateBraceTypes()
688 const FormatToken &InitialToken) { in ShouldBreakBeforeBrace()
814 FormatToken *IfCondition = FormatTok; in parsePPIf()
854 FormatToken *PeekNext = AllTokens[TokenPosition]; in parsePPEndIf()
914 static bool tokenCanStartNewLine(const FormatToken &Tok) { in tokenCanStartNewLine()
941 const FormatToken *FormatTok) { in mustBeJSIdent()
956 const FormatToken *FormatTok) { in mustBeJSIdentOrValue()
965 const FormatToken *FormatTok) { in isJSDeclOrStmt()
991 FormatToken *Previous = FormatTok; in readTokenWithJavaScriptASI()
993 FormatToken *Next = FormatTok; in readTokenWithJavaScriptASI()
1208 const FormatToken *Previous = FormatTok->Previous; in parseStructuralElement()
1417 FormatToken *Next = Tokens->getNextToken(); in parseStructuralElement()
1530 FormatToken *Tok = Tokens->getNextToken(); in tryToParsePropertyAccessor()
1612 FormatToken &LSquare = *FormatTok; in tryToParseLambda()
1703 const FormatToken *Previous = FormatTok->Previous; in tryToParseLambdaIntroducer()
2107 const FormatToken &InitialToken = *FormatTok; in parseNamespace()
2503 FormatToken *Tok = Tokens->getNextToken(); in tryToParseSimpleAttribute()
2533 FormatToken *Tok = Tokens->getNextToken(); in parseJavaEnumBody()
2591 const FormatToken &InitialToken = *FormatTok; in parseRecord()
2930 bool UnwrappedLineParser::isOnNewLine(const FormatToken &FormatTok) { in isOnNewLine()
2938 continuesLineCommentSection(const FormatToken &FormatTok, in continuesLineCommentSection()
3017 const FormatToken *MinColumnToken = Line.Tokens.front().Tok; in continuesLineCommentSection()
3021 const FormatToken *PreviousToken = nullptr; in continuesLineCommentSection()
3045 for (SmallVectorImpl<FormatToken *>::const_iterator in flushComments()
3073 FormatToken *Previous = FormatTok; in nextToken()
3082 const SmallVectorImpl<FormatToken *> &Comments, in distributeComments()
3083 const FormatToken *NextTok) { in distributeComments()
3117 FormatToken *FormatTok = Comments[i]; in distributeComments()
3137 SmallVector<FormatToken *, 1> Comments; in readToken()
3194 void UnwrappedLineParser::pushToken(FormatToken *Tok) { in pushToken()