Lines Matching refs:LineState
33 struct LineState;
65 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn,
71 bool canBreak(const LineState &State);
74 bool mustBreak(const LineState &State);
84 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
89 unsigned getColumnLimit(const LineState &State) const;
94 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
97 void moveStatePastFakeLParens(LineState &State, bool Newline);
99 void moveStatePastFakeRParens(LineState &State);
102 void moveStatePastScopeOpener(LineState &State, bool Newline);
104 void moveStatePastScopeCloser(LineState &State);
106 void moveStateToNewBlock(LineState &State);
112 LineState &State,
118 unsigned handleEndOfLine(const FormatToken &Current, LineState &State,
124 const LineState &State);
145 LineState &State,
152 createBreakableToken(const FormatToken &Current, LineState &State,
162 void addTokenOnCurrentLine(LineState &State, bool DryRun,
172 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
175 unsigned getNewLineColumn(const LineState &State);
182 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
189 bool nextIsMultilineString(const LineState &State);
406 struct LineState {
456 /// Comparison operator to be able to used \c LineState in \c map.
457 bool operator<(const LineState &Other) const {