Lines Matching refs:LineState
31 struct LineState;
48 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
54 bool canBreak(const LineState &State);
57 bool mustBreak(const LineState &State);
67 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
72 unsigned getColumnLimit(const LineState &State) const;
77 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
80 void moveStatePastFakeLParens(LineState &State, bool Newline);
82 void moveStatePastFakeRParens(LineState &State);
85 void moveStatePastScopeOpener(LineState &State, bool Newline);
87 void moveStatePastScopeCloser(LineState &State);
89 void moveStateToNewBlock(LineState &State);
100 unsigned breakProtrudingToken(const FormatToken &Current, LineState &State,
110 void addTokenOnCurrentLine(LineState &State, bool DryRun,
120 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
123 unsigned getNewLineColumn(const LineState &State);
130 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
137 bool nextIsMultilineString(const LineState &State);
310 struct LineState { struct
358 bool operator<(const LineState &Other) const {