Home | History | Annotate | Download | only in Format

Lines Matching defs:NextToken

331     State.NextToken = RootToken;
356 while (State.NextToken != NULL) {
497 const FormatToken *NextToken;
536 if (NextToken != Other.NextToken)
537 return NextToken < Other.NextToken;
560 while (State.NextToken != NULL) {
562 (canBreak(State) && State.NextToken->NewlinesBefore > 0);
576 const FormatToken &Current = *State.NextToken;
577 const FormatToken &Previous = *State.NextToken->Previous;
586 State.NextToken->WhitespaceRange.getEnd()) -
588 State.NextToken->WhitespaceRange.getBegin());
589 State.Column += WhitespaceLength + State.NextToken->CodePointCount;
590 State.NextToken = State.NextToken->Next;
729 unsigned Spaces = State.NextToken->SpacesRequiredBefore;
796 const FormatToken &Current = *State.NextToken;
909 (Current.is(tok::r_brace) && State.NextToken != RootToken) ||
910 State.NextToken->Type == TT_TemplateCloser) {
937 State.NextToken = State.NextToken->Next;
1119 if (Node->State.NextToken == NULL) {
1161 << (*I)->Previous->State.NextToken->Tok.getName() << ": "
1162 << (*I)->Previous->State.NextToken->SplitPenalty << "\n";
1182 Penalty += PreviousNode->State.NextToken->SplitPenalty;
1199 const FormatToken &Current = *State.NextToken;
1225 const FormatToken &Current = *State.NextToken;
1309 if (State.NextToken && State.NextToken->Previous)
1310 return Line.Last->TotalLength - State.NextToken->Previous->TotalLength;