Lines Matching defs:Indenter
1086 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces,
1089 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
1180 ContinuationIndenter *Indenter;
1191 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter,
1195 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1202 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn,
1206 Indenter->mustBreak(State) ||
1207 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0);
1210 Indenter->addTokenToState(State, Newline, /*DryRun=*/false);
1219 NoLineBreakFormatter(ContinuationIndenter *Indenter,
1222 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1229 Indenter->getInitialState(FirstIndent, FirstStartColumn, &Line, DryRun);
1232 Indenter->addTokenToState(
1242 OptimizingLineFormatter(ContinuationIndenter *Indenter,
1246 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {}
1253 Indenter->getInitialState(FirstIndent, FirstStartColumn, &Line, DryRun);
1377 if (NewLine && !Indenter->canBreak(PreviousNode->State))
1379 if (!NewLine && Indenter->mustBreak(PreviousNode->State))
1387 Penalty += Indenter->addTokenToState(Node->State, NewLine, true);
1405 Penalty += Indenter->addTokenToState(State, Node->NewLine, false);
1495 NoColumnLimitLineFormatter(Indenter, Whitespaces, Style, this)
1499 Penalty += NoLineBreakFormatter(Indenter, Whitespaces, Style, this)
1503 Penalty += OptimizingLineFormatter(Indenter, Whitespaces, Style, this)