Lines Matching refs:LineState
31 struct LineState;
47 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
53 bool canBreak(const LineState &State);
56 bool mustBreak(const LineState &State);
66 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
71 unsigned getColumnLimit(const LineState &State) const;
76 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
79 void moveStatePastFakeLParens(LineState &State, bool Newline);
81 void moveStatePastFakeRParens(LineState &State);
84 void moveStatePastScopeOpener(LineState &State, bool Newline);
86 void moveStatePastScopeCloser(LineState &State);
88 void moveStateToNewBlock(LineState &State);
99 unsigned breakProtrudingToken(const FormatToken &Current, LineState &State,
109 void addTokenOnCurrentLine(LineState &State, bool DryRun,
119 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
122 unsigned getNewLineColumn(const LineState &State);
129 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
136 bool nextIsMultilineString(const LineState &State);
312 struct LineState { struct
360 bool operator<(const LineState &Other) const {