Lines Matching refs:FormatToken

31 static unsigned getLengthToMatchingParen(const FormatToken &Tok) {  in getLengthToMatchingParen()
34 FormatToken *End = Tok.MatchingParen; in getLengthToMatchingParen()
41 static unsigned getLengthToNextOperator(const FormatToken &Tok) { in getLengthToNextOperator()
49 static bool startsSegmentOfBuilderTypeCall(const FormatToken &Tok) { in startsSegmentOfBuilderTypeCall()
54 static bool startsNextParameter(const FormatToken &Current, in startsNextParameter()
56 const FormatToken &Previous = *Current.Previous; in startsNextParameter()
99 const FormatToken &Current = *State.NextToken; in canBreak()
100 const FormatToken &Previous = *Current.Previous; in canBreak()
143 const FormatToken &Current = *State.NextToken; in mustBreak()
144 const FormatToken &Previous = *Current.Previous; in mustBreak()
280 const FormatToken &Current = *State.NextToken; in addTokenToState()
314 FormatToken &Current = *State.NextToken; in addTokenOnCurrentLine()
315 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnCurrentLine()
321 const FormatToken *Tok = &Previous; in addTokenOnCurrentLine()
430 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()
441 FormatToken &Current = *State.NextToken; in addTokenOnNewLine()
442 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnNewLine()
448 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine()
449 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()
599 FormatToken &Current = *State.NextToken; in getNewLineColumn()
600 const FormatToken &Previous = *Current.Previous; in getNewLineColumn()
605 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in getNewLineColumn()
606 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()
711 const FormatToken &Current = *State.NextToken; in moveStateToNextToken()
730 const FormatToken *Previous = Current.Previous; in moveStateToNextToken()
767 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStateToNextToken()
827 const FormatToken &Current = *State.NextToken; in moveStatePastFakeLParens()
828 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStatePastFakeLParens()
918 const FormatToken &Current = *State.NextToken; in moveStatePastScopeOpener()
942 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()
986 for (const FormatToken *Tok = &Current; in moveStatePastScopeOpener()
1014 const FormatToken &Current = *State.NextToken; in moveStatePastScopeCloser()
1028 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()
1049 unsigned ContinuationIndenter::addMultilineToken(const FormatToken &Current, in addMultilineToken()
1068 unsigned ContinuationIndenter::breakProtrudingToken(const FormatToken &Current, in breakProtrudingToken()
1236 const FormatToken &Current = *State.NextToken; in nextIsMultilineString()