Lines Matching defs:Indenter
995 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces,
998 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
1089 ContinuationIndenter *Indenter;
1100 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter,
1104 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1111 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn,
1115 Indenter->mustBreak(State) ||
1116 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0);
1119 Indenter->addTokenToState(State, Newline, /*DryRun=*/false);
1128 NoLineBreakFormatter(ContinuationIndenter *Indenter,
1131 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1138 Indenter->getInitialState(FirstIndent, FirstStartColumn, &Line, DryRun);
1141 Indenter->addTokenToState(
1151 OptimizingLineFormatter(ContinuationIndenter *Indenter,
1155 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1162 Indenter->getInitialState(FirstIndent, FirstStartColumn, &Line, DryRun);
1286 if (NewLine && !Indenter->canBreak(PreviousNode->State))
1288 if (!NewLine && Indenter->mustBreak(PreviousNode->State))
1296 Penalty += Indenter->addTokenToState(Node->State, NewLine, true);
1314 Penalty += Indenter->addTokenToState(State, Node->NewLine, false);
1404 NoColumnLimitLineFormatter(Indenter, Whitespaces, Style, this)
1408 Penalty += NoLineBreakFormatter(Indenter, Whitespaces, Style, this)
1412 Penalty += OptimizingLineFormatter(Indenter, Whitespaces, Style, this)