Lines Matching refs:State
49 /// \brief Returns \c true, if a line break after \p State is allowed.
50 bool canBreak(const LineState &State);
52 /// \brief Returns \c true, if a line break after \p State is mandatory.
53 bool mustBreak(const LineState &State);
55 /// \brief Appends the next token to \p State and updates information
63 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
68 unsigned getColumnLimit(const LineState &State) const;
71 /// \brief Mark the next token as consumed in \p State and modify its stacks
73 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
84 unsigned breakProtrudingToken(const FormatToken &Current, LineState &State,
87 /// \brief Appends the next token to \p State and updates information
94 void addTokenOnCurrentLine(LineState &State, bool DryRun,
97 /// \brief Appends the next token to \p State and updates information
104 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
106 /// \brief Adds a multiline token to the \p State.
111 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
118 bool NextIsMultilineString(const LineState &State);