Lines Matching refs:LineState
29 struct LineState;
61 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn,
67 bool canBreak(const LineState &State);
70 bool mustBreak(const LineState &State);
80 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
85 unsigned getColumnLimit(const LineState &State) const;
90 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
93 void moveStatePastFakeLParens(LineState &State, bool Newline);
95 void moveStatePastFakeRParens(LineState &State);
98 void moveStatePastScopeOpener(LineState &State, bool Newline);
100 void moveStatePastScopeCloser(LineState &State);
102 void moveStateToNewBlock(LineState &State, bool NewLine);
108 LineState &State,
114 unsigned handleEndOfLine(const FormatToken &Current, LineState &State,
120 const LineState &State);
141 LineState &State,
148 createBreakableToken(const FormatToken &Current, LineState &State,
158 void addTokenOnCurrentLine(LineState &State, bool DryRun,
168 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
171 unsigned getNewLineColumn(const LineState &State);
178 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
185 bool nextIsMultilineString(const LineState &State);
411 struct LineState { struct
462 bool operator<(const LineState &Other) const {