• Home
  • Raw
  • Download

Lines Matching refs:FormatToken

31 static unsigned getLengthToMatchingParen(const FormatToken &Tok) {  in getLengthToMatchingParen()
34 FormatToken *End = Tok.MatchingParen; in getLengthToMatchingParen()
43 static bool startsSegmentOfBuilderTypeCall(const FormatToken &Tok) { in startsSegmentOfBuilderTypeCall()
48 static bool startsNextParameter(const FormatToken &Current, in startsNextParameter()
50 const FormatToken &Previous = *Current.Previous; in startsNextParameter()
92 const FormatToken &Current = *State.NextToken; in canBreak()
93 const FormatToken &Previous = *Current.Previous; in canBreak()
128 const FormatToken &Current = *State.NextToken; in mustBreak()
129 const FormatToken &Previous = *Current.Previous; in mustBreak()
231 const FormatToken &Current = *State.NextToken; in addTokenToState()
259 FormatToken &Current = *State.NextToken; in addTokenOnCurrentLine()
260 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnCurrentLine()
266 const FormatToken *Tok = &Previous; in addTokenOnCurrentLine()
335 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()
346 FormatToken &Current = *State.NextToken; in addTokenOnNewLine()
347 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnNewLine()
353 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine()
354 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()
475 FormatToken &Current = *State.NextToken; in getNewLineColumn()
476 const FormatToken &Previous = *State.NextToken->Previous; in getNewLineColumn()
481 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in getNewLineColumn()
482 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()
573 const FormatToken &Current = *State.NextToken; in moveStateToNextToken()
622 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStateToNextToken()
679 const FormatToken &Current = *State.NextToken; in moveStatePastFakeLParens()
680 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStatePastFakeLParens()
748 static void consumeRParens(LineState& State, const FormatToken &Tok) { in consumeRParens()
779 const FormatToken &Tok = *State.NextToken; in fakeRParenSpecialCase()
782 const FormatToken *Left = &Tok; in fakeRParenSpecialCase()
803 const FormatToken &Current = *State.NextToken; in moveStatePastScopeOpener()
829 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()
863 const FormatToken &Current = *State.NextToken; in moveStatePastScopeCloser()
877 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()
901 unsigned ContinuationIndenter::addMultilineToken(const FormatToken &Current, in addMultilineToken()
935 unsigned ContinuationIndenter::breakProtrudingToken(const FormatToken &Current, in breakProtrudingToken()
1094 const FormatToken &Current = *State.NextToken; in nextIsMultilineString()